26#ifndef TGUI_EDIT_BOX_RENDERER_HPP
27#define TGUI_EDIT_BOX_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
Wrapper for colors.
Definition: Color.hpp:49
Definition: EditBoxRenderer.hpp:37
void setBorderColorFocused(Color color)
Changes the color of the borders used when the edit box is focused.
Padding getPadding() const
Returns the size of the padding.
void setPadding(const Padding &padding)
Changes the padding of the edit box.
void setDefaultTextColor(Color defaultTextColor)
Sets the color of the default text that can optionally be displayed when the edit box is empty.
void setBorders(const Borders &borders)
Changes the size of the borders.
Color getBorderColor() const
Returns the color of the borders.
Texture & getTextureFocused() const
Returns the image that is drawn on top of the edit box image when the edit box is focused.
void setCaretColor(Color caretColor)
Sets the color that will be used inside the edit box for the blinking caret.
void setTextColorFocused(Color textColor)
Sets the text color that will be used inside the edit box when the edit box is focused.
Color getCaretColorFocused() const
Returns the color that will be used for the blinking caret when the edit box is focused.
void setTextStyle(TextStyle style)
Changes the text style.
Color getTextColorFocused() const
Returns the text color that will be used inside the edit box when the edit box is focused.
TextStyle getDefaultTextStyle() const
Returns the text style of the default text (the text drawn when the edit box is empty)
void setSelectedTextBackgroundColor(Color selectedTextBackgroundColor)
Sets the background color of the selected text that will be used inside the edit box.
void setTextureFocused(const Texture &texture)
Changes the image that is drawn on top of the edit box image when the edit box is focused.
void setBorderColorDisabled(Color color)
Changes the color of the borders used when the edit box is disabled.
void setBackgroundColor(Color color)
Changes the color of the background.
Borders getBorders() const
Returns the size of the borders.
void setBorderColor(Color color)
Changes the color of the borders.
Color getBorderColorHover() const
Returns the color of the borders used when the mouse is on top of the edit box.
Color getCaretColorHover() const
Returns the color that will be used for the blinking caret when the mouse is on top of the edit box.
void setTexture(const Texture &texture)
Changes the image that is displayed.
void setBackgroundColorFocused(Color color)
Changes the color of the background when the edit box is focused.
TextStyle getTextStyle() const
Returns text style.
void setBackgroundColorDisabled(Color color)
Changes the color of the background when the edit box is disabled.
void setTextureDisabled(const Texture &texture)
Changes the image that is displayed when the edit box is disabled.
void setTextureHover(const Texture &texture)
Changes the image that is displayed when the mouse is located on top of the edit box.
float getCaretWidth() const
Returns the caret width.
Color getCaretColor() const
Returns the color that will be used inside the edit box for the blinking caret.
Color getBorderColorFocused() const
Returns the color of the borders used when the edit box is focused.
Color getBackgroundColorFocused() const
Returns the color of the background when the edit box is focused.
void setCaretWidth(float width)
Changes the width of the caret.
void setDefaultTextStyle(TextStyle style)
Changes the text style of the default text (the text drawn when the edit box is empty)
void setBorderColorHover(Color color)
Changes the color of the borders used when the mouse is on top of the edit box.
Texture & getTexture() const
Returns the image that is displayed.
Color getDefaultTextColor() const
Returns the color of the default text that can optionally be displayed when the edit box is empty.
Color getBackgroundColorHover() const
Returns the color of the background in the hover state (mouse on edit box)
Texture & getTextureHover() const
Returns the image that is displayed when the mouse is located on top of the edit box.
void setSelectedTextColor(Color selectedTextColor)
Sets the text color of the selected text that will be used inside the edit box.
void setTextColorDisabled(Color textColor)
Sets the text color that will be used inside the edit box when the edit box is disabled.
Color getSelectedTextColor() const
Returns the text color of the selected text that will be used inside the edit box.
Color getBackgroundColorDisabled() const
Returns the color of the background when the edit box is disabled.
Color getSelectedTextBackgroundColor() const
Returns the background color of the selected text that will be used inside the edit box.
Color getTextColor() const
Returns the text color that will be used inside the edit box.
void setBackgroundColorHover(Color color)
Changes the color of the background in the hover state (mouse on edit box, but not pressed)
Color getBackgroundColor() const
Returns the color of the background.
void setCaretColorHover(Color caretColor)
Sets the color that will be used for the blinking caret when the mouse is on top of the edit box.
Color getBorderColorDisabled() const
Returns the color of the borders used when the edit box is disabled.
void setCaretColorFocused(Color caretColor)
Sets the color that will be used for the blinking caret when the edit box is focused.
Texture & getTextureDisabled() const
Returns the image that is displayed when the edit box is disabled.
Color getTextColorDisabled() const
Returns the text color that will be used inside the edit box when the edit box is disabled.
void setTextColor(Color textColor)
Sets the text color that will be used inside the edit box.
Definition: Outline.hpp:39
Wrapper for text styles.
Definition: TextStyle.hpp:47
Definition: Texture.hpp:42
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:37