Union::StyleLoader Class

class Union::StyleLoader

An interface that is used by Style to allow input plugins to load style rules. More...

Header: #include <StyleLoader>
CMake: find_package(Union REQUIRED)
target_link_libraries(mytarget PRIVATE Union::Union)

Public Functions

virtual bool load(std::shared_ptr<Union::Style> theme) = 0

Detailed Description

Member Function Documentation

[pure virtual] bool StyleLoader::load(std::shared_ptr<Union::Style> theme)

Load the style rules for a theme.

theme The theme the rules should be added to.