mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Removed Surface::write method
All it did was redirect to Font::write, so it's better to call that method directly.
This commit is contained in:
@@ -115,7 +115,7 @@ bool WallpaperDialog::exec()
|
||||
for (i = firstElement; i < wallpapers.size()
|
||||
&& i < firstElement + nb_elements; i++) {
|
||||
iY = i-firstElement;
|
||||
gmenu2x->s->write(gmenu2x->font, wallpapers[i], 5,
|
||||
gmenu2x->font->write(gmenu2x->s, wallpapers[i], 5,
|
||||
top + (iY * fontheight),
|
||||
Font::HAlignLeft, Font::VAlignTop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user