TGUI  0.9-dev
tgui::CheckBoxRenderer Class Reference
Inheritance diagram for tgui::CheckBoxRenderer:
tgui::RadioButtonRenderer tgui::WidgetRenderer

Additional Inherited Members

- Public Member Functions inherited from tgui::RadioButtonRenderer
void setBorders (const Borders &borders)
 Changes the size of the borders. More...
 
Borders getBorders () const
 Returns the size of the borders. More...
 
void setTextDistanceRatio (float ratio)
 Changes the relative distance between the radio button and the text next to it. More...
 
float getTextDistanceRatio () const
 The relative distance between the radio button and the text next to it. More...
 
void setTextColor (Color color)
 Changes the color of the text. More...
 
Color getTextColor () const
 Returns the text color. More...
 
void setTextColorHover (Color color)
 Changes the color of the text in hover state (mouse is standing on top of the radio button) More...
 
Color getTextColorHover () const
 Returns the text color in the hover state (mouse on radio button) More...
 
void setTextColorDisabled (Color color)
 Changes the color of the text when the radio button is disabled. More...
 
Color getTextColorDisabled () const
 Returns the text color when the radio button is disabled. More...
 
void setTextColorChecked (Color color)
 Changes the color of the text when the radio button is checked. More...
 
Color getTextColorChecked () const
 Returns the text color when the radio button is checked. More...
 
void setTextColorCheckedHover (Color color)
 Changes the color of the text in hover state when the radio button is checked. More...
 
Color getTextColorCheckedHover () const
 Returns the text color in the hover state when the radio button is checked. More...
 
void setTextColorCheckedDisabled (Color color)
 Changes the color of the text when the radio button is checked and disabled. More...
 
Color getTextColorCheckedDisabled () const
 Returns the text color when the radio button is checked and disabled. More...
 
void setBackgroundColor (Color color)
 Changes the background color. More...
 
Color getBackgroundColor () const
 Returns the background color. More...
 
void setBackgroundColorHover (Color color)
 Changes the background color in hover state (mouse is standing on top of the radio button) More...
 
Color getBackgroundColorHover () const
 Returns the background color in the hover state (mouse on radio button) More...
 
void setBackgroundColorDisabled (Color color)
 Changes the background color when the radio button is disabled. More...
 
Color getBackgroundColorDisabled () const
 Returns the background color when the radio button is disabled. More...
 
void setBackgroundColorChecked (Color color)
 Changes the background color used when the radio button is checked. More...
 
Color getBackgroundColorChecked () const
 Returns the background color used when the radio button is checked. More...
 
void setBackgroundColorCheckedHover (Color color)
 Changes the background color in hover state used when the radio button is checked. More...
 
Color getBackgroundColorCheckedHover () const
 Returns the background color in the hover state used when the radio button is checked. More...
 
void setBackgroundColorCheckedDisabled (Color color)
 Changes the background color when the radio button is checked and disabled. More...
 
Color getBackgroundColorCheckedDisabled () const
 Returns the background color when the radio button is checked and disabled. More...
 
void setBorderColor (Color color)
 Changes the border color. More...
 
Color getBorderColor () const
 Returns the border color. More...
 
void setBorderColorHover (Color color)
 Changes the border color in hover state (mouse is standing on top of the radio button) More...
 
Color getBorderColorHover () const
 Returns the border color in the hover state (mouse on radio button) More...
 
void setBorderColorDisabled (Color color)
 Changes the border color when the radio button is disabled. More...
 
Color getBorderColorDisabled () const
 Returns the border color when the radio button is disabled. More...
 
void setBorderColorFocused (Color color)
 Changes the color of the borders that is used when the radio button is focused (while not hovered) More...
 
Color getBorderColorFocused () const
 Returns the color of the borders that is used when the radio button is focused. More...
 
void setBorderColorChecked (Color color)
 Changes the border color used when the radio button is checked. More...
 
Color getBorderColorChecked () const
 Returns the border color used when the radio button is checked. More...
 
void setBorderColorCheckedHover (Color color)
 Changes the border color in hover state used when the radio button is checked. More...
 
Color getBorderColorCheckedHover () const
 Returns the border color in the hover state used when the radio button is checked. More...
 
void setBorderColorCheckedDisabled (Color color)
 Changes the border color when the radio button is checked and disabled. More...
 
Color getBorderColorCheckedDisabled () const
 Returns the border color when the radio button is checked and disabled. More...
 
void setBorderColorCheckedFocused (Color color)
 Changes the color of the borders that is used when the radio button is checked and focused (while not hovered) More...
 
Color getBorderColorCheckedFocused () const
 Returns the color of the borders that is used when the radio button is checked and focused. More...
 
void setCheckColor (Color color)
 Changes the color that is used to fill the radio button when it is checked. More...
 
Color getCheckColor () const
 Returns the check color. More...
 
void setCheckColorHover (Color color)
 Changes the color that is used to fill the radio button when the mouse is on top of it. More...
 
