CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui::provide_context_delegate Struct Reference

Static Public Member Functions

template<typename ContextType>
static void set_state (provide_context< ContextType > *it, const components::component_state_ref &state)
 
template<typename ContextType>
static void set_context (provide_context< ContextType > *it, const std::shared_ptr< ContextType > &ctx)
 

Detailed Description

Definition at line 236 of file component_contexts.cppm.

Member Function Documentation

◆ set_context()

template<typename ContextType>
static void cydui::provide_context_delegate::set_context ( provide_context< ContextType > * it,
const std::shared_ptr< ContextType > & ctx )
inlinestatic

Definition at line 244 of file component_contexts.cppm.

◆ set_state()

template<typename ContextType>
static void cydui::provide_context_delegate::set_state ( provide_context< ContextType > * it,
const components::component_state_ref & state )
inlinestatic

Definition at line 239 of file component_contexts.cppm.


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