TGUI  0.7.8
tgui::CheckBoxRenderer Class Reference
Inheritance diagram for tgui::CheckBoxRenderer:
tgui::RadioButtonRenderer tgui::WidgetRenderer tgui::WidgetPadding

Public Member Functions

 CheckBoxRenderer (CheckBox *checkbox)
 Constructor. More...
 
- Public Member Functions inherited from tgui::RadioButtonRenderer
 RadioButtonRenderer (RadioButton *radioButton)
 Constructor. More...
 
virtual void setProperty (std::string property, const std::string &value) override
 Change a property of the renderer. More...
 
virtual void setProperty (std::string property, ObjectConverter &&value) override
 Change a property of the renderer. More...
 
virtual ObjectConverter getProperty (std::string property) const override
 Retrieve the value of a certain property. More...
 
virtual std::map< std::string, ObjectConvertergetPropertyValuePairs () const override
 Get a map with all properties and their values. More...
 
void setTextColor (const Color &color)
 Changes the color of the text. More...
 
void setTextColorNormal (const Color &color)
 Changes the color of the text in normal state (mouse not on top of the radio button). More...
 
void setTextColorHover (const Color &color)
 Changes the color of the text in hover state (mouse is standing on top of the radio button). More...
 
void setBackgroundColor (const Color &color)
 Changes the background color. More...
 
void setBackgroundColorNormal (const Color &color)
 Changes the background color in normal state (mouse is not on top of the radio button). More...
 
void setBackgroundColorHover (const Color &color)
 Changes the background color in hover state (mouse is standing on top of the radio button). More...
 
void setForegroundColor (const Color &color)
 Changes the foreground color. More...
 
void setForegroundColorNormal (const Color &color)
 Changes the foreground color in normal state (mouse is not on top of the radio button). More...
 
void setForegroundColorHover (const Color &color)
 Changes the foreground color in hover state (mouse is standing on top of the radio button). More...
 
void setCheckColor (const Color &color)
 Changes the color that is used to fill the radio button when it is checked. More...
 
void setCheckColorNormal (const Color &color)
 Changes the color that is used to fill the radio button when it is checked (mouse is not on radio button). More...
 
void setCheckColorHover (const Color &color)
 Changes the color that is used to fill the radio button when it is checked (mouse is on top of radio button). More...
 
void setUncheckedTexture (const Texture &texture)
 Change the image that is displayed when the checkbox is not checked. More...
 
void setCheckedTexture (const Texture &texture)
 Change the image that is displayed when the checkbox is checked. More...
 
void setUncheckedHoverTexture (const Texture &texture)
 Change the image that is displayed when the checkbox is not checked and the mouse is on top of the checkbox. More...
 
void setCheckedHoverTexture (const Texture &texture)
 Change the image that is displayed when the checkbox is checked and the mouse is on top of the checkbox. More...
 
void setFocusedTexture (const Texture &texture)
 Change the image that is displayed on top of the checkbox when it is focused. More...
 
- Public Member Functions inherited from tgui::WidgetRenderer
virtual ~WidgetRenderer ()
 Virtual destructor.
 
- Public Member Functions inherited from tgui::WidgetPadding
virtual void setPadding (const Padding &padding)
 Changes the size of the padding. More...
 
void setPadding (float leftPadding, float topPadding, float rightPadding, float bottomPadding)
 Changes the size of the padding. More...
 
void setPadding (float width, float height)
 Changes the size of the padding. More...
 
virtual Padding getPadding () const
 Returns the size of the padding. More...
 

Constructor & Destructor Documentation

◆ CheckBoxRenderer()

tgui::CheckBoxRenderer::CheckBoxRenderer ( CheckBox checkbox)
inline

Constructor.

Parameters
checkboxThe checkbox that is connected to the renderer

The documentation for this class was generated from the following file: