#include <text_box.hpp>
Public Member Functions | |
tbuilder_text_box (const config &cfg) | |
twidget * | build () const |
Public Member Functions inherited from gui2::implementation::tbuilder_control | |
tbuilder_control (const config &cfg) | |
virtual twidget * | build (const treplacements &replacements) const override |
void | init_control (tcontrol *control) const |
Public Member Functions inherited from gui2::tbuilder_widget | |
tbuilder_widget (const config &cfg) | |
virtual | ~tbuilder_widget () |
Public Member Functions inherited from reference_counted_object | |
reference_counted_object () | |
reference_counted_object (const reference_counted_object &) | |
reference_counted_object & | operator= (const reference_counted_object &) |
virtual | ~reference_counted_object () |
void | add_ref () const |
void | dec_ref () const |
int | refcount () const |
Public Attributes | |
std::string | history |
size_t | max_input_length |
Public Attributes inherited from gui2::implementation::tbuilder_control | |
std::string | definition |
Parameters for the control. More... | |
t_string | label |
t_string | tooltip |
t_string | help |
bool | use_tooltip_on_label_overflow |
Public Attributes inherited from gui2::tbuilder_widget | |
std::string | id |
Parameters for the widget. More... | |
std::string | linked_group |
int | debug_border_mode |
unsigned | debug_border_color |
Additional Inherited Members | |
Public Types inherited from gui2::tbuilder_widget | |
typedef std::map< std::string, boost::intrusive_ptr < tbuilder_widget > > | treplacements |
The replacements type is used to define replacement types. More... | |
Protected Member Functions inherited from reference_counted_object | |
void | turn_reference_counting_off () const |
Definition at line 301 of file text_box.hpp.
|
explicit |
Definition at line 482 of file text_box.cpp.
|
virtual |
Implements gui2::tbuilder_widget.
Definition at line 489 of file text_box.cpp.
References DBG_GUI_G, gui2::implementation::tbuilder_control::definition, history, gui2::implementation::tbuilder_control::init_control(), gui2::implementation::tbuilder_control::label, max_input_length, gui2::ttext_box::set_history(), gui2::ttext_box::set_max_input_length(), and gui2::ttext_::set_value().
std::string gui2::implementation::tbuilder_text_box::history |
Definition at line 310 of file text_box.hpp.
Referenced by build().
size_t gui2::implementation::tbuilder_text_box::max_input_length |
Definition at line 312 of file text_box.hpp.
Referenced by build().