mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-04 23:37:10 +02:00
Fix menusetting widgets.
This commit is contained in:
parent
c099e50714
commit
6361dde213
@ -34,7 +34,7 @@ Base class for different kind of option
|
||||
@author Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
*/
|
||||
class MenuSetting {
|
||||
private:
|
||||
protected:
|
||||
GMenu2X *gmenu2x;
|
||||
|
||||
public:
|
||||
|
@ -32,7 +32,6 @@ private:
|
||||
bool *_value;
|
||||
int *_ivalue;
|
||||
string strvalue;
|
||||
GMenu2X *gmenu2x;
|
||||
IconButton *btnToggle;
|
||||
|
||||
void toggle();
|
||||
|
@ -29,7 +29,6 @@ class MenuSettingDir : public MenuSetting {
|
||||
private:
|
||||
string originalValue;
|
||||
string *_value;
|
||||
GMenu2X *gmenu2x;
|
||||
IconButton *btnClear, *btnSelect;
|
||||
|
||||
void select();
|
||||
|
@ -30,7 +30,6 @@ protected:
|
||||
string originalValue;
|
||||
string *_value;
|
||||
string filter;
|
||||
GMenu2X *gmenu2x;
|
||||
IconButton *btnClear, *btnSelect;
|
||||
|
||||
void select();
|
||||
|
@ -33,7 +33,6 @@ private:
|
||||
int *_value;
|
||||
string strvalue;
|
||||
IconButton *btnInc, *btnDec, *btnInc2, *btnDec2;
|
||||
GMenu2X *gmenu2x;
|
||||
|
||||
void inc();
|
||||
void dec();
|
||||
|
@ -31,7 +31,6 @@ private:
|
||||
string *value;
|
||||
string originalValue;
|
||||
vector<string> *choices;
|
||||
GMenu2X *gmenu2x;
|
||||
IconButton *btnDec, *btnInc;
|
||||
|
||||
void incSel();
|
||||
|
@ -33,7 +33,6 @@ private:
|
||||
string strR, strG, strB, strA;
|
||||
RGBAColor originalValue;
|
||||
RGBAColor *_value;
|
||||
GMenu2X *gmenu2x;
|
||||
IconButton *btnDec, *btnInc, *btnLeftComponent, *btnRightComponent;
|
||||
|
||||
void dec();
|
||||
|
@ -29,7 +29,6 @@ class MenuSettingString : public MenuSetting {
|
||||
private:
|
||||
string originalValue, diagTitle, diagIcon;
|
||||
string *_value;
|
||||
GMenu2X *gmenu2x;
|
||||
IconButton *btnClear, *btnEdit;
|
||||
|
||||
void edit();
|
||||
|
Loading…
Reference in New Issue
Block a user