mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 13:29:42 +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>
|
@author Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||||
*/
|
*/
|
||||||
class MenuSetting {
|
class MenuSetting {
|
||||||
private:
|
protected:
|
||||||
GMenu2X *gmenu2x;
|
GMenu2X *gmenu2x;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -32,7 +32,6 @@ private:
|
|||||||
bool *_value;
|
bool *_value;
|
||||||
int *_ivalue;
|
int *_ivalue;
|
||||||
string strvalue;
|
string strvalue;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
IconButton *btnToggle;
|
IconButton *btnToggle;
|
||||||
|
|
||||||
void toggle();
|
void toggle();
|
||||||
|
@ -29,7 +29,6 @@ class MenuSettingDir : public MenuSetting {
|
|||||||
private:
|
private:
|
||||||
string originalValue;
|
string originalValue;
|
||||||
string *_value;
|
string *_value;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
IconButton *btnClear, *btnSelect;
|
IconButton *btnClear, *btnSelect;
|
||||||
|
|
||||||
void select();
|
void select();
|
||||||
|
@ -30,7 +30,6 @@ protected:
|
|||||||
string originalValue;
|
string originalValue;
|
||||||
string *_value;
|
string *_value;
|
||||||
string filter;
|
string filter;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
IconButton *btnClear, *btnSelect;
|
IconButton *btnClear, *btnSelect;
|
||||||
|
|
||||||
void select();
|
void select();
|
||||||
|
@ -33,7 +33,6 @@ private:
|
|||||||
int *_value;
|
int *_value;
|
||||||
string strvalue;
|
string strvalue;
|
||||||
IconButton *btnInc, *btnDec, *btnInc2, *btnDec2;
|
IconButton *btnInc, *btnDec, *btnInc2, *btnDec2;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
|
|
||||||
void inc();
|
void inc();
|
||||||
void dec();
|
void dec();
|
||||||
|
@ -31,7 +31,6 @@ private:
|
|||||||
string *value;
|
string *value;
|
||||||
string originalValue;
|
string originalValue;
|
||||||
vector<string> *choices;
|
vector<string> *choices;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
IconButton *btnDec, *btnInc;
|
IconButton *btnDec, *btnInc;
|
||||||
|
|
||||||
void incSel();
|
void incSel();
|
||||||
|
@ -33,7 +33,6 @@ private:
|
|||||||
string strR, strG, strB, strA;
|
string strR, strG, strB, strA;
|
||||||
RGBAColor originalValue;
|
RGBAColor originalValue;
|
||||||
RGBAColor *_value;
|
RGBAColor *_value;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
IconButton *btnDec, *btnInc, *btnLeftComponent, *btnRightComponent;
|
IconButton *btnDec, *btnInc, *btnLeftComponent, *btnRightComponent;
|
||||||
|
|
||||||
void dec();
|
void dec();
|
||||||
|
@ -29,7 +29,6 @@ class MenuSettingString : public MenuSetting {
|
|||||||
private:
|
private:
|
||||||
string originalValue, diagTitle, diagIcon;
|
string originalValue, diagTitle, diagIcon;
|
||||||
string *_value;
|
string *_value;
|
||||||
GMenu2X *gmenu2x;
|
|
||||||
IconButton *btnClear, *btnEdit;
|
IconButton *btnClear, *btnEdit;
|
||||||
|
|
||||||
void edit();
|
void edit();
|
||||||
|
Loading…
Reference in New Issue
Block a user