mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-27 00:41:53 +02:00
Modified the key shortcuts for the wallpaper dialog.
This commit is contained in:
parent
d0cfe7c60d
commit
38cfd321f6
@ -73,6 +73,7 @@ bool WallpaperDialog::exec()
|
|||||||
|
|
||||||
ButtonBox buttonbox(gmenu2x);
|
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/b.png", gmenu2x->tr["Select wallpaper"]));
|
||||||
|
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Exit"]));
|
||||||
|
|
||||||
while (!close) {
|
while (!close) {
|
||||||
if (selected>firstElement+9) firstElement=selected-9;
|
if (selected>firstElement+9) firstElement=selected-9;
|
||||||
@ -107,8 +108,7 @@ bool WallpaperDialog::exec()
|
|||||||
gmenu2x->s->flip();
|
gmenu2x->s->flip();
|
||||||
|
|
||||||
switch(gmenu2x->input.waitForPressedButton()) {
|
switch(gmenu2x->input.waitForPressedButton()) {
|
||||||
case MENU:
|
case CANCEL:
|
||||||
case CLEAR:
|
|
||||||
close = true;
|
close = true;
|
||||||
result = false;
|
result = false;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user