OpenTTD Source
20241121-master-g67a0fccfad
|
Iterator to iterate all valid Windows. More...
#include <window_gui.h>
Public Types | |
typedef Window * | value_type |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef size_t | difference_type |
typedef std::forward_iterator_tag | iterator_category |
Public Member Functions | |
WindowIterator (WindowList::iterator start) | |
WindowIterator (const Window *w) | |
bool | operator== (const WindowIterator &other) const |
bool | operator!= (const WindowIterator &other) const |
Window * | operator* () const |
WindowIterator & | operator++ () |
bool | IsEnd () const |
Private Member Functions | |
void | Validate () |
void | Next () |
Private Attributes | |
WindowList::iterator | it |
Iterator to iterate all valid Windows.
TtoBack | whether we iterate towards the back. |
Definition at line 868 of file window_gui.h.