mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore(ui): clean up function declarations
This commit is contained in:
parent
f24fbf26c6
commit
d61f0faef1
38 changed files with 471 additions and 471 deletions
|
|
@ -23,9 +23,9 @@ class CSimpleFrame : public CScriptRegion {
|
|||
static int32_t s_objectType;
|
||||
|
||||
// Static functions
|
||||
static void CreateScriptMetaTable(void);
|
||||
static int32_t GetObjectType(void);
|
||||
static void RegisterScriptMethods(lua_State*);
|
||||
static void CreateScriptMetaTable();
|
||||
static int32_t GetObjectType();
|
||||
static void RegisterScriptMethods(lua_State* L);
|
||||
|
||||
// Member variables
|
||||
CSimpleTop* m_top = NULL;
|
||||
|
|
@ -82,81 +82,81 @@ class CSimpleFrame : public CScriptRegion {
|
|||
|
||||
// Virtual member functions
|
||||
virtual ~CSimpleFrame();
|
||||
virtual ScriptIx* GetScriptByName(const char*, ScriptData&);
|
||||
virtual bool IsA(int32_t);
|
||||
virtual int32_t GetScriptMetaTable(void);
|
||||
virtual void LoadXML(XMLNode*, CStatus*);
|
||||
virtual void PreOnAnimUpdate(void);
|
||||
virtual void OnLayerShow(void);
|
||||
virtual void OnLayerHide(void);
|
||||
virtual void OnLayerUpdate(float);
|
||||
virtual int32_t OnLayerTrackUpdate(const CMouseEvent&);
|
||||
virtual void OnFrameRender(void);
|
||||
virtual void OnFrameRender(CRenderBatch*, uint32_t);
|
||||
virtual ScriptIx* GetScriptByName(const char* name, ScriptData& data);
|
||||
virtual bool IsA(int32_t type);
|
||||
virtual int32_t GetScriptMetaTable();
|
||||
virtual void LoadXML(XMLNode* node, CStatus* status);
|
||||
virtual void PreOnAnimUpdate();
|
||||
virtual void OnLayerShow();
|
||||
virtual void OnLayerHide();
|
||||
virtual void OnLayerUpdate(float elapsedSec);
|
||||
virtual int32_t OnLayerTrackUpdate(const CMouseEvent& evt);
|
||||
virtual void OnFrameRender();
|
||||
virtual void OnFrameRender(CRenderBatch* batch, uint32_t layer);
|
||||
virtual void OnScreenSizeChanged();
|
||||
virtual void OnFrameSizeChanged(float, float);
|
||||
virtual void OnLayerCursorEnter(int32_t);
|
||||
virtual void OnLayerCursorExit(int32_t, int32_t);
|
||||
virtual int32_t OnLayerChar(const CCharEvent&);
|
||||
virtual int32_t OnLayerKeyDown(const CKeyEvent&);
|
||||
virtual int32_t OnLayerKeyUp(const CKeyEvent&);
|
||||
virtual int32_t OnLayerMouseDown(const CMouseEvent&, const char*);
|
||||
virtual int32_t OnLayerMouseUp(const CMouseEvent&, const char*);
|
||||
virtual void PostLoadXML(XMLNode*, CStatus*);
|
||||
virtual void UnregisterRegion(CSimpleRegion*);
|
||||
virtual void OnFrameSizeChanged(float width, float height);
|
||||
virtual void OnLayerCursorEnter(int32_t a2);
|
||||
virtual void OnLayerCursorExit(int32_t a2, int32_t a3);
|
||||
virtual int32_t OnLayerChar(const CCharEvent& evt);
|
||||
virtual int32_t OnLayerKeyDown(const CKeyEvent& evt);
|
||||
virtual int32_t OnLayerKeyUp(const CKeyEvent& evt);
|
||||
virtual int32_t OnLayerMouseDown(const CMouseEvent& evt, const char* btn);
|
||||
virtual int32_t OnLayerMouseUp(const CMouseEvent& evt, const char* btn);
|
||||
virtual void PostLoadXML(XMLNode* node, CStatus* status);
|
||||
virtual void UnregisterRegion(CSimpleRegion* region);
|
||||
virtual int32_t GetBoundsRect(CRect& bounds);
|
||||
virtual void PreLoadXML(XMLNode*, CStatus*);
|
||||
virtual void LockHighlight(int32_t);
|
||||
virtual int32_t HideThis(void);
|
||||
virtual int32_t ShowThis(void);
|
||||
virtual bool UpdateScale(bool);
|
||||
virtual void UpdateDepth(bool);
|
||||
virtual void ParentFrame(CSimpleFrame*);
|
||||
virtual void OnFrameSizeChanged(const CRect&);
|
||||
virtual void PreLoadXML(XMLNode* node, CStatus* status);
|
||||
virtual void LockHighlight(int32_t lock);
|
||||
virtual int32_t HideThis();
|
||||
virtual int32_t ShowThis();
|
||||
virtual bool UpdateScale(bool a2);
|
||||
virtual void UpdateDepth(bool a2);
|
||||
virtual void ParentFrame(CSimpleFrame* frame);
|
||||
virtual void OnFrameSizeChanged(const CRect& rect);
|
||||
|
||||
// Member functions
|
||||
CSimpleFrame(CSimpleFrame*);
|
||||
void AddFrameRegion(CSimpleRegion*, uint32_t);
|
||||
void DisableDrawLayer(uint32_t);
|
||||
void EnableDrawLayer(uint32_t);
|
||||
void EnableEvent(CSimpleEventType, int32_t);
|
||||
CSimpleFrame(CSimpleFrame* parent);
|
||||
void AddFrameRegion(CSimpleRegion* region, uint32_t drawlayer);
|
||||
void DisableDrawLayer(uint32_t drawlayer);
|
||||
void EnableDrawLayer(uint32_t drawlayer);
|
||||
void EnableEvent(CSimpleEventType eventType, int32_t priority);
|
||||
int32_t GetHitRect(CRect& rect);
|
||||
void Hide(void);
|
||||
void LoadXML_Attributes(XMLNode*, CStatus*);
|
||||
void LoadXML_Backdrop(XMLNode*, CStatus*);
|
||||
void LoadXML_Layers(XMLNode*, CStatus*);
|
||||
void LoadXML_Scripts(XMLNode*, CStatus*);
|
||||
void NotifyDrawLayerChanged(uint32_t);
|
||||
void NotifyScrollParent(void);
|
||||
void PostLoadXML_Frames(XMLNode*, CStatus*);
|
||||
void Raise(void);
|
||||
void RegisterForEvents(int32_t);
|
||||
void RegisterRegion(CSimpleRegion*);
|
||||
void RemoveFrameRegion(CSimpleRegion*, uint32_t);
|
||||
void RunOnCharScript(const char*);
|
||||
void RunOnEnterScript(int32_t);
|
||||
void RunOnHideScript(void);
|
||||
void RunOnKeyDownScript(const char*);
|
||||
void RunOnKeyUpScript(const char*);
|
||||
void RunOnLeaveScript(int32_t);
|
||||
void RunOnLoadScript(void);
|
||||
void RunOnMouseDownScript(const char*);
|
||||
void RunOnMouseUpScript(const char*);
|
||||
void RunOnShowScript(void);
|
||||
void RunOnSizeChangedScript(float, float);
|
||||
void RunOnUpdateScript(float);
|
||||
void SetBackdrop(CBackdropGenerator*);
|
||||
void SetBeingScrolled(int32_t, int32_t);
|
||||
void Hide();
|
||||
void LoadXML_Attributes(XMLNode* node, CStatus* status);
|
||||
void LoadXML_Backdrop(XMLNode* node, CStatus* status);
|
||||
void LoadXML_Layers(XMLNode* node, CStatus* status);
|
||||
void LoadXML_Scripts(XMLNode* node, CStatus* status);
|
||||
void NotifyDrawLayerChanged(uint32_t drawlayer);
|
||||
void NotifyScrollParent();
|
||||
void PostLoadXML_Frames(XMLNode* node, CStatus* status);
|
||||
void Raise();
|
||||
void RegisterForEvents(int32_t a2);
|
||||
void RegisterRegion(CSimpleRegion* region);
|
||||
void RemoveFrameRegion(CSimpleRegion* region, uint32_t drawlayer);
|
||||
void RunOnCharScript(const char* chr);
|
||||
void RunOnEnterScript(int32_t a2);
|
||||
void RunOnHideScript();
|
||||
void RunOnKeyDownScript(const char* key);
|
||||
void RunOnKeyUpScript(const char* key);
|
||||
void RunOnLeaveScript(int32_t a2);
|
||||
void RunOnLoadScript();
|
||||
void RunOnMouseDownScript(const char* btn);
|
||||
void RunOnMouseUpScript(const char* btn);
|
||||
void RunOnShowScript();
|
||||
void RunOnSizeChangedScript(float width, float height);
|
||||
void RunOnUpdateScript(float elapsedSec);
|
||||
void SetBackdrop(CBackdropGenerator* backdrop);
|
||||
void SetBeingScrolled(int32_t a2, int32_t a3);
|
||||
void SetFrameAlpha(uint8_t alpha);
|
||||
void SetFrameFlag(int32_t, int32_t);
|
||||
void SetFrameLevel(int32_t, int32_t);
|
||||
void SetFrameFlag(int32_t flag, int32_t on);
|
||||
void SetFrameLevel(int32_t level, int32_t shiftChildren);
|
||||
bool SetFrameScale(float scale, bool a3);
|
||||
void SetFrameStrata(FRAME_STRATA);
|
||||
void SetHitRect(void);
|
||||
void SetParent(CSimpleFrame*);
|
||||
void Show(void);
|
||||
int32_t TestHitRect(const C2Vector&);
|
||||
void UnregisterForEvents(int32_t);
|
||||
void SetFrameStrata(FRAME_STRATA strata);
|
||||
void SetHitRect();
|
||||
void SetParent(CSimpleFrame* parent);
|
||||
void Show();
|
||||
int32_t TestHitRect(const C2Vector& pt);
|
||||
void UnregisterForEvents(int32_t a2);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue