| 
    TGUI
    0.8.9
    
   | 
 
  
Public Member Functions | |
| void | setBorders (const Borders &borders) | 
| Changes the size of the borders.  More... | |
| Borders | getBorders () const | 
| Returns the size of the borders.  More... | |
| void | setBackgroundColor (Color backgroundColor) | 
| Changes the background color of the tabs.  More... | |
| Color | getBackgroundColor () const | 
| Returns the background color of the tabs.  More... | |
| void | setBackgroundColorHover (Color backgroundColor) | 
| Changes the background color of the tab below the mouse.  More... | |
| Color | getBackgroundColorHover () const | 
| Returns the background color of the tab below the mouse.  More... | |
| void | setBackgroundColorDisabled (Color backgroundColor) | 
| Changes the background color of a disabled tab.  More... | |
| Color | getBackgroundColorDisabled () const | 
| Returns the background color of a disabled tab.  More... | |
| void | setSelectedBackgroundColor (Color backgroundColor) | 
| Changes the background color of the selected tab.  More... | |
| Color | getSelectedBackgroundColor () const | 
| Returns the background color of the selected tab.  More... | |
| void | setSelectedBackgroundColorHover (Color backgroundColor) | 
| Changes the background color of the selected tab when the mouse is on top of it.  More... | |
| Color | getSelectedBackgroundColorHover () const | 
| Returns the background color of the selected tab when the mouse is on top of it.  More... | |
| void | setTextColor (Color textColor) | 
| Changes the color of the text.  More... | |
| Color | getTextColor () const | 
| Returns the color of the text.  More... | |
| void | setTextColorHover (Color textColor) | 
| Changes the color of the text when the mouse is on top of the tab.  More... | |
| Color | getTextColorHover () const | 
| Returns the color of the text when the mouse is on top of the tab.  More... | |
| void | setTextColorDisabled (Color textColor) | 
| Changes the color of the text of a disabled tab.  More... | |
| Color | getTextColorDisabled () const | 
| Returns the color of the text of a disabled tab.  More... | |
| void | setSelectedTextColor (Color textColor) | 
| Changes the color of the text from the selected tab.  More... | |
| Color | getSelectedTextColor () const | 
| Returns the color of the text from the selected tab.  More... | |
| void | setSelectedTextColorHover (Color textColor) | 
| Changes the color of the text from the selected tab when the mouse is on top of it.  More... | |
| Color | getSelectedTextColorHover () const | 
| Returns the color of the text from the selected tab when the mouse is on top of it.  More... | |
| void | setBorderColor (Color color) | 
| Sets the color of the borders.  More... | |
| Color | getBorderColor () const | 
| Returns the color of the borders.  More... | |
| void | setTextureTab (const Texture &texture) | 
| Change the image of a tab.  More... | |
| Texture & | getTextureTab () const | 
| Returns the image of a tab.  More... | |
| void | setTextureTabHover (const Texture &texture) | 
| Change the image of a tab when the mouse is on top of it.  More... | |
| Texture & | getTextureTabHover () const | 
| Returns the image of a tab when the mouse is on top of it.  More... | |
| void | setTextureSelectedTab (const Texture &texture) | 
| Change the image of a selected tab.  More... | |
| Texture & | getTextureSelectedTab () const | 
| Returns the image of a selected tab.  More... | |
| void | setTextureSelectedTabHover (const Texture &texture) | 
| Change the image of a selected tab when the mouse is on top of it.  More... | |
| Texture & | getTextureSelectedTabHover () const | 
| Returns the image of a selected tab when the mouse is on top of it.  More... | |
| void | setTextureDisabledTab (const Texture &texture) | 
| Change the image of a disabled tab.  More... | |
| Texture & | getTextureDisabledTab () const | 
| Returns the image of a disabled tab.  More... | |
| void | setDistanceToSide (float distanceToSide) | 
| Changes the distance between the text and the side of the tab.  More... | |
| float | getDistanceToSide () const | 
| Returns the distance between the text and the side of the tab.  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.  | |
| 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 std::string &property, ObjectConverter &&value) | 
| Changes a property of the renderer.  More... | |
| ObjectConverter | getProperty (const std::string &property) const | 
| Retrieves the value of a certain property.  More... | |
| const std::map< std::string, ObjectConverter > & | getPropertyValuePairs () const | 
| Gets a map with all properties and their values.  More... | |
| void | subscribe (const void *id, const std::function< void(const std::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< RendererData > | getData () const | 
| Returns the renderer data.  More... | |
| std::shared_ptr< RendererData > | clone () const | 
| Gets a clone of the renderer data.  More... | |
| Color tgui::TabsRenderer::getBackgroundColor | ( | ) | const | 
Returns the background color of the tabs.
| Color tgui::TabsRenderer::getBackgroundColorDisabled | ( | ) | const | 
Returns the background color of a disabled tab.
| Color tgui::TabsRenderer::getBackgroundColorHover | ( | ) | const | 
Returns the background color of the tab below the mouse.
| Color tgui::TabsRenderer::getBorderColor | ( | ) | const | 
Returns the color of the borders.
| Borders tgui::TabsRenderer::getBorders | ( | ) | const | 
Returns the size of the borders.
| float tgui::TabsRenderer::getDistanceToSide | ( | ) | const | 
Returns the distance between the text and the side of the tab.
| Color tgui::TabsRenderer::getSelectedBackgroundColor | ( | ) | const | 
Returns the background color of the selected tab.
| Color tgui::TabsRenderer::getSelectedBackgroundColorHover | ( | ) | const | 
Returns the background color of the selected tab when the mouse is on top of it.
| Color tgui::TabsRenderer::getSelectedTextColor | ( | ) | const | 
Returns the color of the text from the selected tab.
| Color tgui::TabsRenderer::getSelectedTextColorHover | ( | ) | const | 
Returns the color of the text from the selected tab when the mouse is on top of it.
| Color tgui::TabsRenderer::getTextColorDisabled | ( | ) | const | 
Returns the color of the text of a disabled tab.
| Color tgui::TabsRenderer::getTextColorHover | ( | ) | const | 
Returns the color of the text when the mouse is on top of the tab.
| Texture & tgui::TabsRenderer::getTextureDisabledTab | ( | ) | const | 
Returns the image of a disabled tab.
| Texture & tgui::TabsRenderer::getTextureSelectedTab | ( | ) | const | 
Returns the image of a selected tab.
| Texture & tgui::TabsRenderer::getTextureSelectedTabHover | ( | ) | const | 
Returns the image of a selected tab when the mouse is on top of it.
| Texture & tgui::TabsRenderer::getTextureTab | ( | ) | const | 
Returns the image of a tab.
| Texture & tgui::TabsRenderer::getTextureTabHover | ( | ) | const | 
Returns the image of a tab when the mouse is on top of it.
| void tgui::TabsRenderer::setBackgroundColor | ( | Color | backgroundColor | ) | 
Changes the background color of the tabs.
| backgroundColor | The new background color | 
Note that this color is ignored when the tab and selected tab image were set.
| void tgui::TabsRenderer::setBackgroundColorDisabled | ( | Color | backgroundColor | ) | 
Changes the background color of a disabled tab.
| backgroundColor | The new disabled background color | 
| void tgui::TabsRenderer::setBackgroundColorHover | ( | Color | backgroundColor | ) | 
Changes the background color of the tab below the mouse.
| backgroundColor | The new hover background color | 
| void tgui::TabsRenderer::setBorderColor | ( | Color | color | ) | 
Sets the color of the borders.
| color | The new border color | 
| void tgui::TabsRenderer::setBorders | ( | const Borders & | borders | ) | 
Changes the size of the borders.
| borders | Size of the borders | 
| void tgui::TabsRenderer::setDistanceToSide | ( | float | distanceToSide | ) | 
Changes the distance between the text and the side of the tab.
| distanceToSide | distance between the text and the side of the tab | 
| void tgui::TabsRenderer::setSelectedBackgroundColor | ( | Color | backgroundColor | ) | 
Changes the background color of the selected tab.
| backgroundColor | The new selected tab background color | 
| void tgui::TabsRenderer::setSelectedBackgroundColorHover | ( | Color | backgroundColor | ) | 
Changes the background color of the selected tab when the mouse is on top of it.
| backgroundColor | The new selected hover tab background color | 
| void tgui::TabsRenderer::setSelectedTextColor | ( | Color | textColor | ) | 
Changes the color of the text from the selected tab.
| textColor | The new selected tab text color | 
| void tgui::TabsRenderer::setSelectedTextColorHover | ( | Color | textColor | ) | 
Changes the color of the text from the selected tab when the mouse is on top of it.
| textColor | The new selected hover tab text color | 
| void tgui::TabsRenderer::setTextColor | ( | Color | textColor | ) | 
Changes the color of the text.
| textColor | The new text color | 
| void tgui::TabsRenderer::setTextColorDisabled | ( | Color | textColor | ) | 
Changes the color of the text of a disabled tab.
| textColor | The new disabled text color | 
| void tgui::TabsRenderer::setTextColorHover | ( | Color | textColor | ) | 
Changes the color of the text when the mouse is on top of the tab.
| textColor | The new hover text color | 
| void tgui::TabsRenderer::setTextureDisabledTab | ( | const Texture & | texture | ) | 
Change the image of a disabled tab.
| texture | The new disabled tab texture | 
The disabled texture is only used when a normal and selected tab texture are also set.
| void tgui::TabsRenderer::setTextureSelectedTab | ( | const Texture & | texture | ) | 
Change the image of a selected tab.
| texture | The new selected tab texture | 
When this image and the tab image are set then the background color properties will be ignored.
| void tgui::TabsRenderer::setTextureSelectedTabHover | ( | const Texture & | texture | ) | 
Change the image of a selected tab when the mouse is on top of it.
| texture | The new selected hover tab texture | 
| void tgui::TabsRenderer::setTextureTab | ( | const Texture & | texture | ) | 
Change the image of a tab.
| texture | The new tab texture | 
When this image and the selected tab image are set then the background color properties will be ignored.
| void tgui::TabsRenderer::setTextureTabHover | ( | const Texture & | texture | ) | 
Change the image of a tab when the mouse is on top of it.
| texture | The new hover tab texture | 
      
  | 
  inline | 
Construct the renderer from renderer data.
| data | Renderer data to initialize the renderer with |