Changeset View
Changeset View
Standalone View
Standalone View
source/gui/CInput.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | protected: | ||||
/// Called every time the auto-scrolling should be checked. | /// Called every time the auto-scrolling should be checked. | ||||
void UpdateAutoScroll(); | void UpdateAutoScroll(); | ||||
/// Clear composed IME input when supported (SDL2 only). | /// Clear composed IME input when supported (SDL2 only). | ||||
void ClearComposedText(); | void ClearComposedText(); | ||||
/// Updates the buffer (cursor) position exposed to JS. | /// Updates the buffer (cursor) position exposed to JS. | ||||
void UpdateBufferPositionSetting(); | void UpdateBufferPositionSetting(); | ||||
void Destroy(); | |||||
protected: | protected: | ||||
vladislavbelov: Who is calling this? | |||||
Not Done Inline ActionsCalled from the CGUI destroy function. bb: Called from the CGUI destroy function. | |||||
/// Cursor position | /// Cursor position | ||||
Not Done Inline ActionsWe use upper camel case with the m_* prefix. It should be m_Focus. vladislavbelov: We use upper camel case with the `m_*` prefix. It should be `m_Focus`. | |||||
int m_iBufferPos; | int m_iBufferPos; | ||||
/// Cursor position we started to select from. (-1 if not selecting) | /// Cursor position we started to select from. (-1 if not selecting) | ||||
/// (NB: Can be larger than m_iBufferPos if selecting from back to front.) | /// (NB: Can be larger than m_iBufferPos if selecting from back to front.) | ||||
int m_iBufferPos_Tail; | int m_iBufferPos_Tail; | ||||
/// If we're composing text with an IME | /// If we're composing text with an IME | ||||
bool m_ComposingText; | bool m_ComposingText; | ||||
/// The length and position of the current IME composition | /// The length and position of the current IME composition | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Who is calling this?