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

Use a simple array instead of a hashmap for the colors.

This commit is contained in:
Lars-Peter Clausen
2010-05-02 19:53:06 +02:00
parent 28d3fc9ece
commit 7fd1ab032a
13 changed files with 111 additions and 55 deletions

View File

@@ -73,7 +73,7 @@ bool SettingsDialog::exec() {
iY = gmenu2x->skinConfInt["topBarHeight"]+2+(iY*rowHeight);
gmenu2x->s->setClipRect(clipRect);
if (sel<voices.size())
gmenu2x->s->box(1, iY, 148, rowHeight-2, gmenu2x->skinConfColors["selectionBg"]);
gmenu2x->s->box(1, iY, 148, rowHeight-2, gmenu2x->skinConfColors[COLOR_SELECTION_BG]);
gmenu2x->s->clearClipRect();
//selected option