dplug.gui.element

UIElement is the base class of all widgets.

Public Imports

dplug.math.vector
public import dplug.math.vector;
Undocumented in source.
dplug.math.box
public import dplug.math.box;
Undocumented in source.
dplug.graphics
public import dplug.graphics;
Undocumented in source.
dplug.window.window
public import dplug.window.window;
Undocumented in source.
dplug.core.sync
public import dplug.core.sync;
Undocumented in source.
dplug.core.vec
public import dplug.core.vec;
Undocumented in source.
dplug.core.nogc
public import dplug.core.nogc;
Undocumented in source.
dplug.gui.boxlist
public import dplug.gui.boxlist;
Undocumented in source.
dplug.gui.context
public import dplug.gui.context;
Undocumented in source.

Members

Aliases

UIFlags
alias UIFlags = uint

Each UIElement class has flags which are used to lessen the number of empty virtual calls. Such flags say which callbacks the UIElement need.

Classes

UIElement
class UIElement

Base class of the UI widget hierarchy.

Enums

Click
enum Click

Result of onMouseClick, was the mouse click handled?

UILayer
enum UILayer

Used by setDirty calls to figure which layer should be invalidated.

flagRaw
anonymousenum flagRaw
Undocumented in source.

Manifest constants

UIELEMENT_POINTERID_WREN_EXPORTED_CLASS
enum UIELEMENT_POINTERID_WREN_EXPORTED_CLASS;

The cached Wren class of this UIElement.

UIELEMENT_POINTERID_WREN_VM_GENERATION
enum UIELEMENT_POINTERID_WREN_VM_GENERATION;

The Wren VM count, as it is restarted. Stored as void*, but is an uint.

maxUIElementIDLength
enum maxUIElementIDLength;

The maximum length for an UIElement ID.

Static functions

isValidElementID
bool isValidElementID(const(char)[] identifier)

Variables

defaultDepth
enum ushort defaultDepth;

Reasonable default value for the Depth channel.

defaultMetalnessDielectric
enum ubyte defaultMetalnessDielectric;

Reasonable dielectric default value for the Metalness channel.

defaultMetalnessMetal
enum ubyte defaultMetalnessMetal;

Reasonable metal default value for the Metalness channel.

defaultRoughness
enum ubyte defaultRoughness;

Reasonable default value for the Roughness channel.

defaultSpecular
enum ubyte defaultSpecular;

Reasonable default value for the Specular channel ("everything is shiny").

Meta

Authors

Guillaume Piolat