Add More OptionsList functionality (#1810)

* Add More OptionsList functionality

* Remove Size parameter because it's broken

* Make OptionsList inputs remappable

* Change Next/Prev OptionsList to CodeDetector
This commit is contained in:
Rhythm Lunatic
2019-03-28 14:49:46 -07:00
committed by Colby Klein
parent 3eb03feadd
commit dcb2f74c8d
8 changed files with 144 additions and 25 deletions
+4 -1
View File
@@ -70,7 +70,7 @@ private:
void SelectionsChanged( const RString &sRowName );
void UpdateMenuFromSelections();
RString GetCurrentRow() const;
const OptionRowHandler *GetCurrentHandler();
OptionRowHandler *GetCurrentHandler();
int GetOneSelection( RString sRow, bool bAllowFail=false ) const;
void SwitchToCurrentRow();
void TweenOnCurrentRow( bool bForward );
@@ -101,6 +101,9 @@ private:
vector<RString> m_asMenuStack;
int m_iMenuStackSelection;
protected:
GameButton m_GameButtonPreviousItem;
GameButton m_GameButtonNextItem;
};