testmenu: formatting code using astyle; some manual code nicenings

Origin commit data
------------------
Commit: 6d8402eb9c
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-12-04 (Sat, 04 Dec 2021)

Origin message was:
------------------
- testmenu: formatting code using astyle; some manual code nicenings
This commit is contained in:
vanhofen
2021-12-04 23:22:35 +01:00
parent 9f944fe1a2
commit af4429bcba
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;
@@ -68,8 +68,7 @@ class CTestMenu : public CMenuTarget
public: public:
CTestMenu(); CTestMenu();
~CTestMenu(); ~CTestMenu();
int exec(CMenuTarget* parent, const std::string & actionKey); int exec(CMenuTarget *parent, const std::string &actionKey);
}; };
#endif #endif