25#ifndef TGUI_SLIDER_RENDERER_HPP
26#define TGUI_SLIDER_RENDERER_HPP
28#include <TGUI/Renderers/WidgetRenderer.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
38 using WidgetRenderer::WidgetRenderer;
Wrapper for colors.
Definition Color.hpp:73
Definition Outline.hpp:38
Definition SliderRenderer.hpp:35
Color getBorderColor() const
Returns the color of the borders.
Color getBorderColorHover() const
Returns the color of the borders in the hover state (when the mouse is on top of the slider)
const Texture & getTextureThumb() const
Returns the image of the thumb.
void setBorderColorHover(Color color)
Changes the color of the borders in the hover state (when the mouse is on top of the slider)
void setBorderColor(Color color)
Changes the color of the borders.
bool getThumbWithinTrack() const
Returns whether the center of the thumb or the sides of the thumb must remain on top of the track.
void setTextureTrack(const Texture &texture)
Changes the image of the track.
void setBorders(const Borders &borders)
Changes the size of the borders.
Borders getBorders() const
Returns the size of the borders.
void setTextureThumbHover(const Texture &texture)
Changes the image of the thumb that is displayed when the mouse is on top of it.
Color getThumbColorHover() const
Returns the color of the thumb in hover state (when the mouse is on top of it)
Color getTrackColor() const
Returns the color of the track.
const Texture & getTextureThumbHover() const
Returns the image of the thumb that is displayed when the mouse is on top of it.
const Texture & getTextureTrackHover() const
Returns the image of the track that is displayed when the mouse is on top of it.
void setTrackColor(Color color)
Changes the color of the track.
const Texture & getTextureTrack() const
Returns the image of the track.
Color getThumbColor() const
Returns the color of the thumb.
void setThumbWithinTrack(bool keepThumbInside)
Changes whether the center of the thumb or the sides of the thumb must remain on top of the track.
Color getTrackColorHover() const
Returns the color of the track in hover state (when the mouse is on top of it)
void setTrackColorHover(Color color)
Changes the color of the track in hover state (when the mouse is on top of it)
void setThumbColorHover(Color color)
Changes the color of the thumb in hover state (when the mouse is on top of it)
void setThumbColor(Color color)
Changes the color of the thumb.
void setTextureTrackHover(const Texture &texture)
Changes the image of the track that is displayed when the mouse is on top of it.
void setTextureThumb(const Texture &texture)
Changes the image of the thumb.
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:57
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38