mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Edit box baseline (regresses volume control dialog though)
This commit is contained in:
@@ -47,6 +47,7 @@ struct Rect
|
||||
|
||||
static Rect Create(int16_t top, int16_t left, int16_t bottom, int16_t right);
|
||||
static Rect CreateFromPoints(const Point &topLeft, const Point &bottomRight);
|
||||
static Rect CreateLargest();
|
||||
};
|
||||
|
||||
struct BERect
|
||||
@@ -244,3 +245,8 @@ inline Rect Rect::CreateFromPoints(const Point &topLeft, const Point &bottomRigh
|
||||
{
|
||||
return Rect::Create(topLeft.v, topLeft.h, bottomRight.v, bottomRight.h);
|
||||
}
|
||||
|
||||
inline Rect Rect::CreateLargest()
|
||||
{
|
||||
return Rect::Create(-0x8000, -0x8000, 0x7fff, 0x7fff);
|
||||
}
|
||||
|
Reference in New Issue
Block a user