CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui::StyleArchive Class Referenceexport

Public Types

using sptr = std::shared_ptr<StyleArchive>
 

Public Member Functions

void add_stylesheet (const StyleSheet::sptr &sheet)
 
void for_each_rule (const std::string &component_name, auto &&func) const
 

Static Public Member Functions

static sptr make ()
 

Detailed Description

Definition at line 108 of file stylesheet.cppm.

Member Function Documentation

◆ add_stylesheet()

void cydui::StyleArchive::add_stylesheet ( const StyleSheet::sptr & sheet)
inlineexport

Definition at line 116 of file stylesheet.cppm.

◆ for_each_rule()

void cydui::StyleArchive::for_each_rule ( const std::string & component_name,
auto && func ) const
inlineexport

Definition at line 120 of file stylesheet.cppm.

+ Here is the caller graph for this function:

◆ make()

static sptr cydui::StyleArchive::make ( )
inlinestaticexport

Definition at line 112 of file stylesheet.cppm.


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