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:
+6
-1
@@ -803,7 +803,7 @@ bool OptionRow::SetSelected( PlayerNumber pn, int iChoice, bool b )
|
||||
|
||||
bool OptionRow::NotifyHandlerOfSelection(PlayerNumber pn, int choice)
|
||||
{
|
||||
bool changed= m_pHand->NotifyOfSelection(pn, choice);
|
||||
bool changed= m_pHand->NotifyOfSelection(pn, choice - m_bFirstItemGoesDown);
|
||||
if(changed)
|
||||
{
|
||||
ChoicesChanged(m_RowType, false);
|
||||
@@ -820,6 +820,11 @@ bool OptionRow::NotifyHandlerOfSelection(PlayerNumber pn, int choice)
|
||||
return changed;
|
||||
}
|
||||
|
||||
bool OptionRow::GoToFirstOnStart()
|
||||
{
|
||||
return m_pHand->GoToFirstOnStart();
|
||||
}
|
||||
|
||||
void OptionRow::SetExitText( RString sExitText )
|
||||
{
|
||||
BitmapText *bt = m_textItems.back();
|
||||
|
||||
Reference in New Issue
Block a user