mirror of https://github.com/bsnes-emu/bsnes.git
28 lines
589 B
C++
28 lines
589 B
C++
struct FixedLayout : Layout {
|
|
void append(Sizable& sizable, Geometry geometry);
|
|
void append(Sizable& sizable);
|
|
bool enabled();
|
|
Size minimumSize();
|
|
void remove(Sizable& sizable);
|
|
void reset();
|
|
void setEnabled(bool enabled = true);
|
|
void setGeometry(Geometry geometry);
|
|
void setVisible(bool visible = true);
|
|
void synchronizeLayout();
|
|
bool visible();
|
|
FixedLayout();
|
|
~FixedLayout();
|
|
|
|
//private:
|
|
struct State {
|
|
bool enabled;
|
|
bool visible;
|
|
} state;
|
|
|
|
struct Children {
|
|
Sizable* sizable;
|
|
Geometry geometry;
|
|
};
|
|
nall::vector<Children> children;
|
|
};
|