The Battle for Wesnoth  1.19.7+dev
Static Public Member Functions | List of all members
gui2::scrollbar_container_implementation Struct Reference

Helper to implement private functions without modifying the header. More...

#include <scrollbar_container_private.hpp>

Static Public Member Functions

template<class W >
static W * find_at (utils::const_clone_ref< scrollbar_container, W > scrollbar_container, const point &coordinate, const bool must_be_active)
 Implementation for the wrappers for [const] widget* scrollbar_container::find_at( const point&, const bool) [const]. More...
 
template<class W >
static W * find (utils::const_clone_ref< scrollbar_container, W > scrollbar_container, const std::string_view id, const bool must_be_active)
 Implementation for the wrappers for [const] widget* scrollbar_container::find( const std::string&, const bool) [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.

Definition at line 46 of file scrollbar_container_private.hpp.

Member Function Documentation

◆ find()

template<class W >
static W* gui2::scrollbar_container_implementation::find ( utils::const_clone_ref< scrollbar_container, W >  scrollbar_container,
const std::string_view  id,
const bool  must_be_active 
)
inlinestatic

Implementation for the wrappers for [const] widget* scrollbar_container::find( const std::string&, const bool) [const].

Template Parameters
Wwidget or const widget.

Definition at line 86 of file scrollbar_container_private.hpp.

References gui2::scrollbar_container::content_grid_.

◆ find_at()

template<class W >
static W* gui2::scrollbar_container_implementation::find_at ( utils::const_clone_ref< scrollbar_container, W >  scrollbar_container,
const point coordinate,
const bool  must_be_active 
)
inlinestatic

Implementation for the wrappers for [const] widget* scrollbar_container::find_at( const point&, const bool) [const].

Template Parameters
Wwidget or const widget.

Definition at line 57 of file scrollbar_container_private.hpp.

References gui2::scrollbar_container::content_, and gui2::scrollbar_container::content_grid_.


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