A walker for a gui2::tgrid. More...
#include <walker_grid.hpp>


Public Member Functions | |
| tgrid (gui2::tgrid &grid) | |
| Constructor. | |
| virtual tstate | next (const tlevel level) |
| Inherited from gui2::iterator::twalker_. | |
| virtual bool | at_end (const tlevel level) const |
| Inherited from gui2::iterator::twalker_. | |
| virtual gui2::twidget * | get (const tlevel level) |
| Inherited from gui2::iterator::twalker_. | |
Private Attributes | |
| gui2::tgrid & | grid_ |
| The grid which the walker is attached to. | |
| gui2::twidget * | widget_ |
| The grid which the walker is attached to. | |
| gui2::tgrid::iterator | itor_ |
| The iterator to the children of grid_. | |
A walker for a gui2::tgrid.
Definition at line 28 of file walker_grid.hpp.
| gui2::iterator::tgrid::tgrid | ( | gui2::tgrid & | grid | ) | [explicit] |
Constructor.
| grid | The grid which the walker is attached to. |
Definition at line 21 of file walker_grid.cpp.
References preferences::grid().

| bool gui2::iterator::tgrid::at_end | ( | const tlevel | level | ) | const [virtual] |
Inherited from gui2::iterator::twalker_.
Implements gui2::iterator::twalker_.
Definition at line 58 of file walker_grid.cpp.
| gui2::twidget * gui2::iterator::tgrid::get | ( | const tlevel | level | ) | [virtual] |
Inherited from gui2::iterator::twalker_.
Implements gui2::iterator::twalker_.
Definition at line 73 of file walker_grid.cpp.
| twalker_::tstate gui2::iterator::tgrid::next | ( | const tlevel | level | ) | [virtual] |
Inherited from gui2::iterator::twalker_.
Implements gui2::iterator::twalker_.
Definition at line 28 of file walker_grid.cpp.
gui2::tgrid& gui2::iterator::tgrid::grid_ [private] |
The grid which the walker is attached to.
Definition at line 52 of file walker_grid.hpp.
The iterator to the children of grid_.
This variable is used to track where the gui2::iterator::twalker_::child level visiting is.
Definition at line 68 of file walker_grid.hpp.
gui2::twidget* gui2::iterator::tgrid::widget_ [private] |
The grid which the walker is attached to.
This variable is used to track whether the gui2::iterator::twalker_::widget level has been visited.
Definition at line 60 of file walker_grid.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:10 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |