Skip to content

Commit

Permalink
KOTOR2: Readd scaling to quick or custom gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Apr 7, 2019
1 parent d8df8f8 commit 8c06e04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engines/kotor2/gui/chargen/quickorcustom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ void QuickOrCustomPanel::callbackActive(Widget &widget) {
}
}

void QuickOrCustomPanel::initWidget(Widget &widget) {
KotOR2::initWidget(widget);
}

} // End of namespace KotOR2

} // End of namespace Engines
4 changes: 4 additions & 0 deletions src/engines/kotor2/gui/chargen/quickorcustom.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "src/engines/kotorbase/gui/gui.h"

#include "src/engines/kotor2/gui/gui.h"
#include "src/engines/kotor2/gui/chargen/charactergeneration.h"

namespace Engines {
Expand All @@ -37,6 +38,9 @@ class QuickOrCustomPanel : public KotORBase::GUI {
public:
QuickOrCustomPanel(CharacterGeneration *chargenMenu, Console *console = 0);

protected:
void initWidget(Widget &widget) override;

private:
void callbackActive(Widget &widget);

Expand Down

0 comments on commit 8c06e04

Please sign in to comment.