This commit is contained in:
dborth 2010-04-12 05:57:42 +00:00
parent 1210f41e14
commit f58a18857e

View File

@ -197,7 +197,7 @@ GuiKeyboard::GuiKeyboard(char * t, u32 max)
keyImgOver[i][j] = new GuiImage(keyOver);
keyTxt[i][j] = new GuiText(txt, 22, (GXColor){0, 0, 0, 0xff});
keyTxt[i][j]->SetAlignment(ALIGN_CENTRE, ALIGN_BOTTOM);
keyTxt[i][j]->SetPosition(0, -10);
keyTxt[i][j]->SetPosition(0, -8);
keyBtn[i][j] = new GuiButton(key->GetWidth(), key->GetHeight());
keyBtn[i][j]->SetImage(keyImg[i][j]);
keyBtn[i][j]->SetImageOver(keyImgOver[i][j]);