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#

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
Button
Specifies button(s) to be displayed.
Definition AMessageBox.h:79
Represents solid (single color) background.
Definition BackgroundSolid.h:26
Definition AButton.h:66
Extra styles wrapper.
Definition Declarative.h:224