mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
@@ -342,12 +342,9 @@ void GMenu2X::initBG() {
|
|||||||
Surface volume("imgs/volume.png", confStr["skin"]);
|
Surface volume("imgs/volume.png", confStr["skin"]);
|
||||||
string df = getDiskFree();
|
string df = getDiskFree();
|
||||||
|
|
||||||
cout << "after diskfree" << endl;
|
|
||||||
|
|
||||||
sd.blit( sc["bgmain"], 3, bottomBarIconY );
|
sd.blit( sc["bgmain"], 3, bottomBarIconY );
|
||||||
sc["bgmain"]->write( font, df, 22, bottomBarTextY, SFontHAlignLeft, SFontVAlignMiddle );
|
sc["bgmain"]->write( font, df, 22, bottomBarTextY, SFontHAlignLeft, SFontVAlignMiddle );
|
||||||
volumeX = 27+font->getTextWidth(df);
|
volumeX = 27+font->getTextWidth(df);
|
||||||
cout << "3 lines after diskfree" << endl;
|
|
||||||
volume.blit( sc["bgmain"], volumeX, bottomBarIconY );
|
volume.blit( sc["bgmain"], volumeX, bottomBarIconY );
|
||||||
volumeX += 19;
|
volumeX += 19;
|
||||||
cpuX = volumeX+font->getTextWidth("100")+5;
|
cpuX = volumeX+font->getTextWidth("100")+5;
|
||||||
@@ -373,7 +370,6 @@ void GMenu2X::initBG() {
|
|||||||
serviceX -= 19;
|
serviceX -= 19;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cout << "after usbnet if" << endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMenu2X::initFont() {
|
void GMenu2X::initFont() {
|
||||||
|
|||||||
Reference in New Issue
Block a user