Skip to content

Commit

Permalink
KOTOR2: Readd scaling to class selection 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 cebed28 commit d8df8f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engines/kotor2/gui/chargen/classselection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ void ClassSelection::callbackActive(Widget &widget) {
}
}

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

} // End of namespace KotOR2

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

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

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

Expand All @@ -45,6 +46,8 @@ class ClassSelection : public KotORBase::GUI {
~ClassSelection();

protected:
void initWidget(Widget &widget) override;

void callbackRun();
void callbackActive(Widget &widget);

Expand Down

0 comments on commit d8df8f8

Please sign in to comment.