mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
- buildinfo: formatting code using astyle; some manual code nicenings
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __buildinfo__
|
||||
#define __buildinfo__
|
||||
|
||||
@@ -50,15 +49,15 @@ class CBuildInfo : public CMenuTarget, public CComponentsWindow
|
||||
{
|
||||
private:
|
||||
std::vector<build_info_t> v_info;
|
||||
Font* font;
|
||||
Font *font;
|
||||
void initVarBuildInfo();
|
||||
void InitInfoItems();
|
||||
void Scroll(bool scrollDown);
|
||||
|
||||
bool GetData();
|
||||
public:
|
||||
|
||||
//type_id's for infos
|
||||
|
||||
// type_id's for infos
|
||||
enum
|
||||
{
|
||||
BI_TYPE_ID_USED_COMPILER,
|
||||
@@ -74,11 +73,11 @@ class CBuildInfo : public CMenuTarget, public CComponentsWindow
|
||||
|
||||
CBuildInfo(bool show = false);
|
||||
|
||||
///assigns text Font type
|
||||
void setFontType(Font* font_text);
|
||||
build_info_t getInfo(const info_type_id_t& type_id);
|
||||
// assigns text Font type
|
||||
void setFontType(Font *font_text);
|
||||
build_info_t getInfo(const info_type_id_t &type_id);
|
||||
void hide();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
int exec(CMenuTarget *parent, const std::string &actionKey);
|
||||
};
|
||||
|
||||
#endif // __buildinfo__
|
||||
|
Reference in New Issue
Block a user