- clearCrosspointsvoid clearCrosspoints() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- containsPointbool containsPoint(int x, int y) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- drawKnobvoid drawKnob(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, box2i[] dirtyRects) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- drawTrailvoid drawTrail(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, box2i[] dirtyRects) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getBaseAnglefloat getBaseAngle() 
- Max angle of the trail, fit for aaFillSector. 
- getCentervec2f getCenter() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getMaxAnglefloat getMaxAngle() 
- Min angle of the trail, fit for aaFillSector. 
- getMinAnglefloat getMinAngle() 
- Min angle of the trail, fit for aaFillSector. 
- getRadiusfloat getRadius() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getSubsquarebox2i getSubsquare() 
- getValueAnglefloat getValueAngle() 
- Angle of the trail, fit for aaFillSector. 
- onAnimatevoid onAnimate(double dt, double time) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onBeginDragvoid onBeginDrag() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onBeginParameterEditvoid onBeginParameterEdit(Parameter sender) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onBeginParameterHovervoid onBeginParameterHover(Parameter sender) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onDrawPBRvoid onDrawPBR(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, box2i[] dirtyRects) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onEndParameterEditvoid onEndParameterEdit(Parameter sender) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onEndParameterHovervoid onEndParameterHover(Parameter sender) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onMouseClickClick onMouseClick(int x, int y, int button, bool isDoubleClick, MouseState mstate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onMouseDragvoid onMouseDrag(int x, int y, int dx, int dy, MouseState mstate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onMouseEntervoid onMouseEnter() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onMouseExitvoid onMouseExit() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onMouseMovevoid onMouseMove(int x, int y, int dx, int dy, MouseState mstate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onParameterChangedvoid onParameterChanged(Parameter sender) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- onStopDragvoid onStopDrag() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- roundParamValuedouble roundParamValue(double normalizedValue, MouseState mstate) 
- Override this to round the parameter normalized value to some particular values.
 For example for a special drag movement with right-click or control-click.
 Default does nothing. 
- ~this~this() 
- Destroy a UIElement.
        Normally this happens naturally, since each widget
        owns its children. 
- positionbox2i position() 
- Get widget position in the window (absolute). 
- positionvoid position(box2i p) 
- void position(box2f p) 
- Set widget position in the window (absolute). 
- contextUIContext context() 
- Get the UI context, which is an additional API for
        widgets to use (though quite a bit of methods are
        internals there). 
- parentUIElement parent() 
- Get parent widget, if any. 
- topLevelParentUIElement topLevelParent() 
- Get top-level parent, if any. 
- childUIElement child(int n) 
- addChildvoid addChild(UIElement element) 
- Add a UIElement as child to another. 
- removeChildvoid removeChild(UIElement element) 
- Removes a child from its parent.
       Useful for creating dynamic UI's. 
- setDirtyWholevoid setDirtyWhole(UILayer layer) 
- Mark this element as "dirty" on its whole position. 
- setDirtyvoid setDirty(box2i rect, UILayer layer) 
- Mark a sub-part of the element "dirty". 
- isVisiblebool isVisible() 
- A widget is "visible" when it has a true visibility
        flag, and its parent is itself visible. 
- visibilitybool visibility() 
- Get visibility flag of the widget. 
- visibilityvoid visibility(bool visible) 
- Change visibility flag of the widget. Show or hide
        all children of this UIElement, regardless of
        their position on screen, invalidating their
        graphics if need be (much like a position change). 
- zOrderint zOrder() 
- void zOrder(int zOrder) 
- Set/get widget Z-order (default = 0). 
- setZOrderalias setZOrder = zOrder 
- Undocumented in source. 
- setIdvoid setId(const(char)[] identifier) 
- idvoid id(const(char)[] identifier) 
- getIdconst(char)[] getId() 
- idconst(char)[] id() 
- hasIdbool hasId() 
- Has this widget an identifier? 
- getElementByIdUIElement getElementById(const(char)* id) 
- Search subtree for an UIElement with ID id.
         Undefined Behaviour if ID are not unique. 
- reflowvoid reflow() 
- The .reflow() callback is called whenver the
        .position of a widget changes. 
- isMouseOverbool isMouseOver() 
- isDraggedbool isDragged() 
- isFocusedbool isFocused() 
- Widget has keyboard focused? (last clicked) 
- drawsToPBRbool drawsToPBR() 
- Widget draws on the PBR layer? 
- drawsToRawbool drawsToRaw() 
- Widget draws on the Raw layer? 
- isAnimatedbool isAnimated() 
- Is widget animated? (onAnimate called) 
- isDrawAloneRawbool isDrawAloneRaw() 
- Should widget be drawn alone in Raw layer? 
- isDrawAlonePBRbool isDrawAlonePBR() 
- Should widget be drawn alone in PBR layer? 
- cursorWhenDraggedMouseCursor cursorWhenDragged() 
- setCursorWhenDraggedvoid setCursorWhenDragged(MouseCursor mouseCursor) 
- cursorWhenMouseOverMouseCursor cursorWhenMouseOver() 
- setCursorWhenMouseOvervoid setCursorWhenMouseOver(MouseCursor mouseCursor) 
- getUserPointervoid* getUserPointer(int pointerID) 
- setUserPointervoid setUserPointer(int pointerID, void* user) 
- Set/Get a user pointer.
        This allow dplug:gui extensions. 
- containsbool contains(int x, int y) 
- Check if given point is considered in the widget,
        for clicks, mouse moves, etc.
        This function is meant to be overridden. 
- onMouseEntervoid onMouseEnter() 
- onMouseExitvoid onMouseExit() 
- Called when mouse enter or exits a widget.
        This function is meant to be overridden. 
- onMouseClickClick onMouseClick(int x, int y, int button, bool isDoubleClick, MouseState mstate) 
- .onMouseClick() is called for every new click. 
- onMouseWheelbool onMouseWheel(int x, int y, int wheelDeltaX, int wheelDeltaY, MouseState mstate) 
- Mouse wheel was turned.
        This function is meant to be overridden. 
- onMouseMovevoid onMouseMove(int x, int y, int dx, int dy, MouseState mstate) 
- Called when the mouse moves over this widget area.
        This function is meant to be overridden. 
- onBeginDragvoid onBeginDrag() 
- onStopDragvoid onStopDrag() 
- Called when a drag operation starts or ends.
        This function is meant to be overridden. 
- onMouseDragvoid onMouseDrag(int x, int y, int dx, int dy, MouseState mstate) 
- Called when the mouse moves while dragging this
        widget. 
- onFocusEntervoid onFocusEnter() 
- Called when this widget is clicked and get the
         "focus" (ie. meaning the keyboard focus).
         This function is meant to be overridden. 
- onFocusExitvoid onFocusExit() 
- This widget lost the keyboard focus.
        This function is meant to be overridden. 
- onKeyDownbool onKeyDown(Key key) 
- onKeyUpbool onKeyUp(Key key) 
- Called when a key is pressed/released.
        Functiosn meant to be overridden. 
- onDrawRawvoid onDrawRaw(ImageRef!RGBA rawMap, box2i[] dirtyRects) 
- Raw layer draw method.
        This function is meant to be overridden. 
- onDrawPBRvoid onDrawPBR(ImageRef!RGBA diffuse, ImageRef!L16 depth, ImageRef!RGBA material, box2i[] dirtyRects) 
- PBR layer draw method.
        This function is meant to be overridden. 
- onAnimatevoid onAnimate(double dt, double time) 
- Called periodically for every UIElement that has
        flagAnimated.
        Override this to create animations. 
- renderRawvoid renderRaw(ImageRef!RGBA rawMap, box2i[] areasToUpdate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- renderPBRvoid renderPBR(ImageRef!RGBA diffuse, ImageRef!L16 depth, ImageRef!RGBA material, box2i[] areasToUpdate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mouseClickbool mouseClick(int x, int y, int button, bool isDoubleClick, MouseState mstate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mouseReleasevoid mouseRelease(int x, int y, int button, MouseState mstate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mouseWheelbool mouseWheel(int x, int y, int wheelDeltaX, int wheelDeltaY, MouseState mstate) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mouseMovebool mouseMove(int x, int y, int dx, int dy, MouseState mstate, bool alreadyFoundMouseOver) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- keyDownbool keyDown(Key key) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- keyUpbool keyUp(Key key) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- animatevoid animate(double dt, double time) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getDrawListsvoid getDrawLists(Vec!UIElement listRaw, Vec!UIElement listPBR) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- _parentUIElement _parent; 
- Undocumented in source. 
- _positionbox2i _position; 
- Undocumented in source. 
- _childrenVec!UIElement _children; 
- Undocumented in source. 
- _flagsimmutable(uint) _flags; 
- Undocumented in source. 
- _zOrderint _zOrder; 
- Undocumented in source.