|
| dialog_textbox (label *const label_widget, CVideo &video, int width, const std::string &text="", bool editable=true, size_t max_size=256, int font_size=font::SIZE_PLUS, double alpha=0.4, double alpha_focus=0.2) |
|
virtual | ~dialog_textbox () |
|
label * | get_label () const |
|
sdl_handler_vector | handler_members () |
|
| textbox (CVideo &video, int width, const std::string &text="", bool editable=true, size_t max_size=256, int font_size=font::SIZE_PLUS, double alpha=0.4, double alpha_focus=0.2, const bool auto_join=true) |
|
virtual | ~textbox () |
|
const std::string | text () const |
|
void | set_text (const std::string &text, const SDL_Color &color=font::NORMAL_COLOR) |
|
void | append_text (const std::string &text, bool auto_scroll=false, const SDL_Color &color=font::NORMAL_COLOR) |
|
void | clear () |
|
void | set_selection (const int selstart, const int selend) |
|
void | set_cursor_pos (const int cursor_pos) |
|
void | set_editable (bool value) |
|
bool | editable () const |
|
int | font_size () const |
|
void | set_font_size (int fs) |
|
void | scroll_to_bottom () |
|
void | set_wrap (bool val) |
|
void | set_edit_target (textbox *target) |
|
| scrollarea (CVideo &video, bool auto_join=true) |
| Create a zone with automatic handling of scrollbar. More...
|
|
virtual void | hide (bool value=true) |
|
SDL_Rect const & | location () const |
|
virtual void | set_location (SDL_Rect const &rect) |
|
void | set_location (int x, int y) |
|
void | set_width (int w) |
|
void | set_height (int h) |
|
void | set_measurements (int w, int h) |
|
int | width () const |
|
int | height () const |
|
bool | focus (const SDL_Event *event) |
|
void | set_focus (bool focus) |
|
bool | hidden () const |
|
virtual void | enable (bool new_val=true) |
|
bool | enabled () const |
|
void | set_clip_rect (const SDL_Rect &rect) |
|
void | set_volatile (bool val=true) |
|
void | set_dirty (bool dirty=true) |
|
bool | dirty () const |
|
const std::string & | id () const |
|
void | set_id (const std::string &id) |
|
void | set_help_string (const std::string &str) |
|
void | set_tooltip_string (const std::string &str) |
|
virtual void | process_help_string (int mousex, int mousey) |
|
virtual void | process_tooltip_string (int mousex, int mousey) |
|
Public Member Functions inherited from events::sdl_handler |
virtual void | join () |
|
virtual void | join (context &c) |
|
virtual void | join_same (sdl_handler *parent) |
|
virtual void | leave () |
|
virtual void | join_global () |
|
virtual void | leave_global () |
|
Definition at line 94 of file construct_dialog.hpp.