The files "a.png" and "b.png" have been renamed to "cancel.png" and "accept.png".
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@ -19,11 +19,11 @@ BrowseDialog::BrowseDialog(GMenu2X *gmenu2x, const string &title,
|
||||
IconButton *btn;
|
||||
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/left.png"));
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Up one folder"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Up one folder"]);
|
||||
btn->setAction(MakeDelegate(this, &BrowseDialog::directoryUp));
|
||||
buttonBox.add(btn);
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Enter folder"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Enter folder"]);
|
||||
btn->setAction(MakeDelegate(this, &BrowseDialog::directoryEnter));
|
||||
buttonBox.add(btn);
|
||||
|
||||
|
@ -1806,8 +1806,8 @@ void GMenu2X::deleteSection() {
|
||||
|
||||
void GMenu2X::scanner() {
|
||||
Surface scanbg(bg);
|
||||
drawButton(&scanbg, "a", tr["Exit"],
|
||||
drawButton(&scanbg, "b", "", 5)-10);
|
||||
drawButton(&scanbg, "cancel", tr["Exit"],
|
||||
drawButton(&scanbg, "accept", "", 5)-10);
|
||||
scanbg.write(font,tr["Link Scanner"],halfX,7,ASFont::HAlignCenter,ASFont::VAlignMiddle);
|
||||
scanbg.convertToDisplayFormat();
|
||||
|
||||
|
@ -93,11 +93,11 @@ InputDialog::InputDialog(GMenu2X *gmenu2x, InputManager &inputMgr_,
|
||||
btnSpace->setAction(MakeDelegate(this, &InputDialog::space));
|
||||
buttonbox->add(btnSpace);
|
||||
|
||||
IconButton *btnConfirm = new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Confirm"]);
|
||||
IconButton *btnConfirm = new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Confirm"]);
|
||||
btnConfirm->setAction(MakeDelegate(this, &InputDialog::confirm));
|
||||
buttonbox->add(btnConfirm);
|
||||
|
||||
IconButton *btnChangeKeys = new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Change keys"]);
|
||||
IconButton *btnChangeKeys = new IconButton(gmenu2x, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Change keys"]);
|
||||
btnChangeKeys->setAction(MakeDelegate(this, &InputDialog::changeKeys));
|
||||
buttonbox->add(btnChangeKeys);
|
||||
}
|
||||
|
@ -327,7 +327,7 @@ void LinkApp::showManual() {
|
||||
|
||||
gmenu2x->drawBottomBar();
|
||||
gmenu2x->drawButton(gmenu2x->s, "start", gmenu2x->tr["Exit"],
|
||||
gmenu2x->drawButton(gmenu2x->s, "a", "",
|
||||
gmenu2x->drawButton(gmenu2x->s, "cancel", "",
|
||||
gmenu2x->drawButton(gmenu2x->s, "right", gmenu2x->tr["Change page"],
|
||||
gmenu2x->drawButton(gmenu2x->s, "left", "", 5)-10))-10);
|
||||
|
||||
|
@ -52,7 +52,7 @@ MenuSettingBool::MenuSettingBool(
|
||||
|
||||
void MenuSettingBool::initButton()
|
||||
{
|
||||
IconButton *btn = new IconButton(gmenu2x, "skin:imgs/buttons/b.png",
|
||||
IconButton *btn = new IconButton(gmenu2x, "skin:imgs/buttons/accept.png",
|
||||
gmenu2x->tr["Switch"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingBool::toggle));
|
||||
buttonBox.add(btn);
|
||||
|
@ -31,11 +31,11 @@ MenuSettingDir::MenuSettingDir(
|
||||
{
|
||||
IconButton *btn;
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Clear"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Clear"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingDir::clear));
|
||||
buttonBox.add(btn);
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Select a directory"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select a directory"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingDir::edit));
|
||||
buttonBox.add(btn);
|
||||
}
|
||||
|
@ -32,11 +32,11 @@ MenuSettingFile::MenuSettingFile(
|
||||
{
|
||||
IconButton *btn;
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Clear"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Clear"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingFile::clear));
|
||||
buttonBox.add(btn);
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Select a file"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select a file"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingFile::edit));
|
||||
buttonBox.add(btn);
|
||||
}
|
||||
|
@ -225,10 +225,10 @@ void MenuSettingRGBA::updateButtonBox()
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/left.png", gmenu2x->tr["Decrease"]));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/r.png"));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/right.png", gmenu2x->tr["Increase"]));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Confirm"]));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Confirm"]));
|
||||
} else {
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/left.png"));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/right.png", gmenu2x->tr["Change color component"]));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Edit"]));
|
||||
buttonBox.add(new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Edit"]));
|
||||
}
|
||||
}
|
||||
|
@ -34,11 +34,11 @@ MenuSettingString::MenuSettingString(
|
||||
{
|
||||
IconButton *btn;
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Clear"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Clear"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingString::clear));
|
||||
buttonBox.add(btn);
|
||||
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Edit"]);
|
||||
btn = new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Edit"]);
|
||||
btn->setAction(MakeDelegate(this, &MenuSettingString::edit));
|
||||
buttonBox.add(btn);
|
||||
}
|
||||
|
@ -47,8 +47,8 @@ MessageBox::MessageBox(GMenu2X *gmenu2x, const string &text, const string &icon)
|
||||
buttonLabels[DOWN] = "down";
|
||||
buttonLabels[LEFT] = "left";
|
||||
buttonLabels[RIGHT] = "right";
|
||||
buttonLabels[CANCEL] = "a";
|
||||
buttonLabels[ACCEPT] = "b";
|
||||
buttonLabels[CANCEL] = "cancel";
|
||||
buttonLabels[ACCEPT] = "accept";
|
||||
buttonLabels[CLEAR] = "x";
|
||||
buttonLabels[MANUAL] = "y";
|
||||
buttonLabels[ALTLEFT] = "l";
|
||||
|
@ -64,12 +64,12 @@ int Selector::exec(int startSelection) {
|
||||
|
||||
if (link->getSelectorBrowser()) {
|
||||
gmenu2x->drawButton(&bg, "start", gmenu2x->tr["Exit"],
|
||||
gmenu2x->drawButton(&bg, "b", gmenu2x->tr["Select a file"],
|
||||
gmenu2x->drawButton(&bg, "a", gmenu2x->tr["Up one folder"],
|
||||
gmenu2x->drawButton(&bg, "accept", gmenu2x->tr["Select a file"],
|
||||
gmenu2x->drawButton(&bg, "cancel", gmenu2x->tr["Up one folder"],
|
||||
gmenu2x->drawButton(&bg, "left", "", 5)-10)));
|
||||
} else {
|
||||
gmenu2x->drawButton(&bg, "start", gmenu2x->tr["Exit"],
|
||||
gmenu2x->drawButton(&bg, "b", gmenu2x->tr["Select a file"], 5));
|
||||
gmenu2x->drawButton(&bg, "accept", gmenu2x->tr["Select a file"], 5));
|
||||
}
|
||||
|
||||
bg.convertToDisplayFormat();
|
||||
|
@ -107,7 +107,7 @@ void TextDialog::exec() {
|
||||
writeSubTitle(description,&bg);
|
||||
|
||||
gmenu2x->drawButton(&bg, "start", gmenu2x->tr["Exit"],
|
||||
gmenu2x->drawButton(&bg, "a", "",
|
||||
gmenu2x->drawButton(&bg, "cancel", "",
|
||||
gmenu2x->drawButton(&bg, "down", gmenu2x->tr["Scroll"],
|
||||
gmenu2x->drawButton(&bg, "up", "", 5)-10))-10);
|
||||
|
||||
|
@ -75,7 +75,7 @@ void TextManualDialog::exec() {
|
||||
writeTitle(title+(description.empty() ? "" : ": "+description),&bg);
|
||||
|
||||
gmenu2x->drawButton(&bg, "start", gmenu2x->tr["Exit"],
|
||||
gmenu2x->drawButton(&bg, "a", "",
|
||||
gmenu2x->drawButton(&bg, "cancel", "",
|
||||
gmenu2x->drawButton(&bg, "right", gmenu2x->tr["Change page"],
|
||||
gmenu2x->drawButton(&bg, "left", "",
|
||||
gmenu2x->drawButton(&bg, "down", gmenu2x->tr["Scroll"],
|
||||
|
@ -72,8 +72,8 @@ bool WallpaperDialog::exec()
|
||||
uint i, selected = 0, firstElement = 0, iY;
|
||||
|
||||
ButtonBox buttonbox(gmenu2x);
|
||||
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Select wallpaper"]));
|
||||
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Exit"]));
|
||||
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select wallpaper"]));
|
||||
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Exit"]));
|
||||
|
||||
while (!close) {
|
||||
if (selected>firstElement+9) firstElement=selected-9;
|
||||
|