mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +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
|
|
@ -31,19 +31,19 @@ class CSimpleTop : public CLayoutFrame {
|
|||
static uint32_t m_eventTime;
|
||||
|
||||
// Static functions
|
||||
static int32_t OnChar(const EVENT_DATA_CHAR*, void*);
|
||||
static int32_t OnDisplaySizeChanged(const EVENT_DATA_SIZE*, void*);
|
||||
static int32_t OnFocusChanged(const void*, void*);
|
||||
static int32_t OnIme(const void*, void*);
|
||||
static int32_t OnKeyDown(const EVENT_DATA_KEY*, void*);
|
||||
static int32_t OnKeyDownRepeat(const void*, void*);
|
||||
static int32_t OnKeyUp(const EVENT_DATA_KEY*, void*);
|
||||
static int32_t OnMouseDown(const EVENT_DATA_MOUSE*, void*);
|
||||
static int32_t OnMouseMove(const EVENT_DATA_MOUSE*, void*);
|
||||
static int32_t OnMouseMoveRelative(const EVENT_DATA_MOUSE*, void*);
|
||||
static int32_t OnMouseUp(const EVENT_DATA_MOUSE*, void*);
|
||||
static int32_t OnMouseWheel(const EVENT_DATA_MOUSE*, void*);
|
||||
static float RoundToPixelHeight(float);
|
||||
static int32_t OnChar(const EVENT_DATA_CHAR* pCharData, void* param);
|
||||
static int32_t OnDisplaySizeChanged(const EVENT_DATA_SIZE* pSizeData, void* param);
|
||||
static int32_t OnFocusChanged(const void* a1, void* a2);
|
||||
static int32_t OnIme(const void* a1, void* a2);
|
||||
static int32_t OnKeyDown(const EVENT_DATA_KEY* pKeyData, void* param);
|
||||
static int32_t OnKeyDownRepeat(const void* a1, void* a2);
|
||||
static int32_t OnKeyUp(const EVENT_DATA_KEY* pKeyData, void* param);
|
||||
static int32_t OnMouseDown(const EVENT_DATA_MOUSE* pMouseData, void* param);
|
||||
static int32_t OnMouseMove(const EVENT_DATA_MOUSE* pMouseData, void* param);
|
||||
static int32_t OnMouseMoveRelative(const EVENT_DATA_MOUSE* pMouseData, void* param);
|
||||
static int32_t OnMouseUp(const EVENT_DATA_MOUSE* pMouseData, void* param);
|
||||
static int32_t OnMouseWheel(const EVENT_DATA_MOUSE* pMouseData, void* param);
|
||||
static float RoundToPixelHeight(float ddcHeight);
|
||||
|
||||
// Member variables
|
||||
HLAYER m_screenLayer;
|
||||
|
|
@ -63,22 +63,22 @@ class CSimpleTop : public CLayoutFrame {
|
|||
|
||||
// Member functions
|
||||
CSimpleTop();
|
||||
void CompressStrata(int32_t);
|
||||
void EnableEvents(void);
|
||||
void HideFrame(CSimpleFrame*, int32_t);
|
||||
void MoveOrResizeFrame(const CMouseEvent&);
|
||||
void NotifyFrameLayerChanged(CSimpleFrame*, uint32_t);
|
||||
void NotifyFrameMovedOrResized(CSimpleFrame*);
|
||||
void OnLayerUpdate(float);
|
||||
void OnLayerRender(void);
|
||||
int32_t RaiseFrame(CSimpleFrame*, int32_t);
|
||||
void RegisterForEvent(CSimpleFrame*, CSimpleEventType, int32_t, uint32_t);
|
||||
void RegisterFrame(CSimpleFrame*);
|
||||
void ShowFrame(CSimpleFrame*, int32_t);
|
||||
int32_t StartMoveOrResizeFrame(const CMouseEvent&, MOVERESIZE_REASON, int32_t);
|
||||
int32_t StartMoveOrResizeFrame(CSimpleFrame*, MOVERESIZE_REASON, float, float, int32_t);
|
||||
int32_t StartMoveOrResizeFrame(CSimpleFrame*, MOVERESIZE_REASON, float, float, FRAMEPOINT);
|
||||
void UnregisterForEvent(CSimpleFrame*, CSimpleEventType, int32_t);
|
||||
void CompressStrata(int32_t strata);
|
||||
void EnableEvents();
|
||||
void HideFrame(CSimpleFrame* frame, int32_t a4);
|
||||
void MoveOrResizeFrame(const CMouseEvent& evt);
|
||||
void NotifyFrameLayerChanged(CSimpleFrame* frame, uint32_t layer);
|
||||
void NotifyFrameMovedOrResized(CSimpleFrame* frame);
|
||||
void OnLayerUpdate(float elapsedSec);
|
||||
void OnLayerRender();
|
||||
int32_t RaiseFrame(CSimpleFrame* frame, int32_t checkOcclusion);
|
||||
void RegisterForEvent(CSimpleFrame* frame, CSimpleEventType event, int32_t a4, uint32_t priority);
|
||||
void RegisterFrame(CSimpleFrame* frame);
|
||||
void ShowFrame(CSimpleFrame* frame, int32_t a3);
|
||||
int32_t StartMoveOrResizeFrame(const CMouseEvent& start, MOVERESIZE_REASON reason, int32_t resize);
|
||||
int32_t StartMoveOrResizeFrame(CSimpleFrame* frame, MOVERESIZE_REASON reason, float startx, float starty, int32_t a6);
|
||||
int32_t StartMoveOrResizeFrame(CSimpleFrame* frame, MOVERESIZE_REASON reason, float startx, float starty, FRAMEPOINT a6);
|
||||
void UnregisterForEvent(CSimpleFrame* frame, CSimpleEventType event, int32_t a4);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue