cosmetic change (labeled A/B difficulties)

This commit is contained in:
thrust26 2019-02-03 12:26:46 +01:00
parent a1342afe34
commit 25eb9cd4ab
2 changed files with 7 additions and 7 deletions

View File

@ -155,22 +155,22 @@ GameInfoDialog::GameInfoDialog(
s = new StaticTextWidget(myTab, font, xpos, ypos+1, "Left difficulty "); s = new StaticTextWidget(myTab, font, xpos, ypos+1, "Left difficulty ");
myLeftDiffGroup = new RadioButtonGroup(); myLeftDiffGroup = new RadioButtonGroup();
r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1, r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1,
"A", myLeftDiffGroup); "A (Expert)", myLeftDiffGroup);
wid.push_back(r); wid.push_back(r);
ypos += lineHeight; ypos += lineHeight;
r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1, r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1,
"B", myLeftDiffGroup); "B (Novice)", myLeftDiffGroup);
wid.push_back(r); wid.push_back(r);
ypos += lineHeight + VGAP * 2; ypos += lineHeight + VGAP * 2;
s = new StaticTextWidget(myTab, font, xpos, ypos+1, "Right difficulty "); s = new StaticTextWidget(myTab, font, xpos, ypos+1, "Right difficulty ");
myRightDiffGroup = new RadioButtonGroup(); myRightDiffGroup = new RadioButtonGroup();
r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1, r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1,
"A", myRightDiffGroup); "A (Expert)", myRightDiffGroup);
wid.push_back(r); wid.push_back(r);
ypos += lineHeight; ypos += lineHeight;
r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1, r = new RadioButtonWidget(myTab, font, s->getRight(), ypos + 1,
"B", myRightDiffGroup); "B (Novice)", myRightDiffGroup);
wid.push_back(r); wid.push_back(r);
// Add items for tab 1 // Add items for tab 1

View File

@ -60,7 +60,7 @@ GlobalPropsDialog::GlobalPropsDialog(GuiObject* boss, const GUI::Font& font)
wid.push_back(myBSType); wid.push_back(myBSType);
ypos += lineHeight + VGAP * 3; ypos += lineHeight + VGAP * 3;
pwidth = font.getStringWidth("Debugger"); pwidth = font.getStringWidth("A (Expert)");
// TV type // TV type
new StaticTextWidget(this, font, xpos, ypos + 1, "TV type"); new StaticTextWidget(this, font, xpos, ypos + 1, "TV type");
@ -77,8 +77,8 @@ GlobalPropsDialog::GlobalPropsDialog(GuiObject* boss, const GUI::Font& font)
new StaticTextWidget(this, font, xpos, ypos+1, "Left difficulty"); new StaticTextWidget(this, font, xpos, ypos+1, "Left difficulty");
items.clear(); items.clear();
VarList::push_back(items, "Default", "DEFAULT"); VarList::push_back(items, "Default", "DEFAULT");
VarList::push_back(items, "B", "B"); VarList::push_back(items, "A (Expert)", "A");
VarList::push_back(items, "A", "A"); VarList::push_back(items, "B (Novice)", "B");
myLeftDiff = new PopUpWidget(this, font, xpos+lwidth, ypos, myLeftDiff = new PopUpWidget(this, font, xpos+lwidth, ypos,
pwidth, lineHeight, items, ""); pwidth, lineHeight, items, "");
wid.push_back(myLeftDiff); wid.push_back(myLeftDiff);