|
Public Member Functions |
| ScreenOptions (CString sClassName) |
void | InitMenu (InputMode im, OptionRowData OptionRowData[], int iNumOptionLines) |
virtual | ~ScreenOptions () |
virtual void | Update (float fDeltaTime) |
virtual void | DrawPrimitives () |
virtual void | Input (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI) |
virtual void | HandleScreenMessage (const ScreenMessage SM) |
Protected Types |
enum | Navigation {
NAV_THREE_KEY,
NAV_THREE_KEY_MENU,
NAV_FIVE_KEY,
NAV_TOGGLE_THREE_KEY,
NAV_TOGGLE_FIVE_KEY
} |
Protected Member Functions |
virtual void | ImportOptions ()=0 |
virtual void | ExportOptions ()=0 |
void | InitOptionsText () |
void | GetWidthXY (PlayerNumber pn, int iRow, int iChoiceOnRow, int &iWidthOut, int &iXOut, int &iYOut) |
CString | GetExplanationText (int row) const |
CString | GetExplanationTitle (int row) const |
BitmapText & | GetTextItemForRow (PlayerNumber pn, int iRow, int iChoiceOnRow) |
void | PositionUnderlines () |
void | PositionIcons () |
virtual void | RefreshIcons () |
void | PositionCursors () |
void | PositionItems () |
void | TweenCursor (PlayerNumber pn) |
void | UpdateText (int row) |
void | UpdateEnabledDisabled () |
virtual void | OnChange (PlayerNumber pn) |
virtual void | MenuBack (PlayerNumber pn) |
virtual void | MenuStart (PlayerNumber pn, const InputEventType type) |
void | StartGoToNextScreen () |
virtual void | GoToNextScreen ()=0 |
virtual void | GoToPrevScreen ()=0 |
void | MenuLeft (PlayerNumber pn, const InputEventType type) |
void | MenuRight (PlayerNumber pn, const InputEventType type) |
void | ChangeValueInRow (PlayerNumber pn, int iDelta, bool Repeat) |
void | MenuUp (PlayerNumber pn, const InputEventType type) |
void | MenuDown (PlayerNumber pn, const InputEventType type) |
void | MoveRow (PlayerNumber pn, int dir, bool Repeat) |
int | GetCurrentRow (PlayerNumber pn=PLAYER_1) const |
bool | AllAreOnExit () const |
void | LoadOptionIcon (PlayerNumber pn, int iRow, CString sText) |
void | SetNavigation (Navigation nav) |
void | StoreFocus (PlayerNumber pn) |
Protected Attributes |
vector< Row * > | m_Rows |
Navigation | m_OptionsNavigation |
int | m_iCurrentRow [NUM_PLAYERS] |
int | m_iFocusX [NUM_PLAYERS] |
InputMode | m_InputMode |
ActorFrame | m_framePage |
AutoActor | m_sprPage |
OptionsCursor | m_Highlight [NUM_PLAYERS] |
Sprite | m_sprLineHighlight [NUM_PLAYERS] |
BitmapText | m_textPlayerName [NUM_PLAYERS] |
BitmapText | m_textExplanation [NUM_PLAYERS] |
DualScrollBar | m_ScrollBar |
AutoActor | m_sprMore |
bool | m_bMoreShown |
bool | m_bWasOnExit [NUM_PLAYERS] |
AutoActor | m_sprDisqualify [NUM_PLAYERS] |
bool | m_bGotAtLeastOneStartPressed [NUM_PLAYERS] |
RageSound | m_SoundChangeCol |
RageSound | m_SoundNextRow |
RageSound | m_SoundPrevRow |
RageSound | m_SoundToggleOn |
RageSound | m_SoundToggleOff |