AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
declarative::Style Struct Reference

Extra styles wrapper. More...

#include <AUI/Util/Declarative.h>

Public Member Functions

 Style (std::initializer_list< Rule > rules)
 
Styleoperator() (AVector< _< AView > > views)
 
 operator AVector< _< AView > > () noexcept
 

Detailed Description

Extra styles wrapper.

Button { "Default button" },
{
c(".btn"),
BackgroundSolid { 0xff0000_rgb },
},
} ({
Button { "Red button" },
Button { "Another red button" },
}),
class_of c
Selects views that are of the specified classes.
Definition class_of.h:84
Represents solid (single color) background.
Definition BackgroundSolid.h:26
Definition AButton.h:66
Extra styles wrapper.
Definition Declarative.h:213

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