phoenix/core/layout/fixed-layout.hpp
raw| 1 | struct FixedLayout : Layout { |
| 2 | void append(Sizable& sizable, Geometry geometry); |
| 3 | void append(Sizable& sizable); |
| 4 | Size minimumSize(); |
| 5 | void remove(Sizable& sizable); |
| 6 | void reset(); |
| 7 | void setEnabled(bool enabled = true); |
| 8 | void setGeometry(Geometry geometry); |
| 9 | void setVisible(bool visible = true); |
| 10 | void synchronizeLayout(); |
| 11 | ~FixedLayout(); |
| 12 | |
| 13 | //private: |
| 14 | struct Children { |
| 15 | Sizable* sizable; |
| 16 | Geometry geometry; |
| 17 | }; |
| 18 | nall::vector<Children> children; |
| 19 | }; |