1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Pass a Surface to ButtonBox' and IconButton's paint function

This commit is contained in:
Paul Cercueil
2014-01-16 01:03:15 +01:00
parent ca3df65daa
commit cfb96dd697
10 changed files with 17 additions and 15 deletions

View File

@@ -95,7 +95,7 @@ bool WallpaperDialog::exec()
writeTitle("Wallpaper selection");
writeSubTitle("Select an image from the list, to use as a wallpaper");
buttonbox.paint(5);
buttonbox.paint(gmenu2x->s, 5);
//Selection
iY = selected-firstElement;