zenilib
0.5.3.0
|
#include <Widget.h>
Inherits Zeni::Widget.
Inherited by Zeni::Configurator_Video::Resolution_Element, and Zeni::Configurator_Video::Selector_Element.
Public Types | |
typedef std::vector< String > | Options |
typedef std::vector<String> Zeni::Selector::Options |
Zeni::Selector::Selector | ( | const Point2f & | upper_left_, |
const Point2f & | lower_right_, | ||
const Point2f & | expanded_upper_left_, | ||
const Point2f & | expanded_lower_right_, | ||
const String & | font_ | ||
) |
Definition at line 556 of file Widget.cpp.
Zeni::Selector::~Selector | ( | ) |
Definition at line 587 of file Widget.cpp.
Definition at line 602 of file Widget.cpp.
References u.
|
inline |
Set the current Widget_Render_Function, giving the Widget a copy.
Definition at line 520 of file Widget.hxx.
References Zeni::Widget_Render_Function::get_duplicate(), and give_Slider_BG_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget a copy.
Definition at line 500 of file Widget.hxx.
References Zeni::Widget_Render_Function::get_duplicate(), and give_Slider_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget a copy.
Definition at line 478 of file Widget.hxx.
References Zeni::Widget_Render_Function::get_duplicate(), and give_Text_Button_Renderer().
Get the current font.
Definition at line 524 of file Widget.hxx.
const Selector::Options & Zeni::Selector::get_options | ( | ) | const |
Definition at line 598 of file Widget.cpp.
String Zeni::Selector::get_selected | ( | ) | const |
Definition at line 618 of file Widget.cpp.
|
inline |
Get the current Widget_Render_Function.
Definition at line 504 of file Widget.hxx.
|
inline |
Get the current Widget_Render_Function.
Definition at line 482 of file Widget.hxx.
|
inline |
Get the current Widget_Render_Function.
Definition at line 458 of file Widget.hxx.
|
inline |
Set the current Widget_Render_Function, giving the Widget ownership.
Definition at line 508 of file Widget.hxx.
Referenced by fax_Slider_BG_Renderer(), and lend_Slider_BG_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget ownership.
Definition at line 486 of file Widget.hxx.
Referenced by fax_Slider_Renderer(), and lend_Slider_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget ownership.
Definition at line 462 of file Widget.hxx.
Referenced by fax_Text_Button_Renderer(), and lend_Text_Button_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget no ownership.
Definition at line 515 of file Widget.hxx.
References give_Slider_BG_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget no ownership.
Definition at line 495 of file Widget.hxx.
References give_Slider_Renderer().
|
inline |
Set the current Widget_Render_Function, giving the Widget no ownership.
Definition at line 473 of file Widget.hxx.
References give_Text_Button_Renderer().
Definition at line 712 of file Widget.cpp.
References select_option(), Zeni::Widget::set_busy(), and Zeni::Widget::set_layer().
|
virtual |
Implements Zeni::Widget.
Definition at line 632 of file Widget.cpp.
References i, Zeni::Widget::is_editable(), SDL_BUTTON_LEFT, Zeni::Widget::set_busy(), Zeni::Widget::set_layer(), Zeni::Point2i::x, Zeni::Point2f::x, Zeni::Point2i::y, and Zeni::Point2f::y.
Implements Zeni::Widget.
Definition at line 696 of file Widget.cpp.
References i, Zeni::Widget::is_editable(), Zeni::Point2i::x, and Zeni::Point2i::y.
Definition at line 610 of file Widget.cpp.
|
virtual |
Reimplemented from Zeni::Widget.
Definition at line 719 of file Widget.cpp.
References Zeni::get_Video(), i, Zeni::Video::pop_world_stack(), Zeni::Video::push_world_stack(), and Zeni::Video::translate_scene().
Definition at line 624 of file Widget.cpp.
Referenced by on_accept().
Set the current font.
Definition at line 528 of file Widget.hxx.