25#ifndef TGUI_PROGRESS_BAR_RENDERER_HPP
26#define TGUI_PROGRESS_BAR_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 ProgressBarRenderer.hpp:35
void setFillColor(Color color)
Changes the fill color of the progress bar.
void setTextureFill(const Texture &texture)
Changes the fill image of the progress bar.
void setTextColor(Color color)
Changes the color of the text that is optionally displayed on top of the progress bar.
const Texture & getTextureFill() const
Returns the fill image.
void setBackgroundColor(Color color)
Changes the background color of the progress bar.
Color getTextOutlineColor() const
Returns the outline color of the text (used when TextOutlineThickness > 0)
Color getBackgroundColor() const
Returns the background color of the progress bar.
Color getFillColor() const
Returns the fill color of the progress bar.
Color getTextColor() const
Returns the color of the text that is optionally displayed on top 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.
const Texture & getTextureBackground() const
Returns the background image.
Color getBorderColor() const
Returns the border color.
TextStyles getTextStyle() const
Returns text style.
Color getTextColorFilled() const
Returns the color of the text that is on top of the filled part 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.
float getTextOutlineThickness() const
Returns the thickness of the text outline.
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.
Borders getBorders() const
Returns the size of the borders.
Wrapper for text styles.
Definition TextStyle.hpp:55
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