#include <guiEditBoxWithScrollbar.h>
Public Member Functions | |
| GUIEditBoxWithScrollBar (const wchar_t *text, bool border, gui::IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle, ISimpleTextureSource *tsrc, bool writable=true, bool has_vscrollbar=true) | |
| constructor | |
| virtual | ~GUIEditBoxWithScrollBar () |
| destructor | |
| void | draw () override |
| draws the element and its children | |
| void | setBackgroundColor (const video::SColor &bg_color) |
| Change the background color. | |
Protected Member Functions | |
| void | createVScrollBar () |
| create a Vertical ScrollBar | |
Protected Attributes | |
| bool | m_bg_color_used |
| video::SColor | m_bg_color |
| ISimpleTextureSource * | m_tsrc |
| GUIEditBoxWithScrollBar::GUIEditBoxWithScrollBar | ( | const wchar_t * | text, |
| bool | border, | ||
| gui::IGUIEnvironment * | environment, | ||
| IGUIElement * | parent, | ||
| s32 | id, | ||
| const core::rect< s32 > & | rectangle, | ||
| ISimpleTextureSource * | tsrc, | ||
| bool | writable = true, | ||
| bool | has_vscrollbar = true ) |
constructor
References createVScrollBar(), m_bg_color_used, and m_tsrc.
Referenced by GUIFormSpecMenu::createTextField(), and GUIOpenURLMenu::regenerateGui().
|
inlinevirtual |
destructor
|
protected |
create a Vertical ScrollBar
create a vertical scroll bar
References GUIScrollBar::GUIScrollBar(), and m_tsrc.
Referenced by GUIEditBoxWithScrollBar().
|
override |
draws the element and its children
References m_bg_color, and m_bg_color_used.
| void GUIEditBoxWithScrollBar::setBackgroundColor | ( | const video::SColor & | bg_color | ) |
Change the background color.
References m_bg_color, and m_bg_color_used.
|
protected |
Referenced by draw(), and setBackgroundColor().
|
protected |
Referenced by GUIEditBoxWithScrollBar(), draw(), and setBackgroundColor().
|
protected |
Referenced by GUIEditBoxWithScrollBar(), and createVScrollBar().