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

Modified the button icons displayed when modifying an integer parameter.

This commit is contained in:
Ayla 2011-09-18 01:47:29 +02:00
parent 1aac93f36d
commit 87106cdf56

View File

@ -42,21 +42,21 @@ MenuSettingInt::MenuSettingInt(GMenu2X *gmenu2x, const string &name, const strin
ButtonAction actionInc = MakeDelegate(this, &MenuSettingInt::inc);
ButtonAction actionDec = MakeDelegate(this, &MenuSettingInt::dec);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/left.png");
btn = new IconButton(gmenu2x, "skin:imgs/buttons/l.png");
btn->setAction(actionDec);
buttonBox.add(btn);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/y.png", gmenu2x->tr["Increase value"]);
btn->setAction(actionInc);
buttonBox.add(btn);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/right.png");
btn->setAction(actionInc);
buttonBox.add(btn);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/x.png", gmenu2x->tr["Decrease value"]);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/left.png", gmenu2x->tr["Decrease"]);
btn->setAction(actionDec);
buttonBox.add(btn);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/r.png");
btn->setAction(actionInc);
buttonBox.add(btn);
btn = new IconButton(gmenu2x, "skin:imgs/buttons/right.png", gmenu2x->tr["Increase"]);
btn->setAction(actionInc);
buttonBox.add(btn);
}
void MenuSettingInt::draw(int y)