From 2bfa9b23dd40aab0df7d8b956c554dfbb1fcfd71 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 2 Sep 2005 21:38:00 +0000 Subject: [PATCH] add blinking caret --- stepmania/src/ScreenTextEntry.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenTextEntry.h b/stepmania/src/ScreenTextEntry.h index f2eb5f8ed2..6fee355e3e 100644 --- a/stepmania/src/ScreenTextEntry.h +++ b/stepmania/src/ScreenTextEntry.h @@ -45,6 +45,7 @@ public: virtual void Init(); virtual void BeginScreen(); + virtual void Update( float fDelta ); virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI ); static CString s_sLastAnswer; @@ -73,6 +74,7 @@ protected: AutoActor m_sprAnswerBox; wstring m_sAnswer; BitmapText m_textAnswer; + bool m_bShowAnswerCaret; AutoActor m_sprCursor; @@ -81,11 +83,13 @@ protected: void PositionCursor(); - BitmapText m_textKeyboardChars[NUM_KEYBOARD_ROWS][KEYS_PER_ROW]; + BitmapText *m_ptextKeys[NUM_KEYBOARD_ROWS][KEYS_PER_ROW]; RageSound m_sndType; RageSound m_sndBackspace; RageSound m_sndChange; + + RageTimer m_timerToggleCursor; };