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
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.
void setTextureTrack(const Texture &texture)
Changes the image of the track.
void setBorders(const Borders &borders)
Changes the size of the borders.
TGUI_NODISCARD bool getThumbWithinTrack() const
Returns whether the center of the thumb or the sides of the thumb must remain on top of the track.
TGUI_NODISCARD const Texture & getTextureTrack() const
Returns the image of the track.
TGUI_NODISCARD const Texture & getTextureThumb() const
Returns the image of the thumb.
void setTextureThumbHover(const Texture &texture)
Changes the image of the thumb that is displayed when the mouse is on top of it.
TGUI_NODISCARD Color getThumbColor() const
Returns the color of the thumb.
void setTrackColor(Color color)
Changes the color of the track.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
TGUI_NODISCARD Color getTrackColor() const
Returns the color of the track.
TGUI_NODISCARD Color getBorderColorHover() const
Returns the color of the borders in the hover state (when the mouse is on top of the slider)
void setThumbWithinTrack(bool keepThumbInside)
Changes whether the center of the thumb or the sides of the thumb must remain on top of the track.
TGUI_NODISCARD Color getThumbColorHover() const
Returns the color of the thumb 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.
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
TGUI_NODISCARD const Texture & getTextureThumbHover() const
Returns the image of the thumb that is displayed when the mouse is on top of it.
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.
TGUI_NODISCARD Color getTrackColorHover() const
Returns the color of the track in hover state (when the mouse is on top of it)
TGUI_NODISCARD const Texture & getTextureTrackHover() const
Returns the image of the track that is displayed when the mouse is on top of it.
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