The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
gui2::tpane_implementation Struct Reference

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 pane, 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
< tgrid, W >::pointer 
grid (W pane, const unsigned id)
 Implementation for the wrappers for [const] tgrid* tpane::grid(const unsigned id) [const]. More...
 

Detailed Description

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 44 of file pane.cpp.

Member Function Documentation

template<class W >
static utils::tconst_clone<twidget, W>::pointer gui2::tpane_implementation::find_at ( pane,
tpoint  coordinate,
const bool  must_be_active 
)
inlinestatic

Implementation for the wrappers for [const] twidget* tpane::find_at(const tpoint&, const bool) [const].

Template Parameters
WA pointer to the pane.

Definition at line 54 of file pane.cpp.

References gui2::twidget::tvisible::invisible, gui2::tpoint::x, and gui2::tpoint::y.

Referenced by gui2::tpane::find_at().

template<class W >
static utils::tconst_clone<tgrid, W>::pointer gui2::tpane_implementation::grid ( pane,
const unsigned  id 
)
inlinestatic

Implementation for the wrappers for [const] tgrid* tpane::grid(const unsigned id) [const].

Template Parameters
WA pointer to the pane.

Definition at line 96 of file pane.cpp.

Referenced by gui2::tpane::grid().


The documentation for this struct was generated from the following file: