|
API Documentation
|
|
|
13 class ThemeManager final :
public nkCommon::MaybeSingletonClass<ThemeManager>
nkMemory::UniquePtr< Theme > relinquish(nkMemory::StringView name)
System * getSystem() const
Theme * record(nkMemory::StringView name, nkMemory::UniquePtr< Theme > resource)
Theme * getActiveTheme() const
void setActiveTheme(Theme *theme)
The main system of the component.
Definition: System.h:18
Theme * createOrRetrieve(nkMemory::StringView name)
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Theme * getByIndex(unsigned int index) const
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
A theme used to style the windows in the component.
Definition: Theme.h:44
void rename(nkMemory::StringView currentName, nkMemory::StringView newName)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
void erase(nkMemory::StringView name)
Theme * get(nkMemory::StringView name) const
Manages the themes within the component.
Definition: ThemeManager.h:14