Union::ThemeLoader Class

class Union::ThemeLoader

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

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

Public Functions

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

Detailed Description

Member Function Documentation

[pure virtual] bool ThemeLoader::load(std::shared_ptr<Union::Theme> theme)

Load the style rules for a theme.

theme The theme the rules should be added to.