mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-13 18:12:30 +00:00
feat(profile): added definitions for a handful of UI objects
This commit is contained in:
parent
ac20b7a227
commit
8ff5db67f2
39 changed files with 4484 additions and 183 deletions
67
profile/3.3.5a-windows/include/ui/simpletop.h
Normal file
67
profile/3.3.5a-windows/include/ui/simpletop.h
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
#ifndef UI_SIMPLE_TOP_H
|
||||
#define UI_SIMPLE_TOP_H
|
||||
|
||||
#include "event/types.h"
|
||||
#include "ui/layoutframe.h"
|
||||
#include "ui/simpleframe.h"
|
||||
#include "tempest/vector.h"
|
||||
#include "common/array.h"
|
||||
|
||||
DECLARE_ENUM(FRAMEPOINT);
|
||||
|
||||
DECLARE_STRUCT(FRAMEPRIORITY);
|
||||
DECLARE_STRUCT(CSimpleTop);
|
||||
DECLARE_STRUCT(CSimpleTop__frame_layout);
|
||||
|
||||
enum FRAMEPOINT {
|
||||
FRAMEPOINT_TOPLEFT = 0x0,
|
||||
FRAMEPOINT_TOP = 0x1,
|
||||
FRAMEPOINT_TOPRIGHT = 0x2,
|
||||
FRAMEPOINT_LEFT = 0x3,
|
||||
FRAMEPOINT_CENTER = 0x4,
|
||||
FRAMEPOINT_RIGHT = 0x5,
|
||||
FRAMEPOINT_BOTTOMLEFT = 0x6,
|
||||
FRAMEPOINT_BOTTOM = 0x7,
|
||||
FRAMEPOINT_BOTTOMRIGHT = 0x8,
|
||||
FRAMEPOINT_NUMPOINTS = 0x9
|
||||
};
|
||||
|
||||
struct CSimpleTop__frame_layout {
|
||||
int32_t enabled;
|
||||
CSimpleFrame* frame;
|
||||
FRAMEPOINT anchor;
|
||||
C2Vector last;
|
||||
float float14;
|
||||
};
|
||||
|
||||
struct FRAMEPRIORITY {
|
||||
CSimpleFrame* frame;
|
||||
uint32_t priority;
|
||||
};
|
||||
COMMON_SIMPLE_SORTED_ARRAY_POINTER_TO(FRAMEPRIORITY);
|
||||
|
||||
struct CSimpleTop {
|
||||
CLayoutFrame b_base;
|
||||
void* m_screenLayer;
|
||||
CSimpleFrame* m_mouseFocus;
|
||||
CSimpleFrame* m_mouseCapture;
|
||||
uint32_t m_keydownCapture[787];
|
||||
TSList_SIMPLEFRAMENODE m_frames;
|
||||
uint32_t m_destroyed[3];
|
||||
void* m_strata[9];
|
||||
CSimpleTop__frame_layout m_layout;
|
||||
CSimpleSortedArray_pointer_to_FRAMEPRIORITY m_eventqueue[5][9];
|
||||
int32_t m_checkFocus;
|
||||
EVENT_DATA_MOUSE m_mousePosition;
|
||||
uint32_t dword1234;
|
||||
void* m_mouseButtonCallback;
|
||||
void* m_mouseMoveCallback;
|
||||
void* m_displaySizeCallback;
|
||||
uint32_t dword1244;
|
||||
void* m_keyEventCallback;
|
||||
uint32_t dword124C;
|
||||
uint32_t dword1250;
|
||||
uint32_t dword1254;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue