mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 11:32:29 +00:00
feat(ui): handle CSimpleButton_GetButtonState script function
This commit is contained in:
parent
a3b285497a
commit
dd322572c7
3 changed files with 23 additions and 1 deletions
|
|
@ -83,6 +83,10 @@ void CSimpleButton::Enable(int32_t enabled) {
|
|||
}
|
||||
}
|
||||
|
||||
CSimpleButtonState CSimpleButton::GetButtonState() {
|
||||
return this->m_state;
|
||||
}
|
||||
|
||||
FrameScript_Object::ScriptIx* CSimpleButton::GetScriptByName(const char* name, ScriptData& data) {
|
||||
auto parentScript = CSimpleFrame::GetScriptByName(name, data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue