mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-05 15:42:17 +03:00
feat(ui): add CSimpleFrame::m_attributes
This commit is contained in:
parent
728d13b216
commit
ae64833a5c
@ -6,6 +6,7 @@
|
||||
#include "ui/CScriptRegion.hpp"
|
||||
#include "ui/Types.hpp"
|
||||
#include "ui/simple/CSimpleRegion.hpp"
|
||||
#include <storm/Hash.hpp>
|
||||
#include <storm/List.hpp>
|
||||
#include <cstdint>
|
||||
|
||||
@ -17,6 +18,10 @@ class CSimpleTitleRegion;
|
||||
class CSimpleTop;
|
||||
struct lua_State;
|
||||
|
||||
struct FRAMEATTR : TSHashObject<FRAMEATTR, HASHKEY_STRI> {
|
||||
int32_t luaRef;
|
||||
};
|
||||
|
||||
class CSimpleFrame : public CScriptRegion {
|
||||
public:
|
||||
// Static members
|
||||
@ -71,6 +76,7 @@ class CSimpleFrame : public CScriptRegion {
|
||||
ScriptIx m_onAttributeChange;
|
||||
ScriptIx m_onEnable;
|
||||
ScriptIx m_onDisable;
|
||||
TSHashTable<FRAMEATTR, HASHKEY_STRI> m_attributes;
|
||||
int32_t m_drawenabled[NUM_SIMPLEFRAME_DRAWLAYERS];
|
||||
CBackdropGenerator* m_backdrop = nullptr;
|
||||
STORM_EXPLICIT_LIST(CSimpleRegion, m_regionLink) m_regions;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user