Places the items in a vertical column. More...
#include <generator_private.hpp>


Public Member Functions | |
| tvertical_list () | |
| void | create_item (const unsigned index) |
| See thorizontal_list::create_item(). | |
| void | request_reduce_width (const unsigned) |
| See thorizontal_list::request_reduce_width. | |
| virtual void | request_reduce_height (const unsigned) |
| See thorizontal_list::request_reduce_height. | |
| tpoint | calculate_best_size () const |
| See thorizontal_list::calculate_best_size(). | |
| void | place (const tpoint &origin, const tpoint &size) |
| See thorizontal_list::place(). | |
| void | set_origin (const tpoint &origin) |
| See thorizontal_list::set_origin(). | |
| void | set_visible_area (const SDL_Rect &area) |
| See thorizontal_list::set_visible_area(). | |
| twidget * | find_at (const tpoint &coordinate, const bool must_be_active) |
| See thorizontal_list::find_at(). | |
| const twidget * | find_at (const tpoint &coordinate, const bool must_be_active) const |
| See thorizontal_list::find_at(). | |
| void | handle_key_up_arrow (SDLMod modifier, bool &handled) |
| Inherited from tgenerator_. | |
| void | handle_key_down_arrow (SDLMod modifier, bool &handled) |
| Inherited from tgenerator_. | |
| void | handle_key_left_arrow (SDLMod, bool &) |
| Inherited from tgenerator_. | |
| void | handle_key_right_arrow (SDLMod, bool &) |
| Inherited from tgenerator_. | |
Private Attributes | |
| bool | placed_ |
| Has the grid already been placed? | |
Places the items in a vertical column.
Definition at line 266 of file generator_private.hpp.
| gui2::policy::placement::tvertical_list::tvertical_list | ( | ) |
Definition at line 288 of file generator.cpp.
| tpoint gui2::policy::placement::tvertical_list::calculate_best_size | ( | ) | const [virtual] |
See thorizontal_list::calculate_best_size().
Implements gui2::tgenerator_.
Definition at line 303 of file generator.cpp.
| void gui2::policy::placement::tvertical_list::create_item | ( | const unsigned | index | ) |
| twidget * gui2::policy::placement::tvertical_list::find_at | ( | const tpoint & | coordinate, | |
| const bool | must_be_active | |||
| ) | [virtual] |
See thorizontal_list::find_at().
Implements gui2::tgenerator_.
Definition at line 387 of file generator.cpp.
| const twidget * gui2::policy::placement::tvertical_list::find_at | ( | const tpoint & | coordinate, | |
| const bool | must_be_active | |||
| ) | const [virtual] |
See thorizontal_list::find_at().
Implements gui2::tgenerator_.
Definition at line 410 of file generator.cpp.
| void gui2::policy::placement::tvertical_list::handle_key_down_arrow | ( | SDLMod | modifier, | |
| bool & | handled | |||
| ) | [virtual] |
Inherited from tgenerator_.
Implements gui2::tgenerator_.
Definition at line 453 of file generator.cpp.
| void gui2::policy::placement::tvertical_list::handle_key_left_arrow | ( | SDLMod | , | |
| bool & | ||||
| ) | [inline, virtual] |
Inherited from tgenerator_.
Implements gui2::tgenerator_.
Definition at line 310 of file generator_private.hpp.
| void gui2::policy::placement::tvertical_list::handle_key_right_arrow | ( | SDLMod | , | |
| bool & | ||||
| ) | [inline, virtual] |
Inherited from tgenerator_.
Implements gui2::tgenerator_.
Definition at line 314 of file generator_private.hpp.
| void gui2::policy::placement::tvertical_list::handle_key_up_arrow | ( | SDLMod | modifier, | |
| bool & | handled | |||
| ) | [virtual] |
Inherited from tgenerator_.
Implements gui2::tgenerator_.
Definition at line 432 of file generator.cpp.
| void gui2::policy::placement::tvertical_list::place | ( | const tpoint & | origin, | |
| const tpoint & | size | |||
| ) | [virtual] |
See thorizontal_list::place().
Implements gui2::tgenerator_.
Definition at line 326 of file generator.cpp.
| virtual void gui2::policy::placement::tvertical_list::request_reduce_height | ( | const | unsigned | ) | [inline, virtual] |
See thorizontal_list::request_reduce_height.
Implements gui2::tgenerator_.
Definition at line 278 of file generator_private.hpp.
| void gui2::policy::placement::tvertical_list::request_reduce_width | ( | const | unsigned | ) | [inline, virtual] |
See thorizontal_list::request_reduce_width.
Implements gui2::tgenerator_.
Definition at line 275 of file generator_private.hpp.
| void gui2::policy::placement::tvertical_list::set_origin | ( | const tpoint & | origin | ) | [virtual] |
See thorizontal_list::set_origin().
Implements gui2::tgenerator_.
Definition at line 357 of file generator.cpp.
| void gui2::policy::placement::tvertical_list::set_visible_area | ( | const SDL_Rect & | area | ) | [virtual] |
See thorizontal_list::set_visible_area().
Implements gui2::tgenerator_.
Definition at line 372 of file generator.cpp.
bool gui2::policy::placement::tvertical_list::placed_ [private] |
Has the grid already been placed?
If the grid is placed it's no problem set the location of the new item,it hasn't been placed, there's no information about its location so do nothing.
Definition at line 330 of file generator_private.hpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |