mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Add ButtonBox widget to simplify managing buttons in the bottombar. Also fixes some memleaks where buttons were left unfreed.
This commit is contained in:
@@ -238,7 +238,7 @@ public:
|
||||
void deleteSection();
|
||||
|
||||
void initBG();
|
||||
int drawButton(IconButton *btn, int x=5, int y=-10);
|
||||
int drawButton(Button *btn, int x=5, int y=-10);
|
||||
int drawButton(Surface *s, const string &btn, const string &text, int x=5, int y=-10);
|
||||
int drawButtonRight(Surface *s, const string &btn, const string &text, int x=5, int y=-10);
|
||||
void drawScrollBar(uint pagesize, uint totalsize, uint pagepos, uint top, uint height);
|
||||
|
||||
Reference in New Issue
Block a user