Improved three-key support. Default theme should be completely usable with three-key cabinets if ThreeKeyNavigation pref is true. Added ThreeKeyNavigation pref. ScreenOptions:NavigationMode metric now uses that pref to decide between normal and toggle modes. Added GoToFirstOnStart to OptionRowHandlerLua so an option row can control that behavior. Rewrote input for default's ScreenSelectProfile to use an input callback to take advantage of menu button mapping. Fixed inconsistent indentation in ORHL documentation.
This commit is contained in:
@@ -180,6 +180,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; }
|
||||
};
|
||||
|
||||
/** @brief Utilities for the OptionRowHandlers. */
|
||||
|
||||
Reference in New Issue
Block a user