Color getCheckColorHover () const
 Returns the check color used to fill the radio button when the mouse is on top of it. More...
 
void setCheckColorDisabled (Color color)
 Changes the color that is used to fill the radio button when the radio button is disabled. More...
 
Color getCheckColorDisabled () const
 Returns the check color used to fill the radio button when the radio button is disabled. More...
 
void setTextureUnchecked (const Texture &texture)
 Changes the image that is displayed when the checkbox is not checked. More...
 
const TexturegetTextureUnchecked () const
 Returns the image that is displayed when the checkbox is not checked. More...
 
void setTextureChecked (const Texture &texture)
 Changes the image that is displayed when the checkbox is checked. More...
 
const TexturegetTextureChecked () const
 Returns the image that is displayed when the checkbox is checked. More...
 
void setTextureUncheckedHover (const Texture &texture)
 Changes the image that is displayed when the checkbox is not checked and the mouse is on top of the checkbox. More...
 
const TexturegetTextureUncheckedHover () const
 Returns the image that is displayed when the checkbox is not checked and the mouse is on top of the checkbox. More...
 
void setTextureCheckedHover (const Texture &texture)
 Changes the image that is displayed when the checkbox is checked and the mouse is on top of the checkbox. More...
 
const TexturegetTextureCheckedHover () const
 Returns the image that is displayed when the checkbox is checked and the mouse is on top of the checkbox. More...
 
void setTextureUncheckedDisabled (const Texture &texture)
 Changes the image that is displayed when the checkbox is not checked and the checkbox is disabled. More...
 
const TexturegetTextureUncheckedDisabled () const
 Returns the image that is displayed when the checkbox is not checked and the checkbox is disabled. More...
 
void setTextureCheckedDisabled (const Texture &texture)
 Changes the image that is displayed when the checkbox is checked and the checkbox is disabled. More...
 
const TexturegetTextureCheckedDisabled () const
 Returns the image that is displayed when the checkbox is checked and the checkbox is disabled. More...
 
void setTextureUncheckedFocused (const Texture &texture)
 Changes the image that is displayed on top of the checkbox when it is unchecked and focused. More...
 
const TexturegetTextureUncheckedFocused () const
 Returns the image that is displayed on top of the checkbox when it is unchecked and focused. More...
 
void setTextureCheckedFocused (const Texture &texture)
 Changes the image that is displayed on top of the checkbox when it is checked and focused. More...
 
const TexturegetTextureCheckedFocused () const
 Returns the image that is displayed on top of the checkbox when it is checked and focused. More...
 
void setTextStyle (TextStyle style)
 Changes the text style. More...
 
TextStyle getTextStyle () const
 Returns text style. More...
 
void setTextStyleChecked (TextStyle style)
 Changes the text style in the checked state. More...
 
TextStyle getTextStyleChecked () const
 Returns text style in the checked state. More...
 
 WidgetRenderer ()=default
 Default constructor.
 
 WidgetRenderer (const std::shared_ptr< RendererData > &data)
 Construct the renderer from renderer data. More...
 
- Public Member Functions inherited from tgui::WidgetRenderer
 WidgetRenderer ()=default
 Default constructor.
 
 WidgetRenderer (const std::shared_ptr< RendererData > &data)
 Construct the renderer from renderer data. More...
 
virtual ~WidgetRenderer ()=default
 Virtual destructor. More...
 
void setOpacity (float opacity)
 Changes the opacity of the widget. More...
 
float getOpacity () const
 Returns the opacity of the widget. More...
 
void setOpacityDisabled (float opacity)
 Changes the opacity of the widget when it is disabled. More...
 
float getOpacityDisabled () const
 Returns the opacity of the widget when it is disabled. More...
 
void setFont (Font font)
 Changes the font used for the text in the widget. More...
 
Font getFont () const
 Returns the font associated with the widget (if any) More...
 
void setTransparentTexture (bool ignoreTransparentParts)
 Sets whether mouse events should be ignored on transparent parts of the texture of the widget in normal state. More...
 
bool getTransparentTexture () const
 Returns whether mouse events should be ignored on transparent parts of the texture of the widget. More...
 
void setProperty (const String &property, ObjectConverter &&value)
 Changes a property of the renderer. More...
 
ObjectConverter getProperty (const String &property) const
 Retrieves the value of a certain property. More...
 
const std::map< String, ObjectConverter > & getPropertyValuePairs () const
 Gets a map with all properties and their values. More...
 
void subscribe (const void *id, const std::function< void(const String &property)> &function)
 Subscribes a callback function to changes in the renderer. More...
 
void unsubscribe (const void *id)
 Subscribes a callback function to changes in the renderer. More...
 
std::shared_ptr< RendererDatagetData () const
 Returns the renderer data. More...
 
std::shared_ptr< RendererDataclone () const
 Gets a clone of the renderer data. More...
 

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