|
API Documentation
|
|
|
11 class CursorManager final :
public nkCommon::MaybeSingletonClass<CursorManager>
System * getSystem() const
void setActiveCursor(Cursor *cursor)
Cursor * getByIndex(unsigned int index) const
Cursor * createOrRetrieve(nkMemory::StringView name)
Cursor * get(nkMemory::StringView name) const
The main system of the component.
Definition: System.h:18
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Manages the recorded cursors living in the component.
Definition: CursorManager.h:12
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
Cursor * record(nkMemory::StringView name, nkMemory::UniquePtr< Cursor > resource)
void rename(nkMemory::StringView currentName, nkMemory::StringView newName)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkMemory::UniquePtr< Cursor > relinquish(nkMemory::StringView name)
WIP.
Definition: Cursor.h:12
void erase(nkMemory::StringView name)