Rework Project Ultra
- Added container - Made container the base of Layout - Set Containers theirself as pParent for Elements on Push
This commit is contained in:
@@ -28,10 +28,14 @@ class PD_API Rect : public ElementBase {
|
||||
|
||||
void SetColor(const PD::Color& color) { pColor = color; }
|
||||
void SetRounding(float r) { pRounding = r; }
|
||||
void SetLined(bool v) { pLined = v; }
|
||||
void SetThickness(int v) { pThickness = v; }
|
||||
|
||||
private:
|
||||
PD::Color pColor;
|
||||
float pRounding = 0.f;
|
||||
bool pLined = false;
|
||||
int pThickness = 1.f;
|
||||
};
|
||||
} // namespace Ultra
|
||||
|
||||
|
||||
Reference in New Issue
Block a user