ScrollPanelWidget.CustomPanelWidget

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

draw
void draw(Window w, ColorSet parent)
Undocumented in source. Be warned that the author may not have intended to support it.
drawChildren
void drawChildren(Window w)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseScroll
bool handleMouseScroll(vec2 amount, vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
layout
vec2 layout(vec2 pos, vec2 size)
Undocumented in source. Be warned that the author may not have intended to support it.
setScroll
void setScroll(float len)
Undocumented in source. Be warned that the author may not have intended to support it.
updatePageSize
void updatePageSize()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_scroll
float _scroll;
Undocumented in source.
size
vec2 size;
Undocumented in source.

Inherited Members

From PanelWidget

_children
Widget[] _children;
Undocumented in source.
children
Widget[] children [@property getter]
addChild
Widget addChild(Widget child)

Adds the child.

swapChild
void swapChild(Widget c1, Widget c2)

Swaps the children.

removeAllChildren
void removeAllChildren()

Removes all children.

removeChild
void removeChild(Widget child)

Removes the child.

DisableModifyChildren
template DisableModifyChildren()
Undocumented in source.
trackable
bool trackable [@property getter]
focusable
bool focusable [@property getter]

Meta