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
+1 -1
View File
@@ -186,7 +186,7 @@ public:
virtual RString GetScreen( int /* iChoice */ ) const { return RString(); }
// Exists so that a lua function can act on the selection. Returns true if the choices should be reloaded.
virtual bool NotifyOfSelection(PlayerNumber pn, int choice) { return false; }
virtual bool GoToFirstOnStart() { return true; }
virtual bool GoToFirstOnStart() const { return true; }
};
/** @brief Utilities for the OptionRowHandlers. */