|
Sparkle 0.0.1
|
Base interface for elements that can be sized by layouts. More...
#include <spk_resizable_element.hpp>


Classes | |
| class | SizeHint |
| Holds minimal, desired, and maximal size generators. More... | |
Public Member Functions | |
| virtual void | setGeometry (const Extend2D &p_extend)=0 |
| Sets the element geometry. | |
| SizeHint & | sizeHint () |
| Returns mutable size hint data. | |
| const SizeHint & | sizeHint () const |
| Returns const size hint data. | |
Base interface for elements that can be sized by layouts.
|
pure virtual |
Sets the element geometry.
| p_extend | New geometry. |
Implemented in spk::GridLayout, spk::InterfaceWindow< TContentType >, spk::InterfaceWindow< PromptPanel >, spk::LinearLayout< TOrientation >, spk::LinearLayout< Orientation::Horizontal >, spk::LinearLayout< Orientation::Vertical >, spk::MessageBox, spk::ScalableWidget, and spk::Widget.
| ResizableElement::SizeHint & spk::ResizableElement::sizeHint | ( | ) |
Returns mutable size hint data.

| const ResizableElement::SizeHint & spk::ResizableElement::sizeHint | ( | ) | const |
Returns const size hint data.