KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Editor / KroysPanelDesc

KroysPanelDesc

A dockable panel (editor->RegisterPanel), listed under Window.

Kindstruct
Headerkroys/kroys_plugin.h
Members7
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysPanelDesc { ... } KroysPanelDesc;
REFERENCE

Members

Fields
#uint32_t structSize;

Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.

field
#int32_t openByDefault;

Nonzero: the panel opens when it is registered.

field
#const char* id;

local id; panel id "<plugin id>.<id>"

field
#const char* title;

Window title; null: id.

field
#const char* icon;

Lucide icon name; null: the plug icon.

field
#uint32_t category;

KROYS_PANEL_CATEGORY_*

field
#uint32_t slot;

KROYS_PANEL_SLOT_*

field
Members
uint32_t structSize;
int32_t openByDefault;
const char* id;
const char* title;
const char* icon;
uint32_t category;
uint32_t slot;

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.