Initial pass to rework and cleanup the main UI interface

Implements interface buttons that react to input type and visually display keybinds
Updates the T3D icon and splash screen
This commit is contained in:
Areloch 2020-05-20 17:19:52 -05:00
parent 157b114ec7
commit bc27125e90
188 changed files with 2553 additions and 758 deletions

View file

@ -41,7 +41,16 @@ protected:
S32 mSelectedOption; ///< Index into mOptions pointing at the selected option
bool mWrapOptions; ///< Determines if options should "wrap around" at the ends
Row() : mSelectedOption(0), mWrapOptions(false)
enum Mode
{
Default = 0,
OptionsList,
Keybind
};
Mode mMode;
Row() : mSelectedOption(0), mWrapOptions(false), mMode(Mode::Default)
{
VECTOR_SET_ASSOCIATION( mOptions );
}
@ -111,6 +120,8 @@ public:
/// \param event A reference to the event that triggered the callback.
virtual bool onGamepadAxisRight(const GuiEvent &event);
virtual void clearRows();
GuiGameListOptionsCtrl();
~GuiGameListOptionsCtrl();