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

Exported Modules

module  cydui.components.base
 
module  cydui.components.anchors
 
module  cydui.components.event_dispatcher
 

Classes

struct  cydui::components::component_t< T >
 

Functions

 component_t (identifier_t identifier={})
 
 ~component_t () override
 
attrs_componentattrs () final
 
std::string name () const final
 
component_base_tfind_by_coords (dimension_t::value_type x, dimension_t::value_type y) final
 
component_dimensional_relations_t get_dimensional_relations () final
 
std::shared_ptr< dimension_ctx_tget_dimensional_context () final
 
const refl::type_info & get_style_type_info () const final
 
T & tag (const std::unordered_set< std::string > &tags)
 
T & tag (const std::string &tag_)
 
T & untag (const std::unordered_set< std::string > &tags)
 
T & untag (const std::string &tag_)
 
T & set_id (const std::string &id_)
 
template<typename Fun>
void set_style_transform (Fun &&transform_func)
 
void clear_style_transform ()
 

Variables

template<typename, typename = void>
constexpr bool is_type_complete_v = false
 
template<typename T>
constexpr bool is_type_complete_v< T, std::void_t< decltype(sizeof(T))> > = true
 

Files

file  include/cyd_ui/components/component.cppm
 
file  include/cyd_ui/components/component_types.cppm