mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): wire up screen regions in OnPaint
This commit is contained in:
parent
aeade5b085
commit
e7780e67fb
3 changed files with 9 additions and 40 deletions
|
|
@ -4,9 +4,9 @@
|
|||
#include <cstdint>
|
||||
#include <common/Handle.hpp>
|
||||
#include <storm/List.hpp>
|
||||
#include <storm/Region.hpp>
|
||||
|
||||
typedef HOBJECT HLAYER;
|
||||
typedef HOBJECT HSRGN;
|
||||
|
||||
enum SCRNSTOCK {
|
||||
STOCK_SYSFONT = 0,
|
||||
|
|
@ -14,13 +14,6 @@ enum SCRNSTOCK {
|
|||
SCRNSTOCKOBJECTS = 2
|
||||
};
|
||||
|
||||
struct RECTF {
|
||||
float left;
|
||||
float bottom;
|
||||
float right;
|
||||
float top;
|
||||
};
|
||||
|
||||
class CILayer : public CHandleObject {
|
||||
public:
|
||||
RECTF rect;
|
||||
|
|
@ -56,12 +49,4 @@ void ScrnLayerCreate(const RECTF*, float, unsigned long, void*, void (*)(void*,
|
|||
|
||||
void ScrnSetStockFont(SCRNSTOCK, const char*);
|
||||
|
||||
void SRgnCombineRectf(HSRGN*, RECTF*, void*, int32_t);
|
||||
|
||||
void SRgnCreate(HSRGN*, uint32_t);
|
||||
|
||||
void SRgnDelete(HSRGN*);
|
||||
|
||||
void SRgnGetBoundingRectf(HSRGN*, RECTF*);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue