Refactor layout and size policies - dirty
This commit is contained in:
parent
5de5dbba23
commit
0ebbe75b6e
8 changed files with 284 additions and 96 deletions
|
|
@ -253,7 +253,7 @@ namespace tp {
|
|||
return out;
|
||||
}
|
||||
|
||||
Vec2<Type> center() { return pos + size / 2.f; }
|
||||
Vec2<Type> center() const { return pos + size / 2.f; }
|
||||
|
||||
// splits by Factor Horizontally returning Left rect
|
||||
Rect<Type> splitByFactorHL(halnf factor) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue