22 void Update(
float fDeltaTime)
override;
24 void HandleMessage(
const Message& msg)
override;
25 void HandleScreenMessage(
const ScreenMessage& SM)
override;
28 Actor* GetActorWithFocus();
29 void BeforeChangeFocus();
30 void AfterChangeFocus();
32 void DismissWarning();
33 bool CursorOnAction();
34 bool CursorOnHeader();
37 bool CursorCanGoDown();
38 bool CursorCanGoLeft();
39 bool CursorCanGoRight();
42 void SetCursorFromSetListCurrent();
43 void StartWaitingForPress();
45 unsigned int m_CurController = 0;
46 unsigned int m_CurButton = 0;
47 unsigned int m_CurSlot = 0;
48 unsigned int m_MaxDestItem = 0;
50 bool m_ChangeOccurred;
57 GameButton m_GameButton;
61 [NUM_SHOWN_GAME_TO_DEVICE_SLOTS];
63 std::vector<KeyToMap> m_KeysToMap;
69 BitmapText m_ListHeaderLabels[NUM_GameController]
70 [NUM_SHOWN_GAME_TO_DEVICE_SLOTS];
72 float m_AutoDismissWarningSecs = 2.5f;
75 float m_AutoDismissNoSetListPromptSecs = 5.f;
78 float m_AutoDismissSanitySecs = 5.f;
86 SetListEntry(
int b,
int c,
int s)
92 bool operator<(SetListEntry
const& rhs)
const
94 if (m_controller != rhs.m_controller) {
95 return m_controller < rhs.m_controller;
97 if (m_button != rhs.m_button) {
98 return m_button < rhs.m_button;
100 return m_slot < rhs.m_slot;
103 std::set<SetListEntry> m_SetList;
104 std::set<SetListEntry>::iterator m_SetListCurrent;
105 bool m_InSetListMode;
112 action_fun_t m_action;
113 void Load(std::string
const& scr_name,
114 std::string
const& name,
115 ScreenMapControllers::action_fun_t action,
119 void ClearToDefault();
120 void ReloadFromDisk();
124 bool SanityCheckWrapper();
126 std::vector<ActionRow> m_Actions;
128 std::vector<ActorFrame*> m_Line;
An actor that holds a Font and draws text to the screen.
Definition BitmapText.h:11