mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(ui): implement CSimpleFrame_SetAttribute
This commit is contained in:
parent
19feaf57d3
commit
28e931928a
3 changed files with 56 additions and 1 deletions
|
|
@ -153,6 +153,7 @@ class CSimpleFrame : public CScriptRegion {
|
|||
void RunOnShowScript();
|
||||
void RunOnSizeChangedScript(float width, float height);
|
||||
void RunOnUpdateScript(float elapsedSec);
|
||||
void RunOnAttributeChangedScript(const char* name, int32_t luaRef);
|
||||
void SetBackdrop(CBackdropGenerator* backdrop);
|
||||
void SetBeingScrolled(int32_t a2, int32_t a3);
|
||||
void SetFrameAlpha(uint8_t alpha);
|
||||
|
|
@ -166,6 +167,8 @@ class CSimpleFrame : public CScriptRegion {
|
|||
int32_t TestHitRect(const C2Vector& pt);
|
||||
void UnregisterForEvents(int32_t a2);
|
||||
bool GetAttribute(const char* name, int32_t& luaRef);
|
||||
void SetAttribute(const char* name, int32_t luaRef);
|
||||
bool AttributeChangesAllowed() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue