|
API Documentation
|
|
|
11 class ImageManager final :
public nkCommon::MaybeSingletonClass<ImageManager>
Abstracts an image to be used within the component.
Definition: Image.h:12
nkMemory::UniquePtr< Image > relinquish(nkMemory::StringView name)
Image * record(nkMemory::StringView name, nkMemory::UniquePtr< Image > resource)
The main system of the component.
Definition: System.h:18
System * getSystem() const
Image * get(nkMemory::StringView name) const
Image * getByIndex(unsigned int index) const
Manages the images in the component.
Definition: ImageManager.h:12
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
void rename(nkMemory::StringView oldName, nkMemory::StringView newName)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
void erase(nkMemory::StringView name)
Image * createOrRetrieve(nkMemory::StringView name)