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

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-12-06 05:18:19 +01:00
committed by Thilo Graf
parent fd2302fbf6
commit 72669771a7
2 changed files with 419 additions and 306 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -40,8 +40,8 @@
class CTestMenu : public CMenuTarget class CTestMenu : public CMenuTarget
{ {
private: private:
CComponentsShapeCircle * circle; CComponentsShapeCircle *circle;
CComponentsShapeSquare* sq; CComponentsShapeSquare *sq;
CComponentsPicture *pic; CComponentsPicture *pic;
CComponentsPicture *picsvg; CComponentsPicture *picsvg;
CComponentsForm *form; CComponentsForm *form;
@@ -51,10 +51,10 @@ class CTestMenu : public CMenuTarget
CComponentsIconForm *iconform; CComponentsIconForm *iconform;
CComponentsWindow *window; CComponentsWindow *window;
CComponentsButton *button; CComponentsButton *button;
CComponentsFrmClock *clock ,*clock_r; CComponentsFrmClock *clock, *clock_r;
CComponentsChannelLogo* chnl_pic; CComponentsChannelLogo *chnl_pic;
CComponentsExtTextForm* text_ext; CComponentsExtTextForm *text_ext;
CComponentsScrollBar* scrollbar; CComponentsScrollBar *scrollbar;
CComponentsTimer *timer; CComponentsTimer *timer;
int width, selected; int width, selected;
@@ -65,11 +65,10 @@ class CTestMenu : public CMenuTarget
void showSeparatorTypes(CMenuWidget *widget); void showSeparatorTypes(CMenuWidget *widget);
void showRecords(); void showRecords();
void handleShellOutput(std::string *line, int *, bool *); void handleShellOutput(std::string *line, int *, bool *);
public: public:
CTestMenu(); CTestMenu();
~CTestMenu(); ~CTestMenu();
int exec(CMenuTarget* parent, const std::string & actionKey); int exec(CMenuTarget *parent, const std::string &actionKey);
}; };
#endif #endif