- buildinfo: formatting code using astyle; some manual code nicenings

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-12-14 11:11:26 +01:00
committed by Thilo Graf
parent 38e3181064
commit 359463a1fa
2 changed files with 53 additions and 47 deletions

View File

@@ -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__