Skip to content

Commit

Permalink
NWN: Hardcode the expansion logos and the shadow overlay transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Mar 21, 2014
1 parent b8f0a82 commit 79f6f67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engines/nwn/gui/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,22 @@ MainMenu::MainMenu(Module &module) : _module(&module), _charType(0), _new(0), _m
if (hasXP1) {
WidgetPanel *xp1 = new WidgetPanel(*this, "TextXP1", "ctl_xp1_text");
xp1->setPosition(124.0, 0.00, -250.0);
xp1->forceTransparent();
addWidget(xp1);
}

if (hasXP2) {
WidgetPanel *xp2 = new WidgetPanel(*this, "TextXP2", "ctl_xp2_text");
xp2->setPosition(124.0, -147.0, -250.0);
xp2->forceTransparent();
addWidget(xp2);
}

getWidget("LoadButton" , true)->setDisabled(true);
getWidget("MultiButton", true)->setDisabled(true);

getPanel("PNL_MAINMENU", true)->forceTransparent("Plane237");

_charType = new CharTypeMenu(*_module);
}

Expand Down

0 comments on commit 79f6f67

Please sign in to comment.