UIWindow

Mini-window aka the context for widgets with which you can personalize the widget panel for the theme and move (or not move) such a panel.

Constructors

this
this(Font font, ThemeInfo theme)
Undocumented in source.

Members

Aliases

ActionDraw
alias ActionDraw = void delegate(IRenderer, Vecf) @(safe)
Undocumented in source.

Functions

add
void add(UIWidget widget, Vecf pos)

Adds a widget to the inside of the window.

onDraw
void onDraw(IRenderer render)
Undocumented in source. Be warned that the author may not have intended to support it.
onInput
void onInput(EventHandler event)
Undocumented in source. Be warned that the author may not have intended to support it.
onStep
void onStep()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(uint w, uint h)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

height
uint height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
widgetPosition
Vecf widgetPosition [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
uint width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

background
Color!ubyte background;

The background of the window.

draws
ActionDraw[] draws;

Operations for rendering user data, if the widget does not provide such.

isTitleView
bool isTitleView;

Whether to show the title of the window to handle the movement of the window.

theme
ThemeInfo theme;

Widget theme.

title
string title;

Window title.

titleHeight
uint titleHeight;

The width of the title bar of the window.

Inherited Members

From UIWidget

width
uint width [@property getter]

Available width of the widget.

height
uint height [@property getter]

Available height of the widget.

resize
void resize(uint w, uint h)

Resize the widget.

widgetPosition
Vecf widgetPosition [@property getter]

The relative position of the widget. Serves for relative positioning of the widget relative to another or its own object.

Meta