GUIComponentWithOutput & handle(std::string &handle)
sets the component handle
Definition: GUIComponentWithOutput.h:108
const GUIComponentWithOutput & size(int w, int h) const
sets the component initial size
Definition: GUIComponentWithOutput.h:68
GUIComponentWithOutput(const std::string &type, const std::string ¶ms)
Definition: GUIComponentWithOutput.h:40
undocument this line if you encounter any issues!
Definition: Any.h:37
utils::Size size
intial size of the component (in units of 20px)
Definition: GUIComponent.h:65
const GUIComponentWithOutput & out(const std::string &name) const
sets the component output id
Definition: GUIComponentWithOutput.h:102
const GUIComponentWithOutput & size(const utils::Size &size) const
sets the component initial size
Definition: GUIComponentWithOutput.h:62
Definition: GUIComponentWithOutput.h:39
std::string label
label (results in a titeld border
Definition: GUIComponent.h:59
const GUIComponentWithOutput & hideIf(bool flag) const
hides the component if the given flag is true
Definition: GUIComponentWithOutput.h:96
std::string tooltip
component tooltip (not for containers)
Definition: GUIComponent.h:60
const GUIComponentWithOutput & tooltip(const std::string &tooltip) const
sets the component tooltip
Definition: GUIComponentWithOutput.h:56
GUIComponentWithOutput & out(const std::string &name)
sets the component output id
Definition: GUIComponentWithOutput.h:169
const GUIComponentWithOutput & label(const std::string &label) const
sets the component label
Definition: GUIComponentWithOutput.h:50
GUIComponentWithOutput & size(int w, int h)
sets the component initial size
Definition: GUIComponentWithOutput.h:132
Size class of the ICL.
Definition: Size.h:61
const GUIComponentWithOutput & minSize(int w, int h) const
sets the component minimum size constraint
Definition: GUIComponentWithOutput.h:79
utils::Size minSize
minimum size constraint of the component (in units of 20px)
Definition: GUIComponent.h:63
The GUIComponent class servers as a generic interface for GUI definitions.
Definition: GUIComponent.h:44
utils::Size maxSize
maximum size constraint of the component (in units of 20px)
Definition: GUIComponent.h:64
GUIComponentWithOutput & tooltip(std::string &tooltip)
sets the component tooltip
Definition: GUIComponentWithOutput.h:120
bool hide
if true, the component is not created at all
Definition: GUIComponent.h:66
GUIComponentWithOutput & hideIf(bool flag)
hides the component if the given flag is true
Definition: GUIComponentWithOutput.h:163
GUIComponentWithOutput & minSize(int w, int h)
sets the component minimum size constraint
Definition: GUIComponentWithOutput.h:144
Options m_options
all component options (mutable for C++-reasons)
Definition: GUIComponent.h:71
GUIComponentWithOutput & size(utils::Size &size)
sets the component initial size
Definition: GUIComponentWithOutput.h:126
GUIComponentWithOutput & label(std::string &label)
sets the component label
Definition: GUIComponentWithOutput.h:114
const GUIComponentWithOutput & minSize(const utils::Size &minSize) const
sets the component minimum size constraint
Definition: GUIComponentWithOutput.h:73
std::string handle
the component handle
Definition: GUIComponent.h:56
GUIComponentWithOutput & minSize(utils::Size &minSize)
sets the component minimum size constraint
Definition: GUIComponentWithOutput.h:138
const GUIComponentWithOutput & maxSize(const utils::Size &maxSize) const
sets the component maximum size constraint
Definition: GUIComponentWithOutput.h:84
GUIComponentWithOutput & maxSize(utils::Size &maxSize)
sets the component maximum size constraint
Definition: GUIComponentWithOutput.h:150
std::string out
the component output (only GUIComponentWithOutput subclasses)
Definition: GUIComponent.h:57
const GUIComponentWithOutput & maxSize(int w, int h) const
sets the component maximum size constraint
Definition: GUIComponentWithOutput.h:90
GUIComponentWithOutput & maxSize(int w, int h)
sets the component maximum size constraint
Definition: GUIComponentWithOutput.h:156
const GUIComponentWithOutput & handle(const std::string &handle) const
sets the component handle
Definition: GUIComponentWithOutput.h:44