Change Details
| src/iconbutton.cpp |
| 6 | 6 | using namespace fastdelegate; |
| 7 | 7 | |
| 8 | 8 | IconButton::IconButton(GMenu2X *gmenu2x, const string &icon, const string &label) : Button(gmenu2x) { |
| 9 | | this->gmenu2x = gmenu2x; |
| 10 | 9 | this->icon = icon; |
| 11 | 10 | labelPosition = IconButton::DISP_RIGHT; |
| 12 | 11 | labelMargin = 2; |
| src/imagedialog.cpp |
| 32 | 32 | using namespace std; |
| 33 | 33 | |
| 34 | 34 | ImageDialog::ImageDialog(GMenu2X *gmenu2x, const string &text, const string &filter, const string &file) : FileDialog(gmenu2x, text, filter, file) { |
| 35 | | this->gmenu2x = gmenu2x; |
| 36 | 35 | this->text = text; |
| 37 | 36 | this->filter = filter; |
| 38 | 37 | setPath("/card"); |
| src/link.cpp |
| 27 | 27 | using namespace fastdelegate; |
| 28 | 28 | |
| 29 | 29 | Link::Link(GMenu2X *gmenu2x) : Button(gmenu2x, true) { |
| 30 | | this->gmenu2x = gmenu2x; |
| 31 | 30 | action = MakeDelegate(this, &Link::run); |
| 32 | 31 | edited = false; |
| 33 | 32 | iconPath = gmenu2x->sc.getSkinFilePath("icons/generic.png"); |
| src/linkapp.cpp |
| 32 | 32 | |
| 33 | 33 | LinkApp::LinkApp(GMenu2X *gmenu2x, const char* linkfile) |
| 34 | 34 | : Link(gmenu2x) { |
| 35 | | this->gmenu2x = gmenu2x; |
| 36 | 35 | manual = ""; |
| 37 | 36 | file = linkfile; |
| 38 | 37 | wrapper = false; |
| src/menusettingbool.cpp |
| 26 | 26 | |
| 27 | 27 | MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const string &description, int *value) |
| 28 | 28 | : MenuSetting(gmenu2x,name,description) { |
| 29 | | this->gmenu2x = gmenu2x; |
| 30 | 29 | _ivalue = value; |
| 31 | 30 | _value = NULL; |
| 32 | 31 | originalValue = *value != 0; |
| ... | ... | |
| 38 | 37 | |
| 39 | 38 | MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const string &description, bool *value) |
| 40 | 39 | : MenuSetting(gmenu2x,name,description) { |
| 41 | | this->gmenu2x = gmenu2x; |
| 42 | 40 | _value = value; |
| 43 | 41 | _ivalue = NULL; |
| 44 | 42 | originalValue = *value; |
| src/menusettingdir.cpp |
| 26 | 26 | |
| 27 | 27 | MenuSettingDir::MenuSettingDir(GMenu2X *gmenu2x, const string &name, const string &description, string *value) |
| 28 | 28 | : MenuSetting(gmenu2x,name,description) { |
| 29 | | this->gmenu2x = gmenu2x; |
| 30 | 29 | _value = value; |
| 31 | 30 | originalValue = *value; |
| 32 | 31 | |
| src/menusettingfile.cpp |
| 26 | 26 | |
| 27 | 27 | MenuSettingFile::MenuSettingFile(GMenu2X *gmenu2x, const string &name, const string &description, string *value, const string &filter) |
| 28 | 28 | : MenuSetting(gmenu2x,name,description) { |
| 29 | | this->gmenu2x = gmenu2x; |
| 30 | 29 | this->filter = filter; |
| 31 | 30 | _value = value; |
| 32 | 31 | originalValue = *value; |
| src/menusettingimage.cpp |
| 25 | 25 | |
| 26 | 26 | MenuSettingImage::MenuSettingImage(GMenu2X *gmenu2x, const string &name, const string &description, string *value, const string &filter) |
| 27 | 27 | : MenuSettingFile(gmenu2x,name,description,value,filter) { |
| 28 | | this->gmenu2x = gmenu2x; |
| 29 | 28 | this->filter = filter; |
| 30 | 29 | _value = value; |
| 31 | 30 | originalValue = *value; |
| src/menusettingint.cpp |
| 26 | 26 | |
| 27 | 27 | MenuSettingInt::MenuSettingInt(GMenu2X *gmenu2x, const string &name, const string &description, int *value, int min, int max) |
| 28 | 28 | : MenuSetting(gmenu2x,name,description) { |
| 29 | | this->gmenu2x = gmenu2x; |
| 30 | 29 | _value = value; |
| 31 | 30 | originalValue = *value; |
| 32 | 31 | this->min = min; |
| src/menusettingmultistring.cpp |
| 25 | 25 | |
| 26 | 26 | MenuSettingMultiString::MenuSettingMultiString(GMenu2X *gmenu2x, const string &name, const string &description, string *value, vector<string> *choices) |
| 27 | 27 | : MenuSetting(gmenu2x,name,description) { |
| 28 | | this->gmenu2x = gmenu2x; |
| 29 | 28 | this->choices = choices; |
| 30 | 29 | this->value = value; |
| 31 | 30 | originalValue = *value; |
| src/menusettingrgba.cpp |
| 26 | 26 | MenuSettingRGBA::MenuSettingRGBA(GMenu2X *gmenu2x, const string &name, const string &description, RGBAColor *value) |
| 27 | 27 | : MenuSetting(gmenu2x,name,description) { |
| 28 | 28 | selPart = 0; |
| 29 | | this->gmenu2x = gmenu2x; |
| 30 | 29 | _value = value; |
| 31 | 30 | originalValue = *value; |
| 32 | 31 | this->setR(this->value().r); |
| src/menusettingstring.cpp |
| 26 | 26 | |
| 27 | 27 | MenuSettingString::MenuSettingString(GMenu2X *gmenu2x, const string &name, const string &description, string *value, const string &diagTitle, const string &diagIcon) |
| 28 | 28 | : MenuSetting(gmenu2x,name,description) { |
| 29 | | this->gmenu2x = gmenu2x; |
| 30 | 29 | _value = value; |
| 31 | 30 | originalValue = *value; |
| 32 | 31 | this->diagTitle = diagTitle; |
Download the corresponding diff file