26#ifndef TGUI_PROGRESS_BAR_RENDERER_HPP
27#define TGUI_PROGRESS_BAR_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
34TGUI_MODULE_EXPORT
namespace tgui
40 using WidgetRenderer::WidgetRenderer;
Wrapper for colors.
Definition Color.hpp:72
Definition Outline.hpp:39
Definition ProgressBarRenderer.hpp:37
void setFillColor(Color color)
Changes the fill color of the progress bar.
TGUI_NODISCARD TextStyles getTextStyle() const
Returns text style.
void setTextureFill(const Texture &texture)
Changes the fill image of the progress bar.
TGUI_NODISCARD Color getTextOutlineColor() const
Returns the outline color of the text (used when TextOutlineThickness > 0)
void setTextColor(Color color)
Changes the color of the text that is optionally displayed on top of the progress bar.
TGUI_NODISCARD float getTextOutlineThickness() const
Returns the thickness of the text outline.
TGUI_NODISCARD const Texture & getTextureBackground() const
Returns the background image.
void setBackgroundColor(Color color)
Changes the background color of the progress bar.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
TGUI_NODISCARD Color getTextColor() const
Returns the color of the text that is optionally displayed on top of the progress bar.
TGUI_NODISCARD Color getTextColorFilled() const
Returns the color of the text that is on top of the filled part of the progress bar.
void setTextColorFilled(Color color)
Changes the color of the text that is on top of the filled part of the progress bar.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color of the progress bar.
TGUI_NODISCARD Color getFillColor() const
Returns the fill color of the progress bar.
void setTextOutlineColor(Color outlineColor)
Changes the outline color of the text (used when TextOutlineThickness > 0)
void setTextStyle(TextStyles style)
Changes the text style.
void setBorders(const Borders &borders)
Changes the size of the borders.
void setTextureBackground(const Texture &texture)
Changes the background image of the progress bar.
void setTextOutlineThickness(float outlineThickness)
Changes the thickness of the text outline (0 by default, which means there is no outline).
void setBorderColor(Color color)
Changes the border color.
TGUI_NODISCARD Color getBorderColor() const
Returns the border color.
TGUI_NODISCARD const Texture & getTextureFill() const
Returns the fill image.
Wrapper for text styles.
Definition TextStyle.hpp:57
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:39