mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-24 16:27:42 +01:00
header compatibility with Clover.app
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
0d4c4eb5ee
commit
bdee69a7ef
@ -174,6 +174,7 @@ typedef struct {
|
||||
BOOLEAN HasAlpha; //moved here to avoid alignment issue
|
||||
} EG_IMAGE;
|
||||
|
||||
#ifdef _cplusplus
|
||||
class EG_RECT {
|
||||
public:
|
||||
INTN XPos;
|
||||
@ -187,7 +188,14 @@ public:
|
||||
bool operator == (const EG_RECT& other) { return XPos == other.XPos && YPos == other.YPos && Width == other.Width && Height == other.Height; }
|
||||
bool operator != (const EG_RECT& other) { return !(*this == other); }
|
||||
};
|
||||
|
||||
#else
|
||||
typedef struct EG_RECT {
|
||||
INTN XPos;
|
||||
INTN YPos;
|
||||
INTN Width;
|
||||
INTN Height;
|
||||
} EG_RECT;
|
||||
#endif
|
||||
|
||||
#define TEXT_YMARGIN (2)
|
||||
#define TEXT_XMARGIN (8)
|
||||
|
Loading…
Reference in New Issue
Block a user