Helper to implement private functions without modifying the header. More...
Static Public Member Functions | |
template<class W > | |
static utils::tconst_clone < twidget, W >::pointer | find_at (W viewport, tpoint coordinate, const bool must_be_active) |
Implementation for the wrappers for [const] twidget* tpane::find_at(const tpoint&, const bool) [const]. More... | |
template<class W > | |
static utils::tconst_clone < twidget, W >::pointer | find (W viewport, const std::string &id, const bool must_be_active) |
Helper to implement private functions without modifying the header.
The class is a helper to avoid recompilation and only has static functions. It also facilitates to create duplicates of functions for a const and a non-const member function.
Definition at line 38 of file viewport.cpp.
|
inlinestatic |
Definition at line 70 of file viewport.cpp.
Referenced by gui2::tviewport::find().
|
inlinestatic |
Implementation for the wrappers for [const] twidget* tpane::find_at(const tpoint&, const bool) [const].
W | A pointer to the pane. |
Definition at line 48 of file viewport.cpp.
References gui2::tpoint::x, and gui2::tpoint::y.
Referenced by gui2::tviewport::find_at().