1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-03 00:51:04 +03:00

Fix menusetting widgets.

This commit is contained in:
Lars-Peter Clausen 2010-05-03 19:41:45 +02:00
parent c099e50714
commit 6361dde213
8 changed files with 1 additions and 8 deletions

View File

@ -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:

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();