25#ifndef TGUI_CHAT_BOX_RENDERER_HPP
26#define TGUI_CHAT_BOX_RENDERER_HPP
28#include <TGUI/Renderers/WidgetRenderer.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
38 using WidgetRenderer::WidgetRenderer;
117 void setScrollbar(std::shared_ptr<RendererData> scrollbarRendererData);
Definition ChatBoxRenderer.hpp:35
void setBorderColor(Color borderColor)
Changes the color of the borders.
void setTextureBackground(const Texture &texture)
Changes the background image of the chat box.
void setPadding(const Padding &padding)
Changes the padding of the chat box.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the chat box.
TGUI_NODISCARD float getScrollbarWidth() const
Returns the wanted width scrollbar.
void setBorders(const Borders &borders)
Changes the size of the borders.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color.
TGUI_NODISCARD std::shared_ptr< RendererData > getScrollbar() const
Returns the renderer data of the scrollbar.
void setScrollbar(std::shared_ptr< RendererData > scrollbarRendererData)
Sets the renderer data of the scrollbar.
TGUI_NODISCARD Padding getPadding() const
Returns the size of the padding.
void setScrollbarWidth(float scrollbarWidth)
Sets the wanted width scrollbar.
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
TGUI_NODISCARD const Texture & getTextureBackground() const
Returns the background image of the chat box.
Wrapper for colors.
Definition Color.hpp:73
Definition Outline.hpp:38
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