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

Exported Modules

module  cydui.styling.selectors
 
module  cydui.styling.rules
 

Classes

class  cydui::ast_visitor
 
class  cydui::StyleSheet
 
class  cydui::StyleArchive
 

Typedefs

using sptr = std::shared_ptr<StyleSheet>
 
using sptr = std::shared_ptr<StyleArchive>
 

Functions

template<typename O>
void cydui::print_ast_node (O &o, const fabric::node_t *node, int indent=0)
 
static sptr make ()
 
static sptr parse (auto input)
 
auto & rules_by_component (const std::string &component_name) const
 
auto & any_rules () const
 
static sptr make ()
 
void add_stylesheet (const StyleSheet::sptr &sheet)
 
void for_each_rule (const std::string &component_name, auto &&func) const
 

Files

file  include/cyd_ui/styling/stylesheet.cppm
 !