UIContext

UIContext contains the "globals" of the UI - current focused element - current dragged element - images and fonts...

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

beginDragging
void beginDragging(UIElement element)
Undocumented in source. Be warned that the author may not have intended to support it.
setFocused
void setFocused(UIElement focused)
Undocumented in source. Be warned that the author may not have intended to support it.
setSkybox
void setSkybox(OwnedImage!RGBA image)
Undocumented in source. Be warned that the author may not have intended to support it.
stopDragging
void stopDragging()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dirtyList
DirtyRectList dirtyList;
Undocumented in source.
dragged
UIElement dragged;

Currently dragged element.

focused
UIElement focused;

Last clicked element.

skybox
Mipmap!RGBA skybox;

UI global image used for environment reflections.

Meta