mirror of https://github.com/bsnes-emu/bsnes.git
18 lines
362 B
C++
18 lines
362 B
C++
auto mSizable::allocate() -> pObject* {
|
|
return new pSizable(*this);
|
|
}
|
|
|
|
auto mSizable::geometry() const -> Geometry {
|
|
return state.geometry;
|
|
}
|
|
|
|
auto mSizable::minimumSize() const -> Size {
|
|
return signal(minimumSize);
|
|
}
|
|
|
|
auto mSizable::setGeometry(Geometry geometry) -> type& {
|
|
state.geometry = geometry;
|
|
signal(setGeometry, geometry);
|
|
return *this;
|
|
}
|