mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 19:42:29 +00:00
feat(ui): implement SetFocus and ClearFocus script methods (CSimpleEditBox)
This commit is contained in:
parent
03ba4ccbb1
commit
465b3844de
3 changed files with 18 additions and 2 deletions
|
|
@ -19,6 +19,7 @@ class CSimpleEditBox : public CSimpleFrame, CSimpleFontedFrame {
|
|||
static int32_t GetObjectType();
|
||||
static void RegisterScriptMethods(lua_State* L);
|
||||
static void SetKeyboardFocus(CSimpleEditBox* editBox);
|
||||
static void ClearKeyboardFocus(CSimpleEditBox* editBox, bool);
|
||||
|
||||
// Member variables
|
||||
int32_t m_autoFocus : 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue