Drag[en]gine Script Module DragonScript
1.23
|
Does not arrange nor resize widgets. More...
Public Member Functions | |
void | addWidget (Widget widget, Object settings) |
Add widget to layout using settings. More... | |
void | doLayout (Container container) |
Layout widgets in container. More... | |
Point | getMinimumSize (Container container) |
Minimal size required for layout in container. More... | |
Point | getMinimumSizeForHeight (Container container, int height) |
Minimum size of layout using reference widget height and variable width. More... | |
Point | getMinimumSizeForWidth (Container container, int width) |
Minimum size of layout using reference width and variable height. More... | |
FixedLayout | new () |
Creat layout. More... | |
void | removeWidget (Widget widget) |
Remove widget from layout. More... | |
Does not arrange nor resize widgets.
Instances of this layout can be shared by multiple widgets.
void Dragengine.Gui.Layouts.FixedLayout.addWidget | ( | Widget | widget, |
Object | settings | ||
) |
Add widget to layout using settings.
widget | Widget to add to layout. |
settings | Settings for widget. Can be null. |
Implements Dragengine.Gui.Layout.
void Dragengine.Gui.Layouts.FixedLayout.doLayout | ( | Container | container | ) |
Layout widgets in container.
Implements Dragengine.Gui.Layout.
Reimplemented in Dragengine.Gui.Layouts.ViewportLayout, and Dragengine.Gui.Layouts.FixedMinimalLayout.
Minimal size required for layout in container.
Implements Dragengine.Gui.Layout.
Reimplemented in Dragengine.Gui.Layouts.FixedMinimalLayout.
Point Dragengine.Gui.Layouts.FixedLayout.getMinimumSizeForHeight | ( | Container | container, |
int | height | ||
) |
Minimum size of layout using reference widget height and variable width.
Implements Dragengine.Gui.Layout.
Reimplemented in Dragengine.Gui.Layouts.FixedMinimalLayout.
Minimum size of layout using reference width and variable height.
Implements Dragengine.Gui.Layout.
Reimplemented in Dragengine.Gui.Layouts.FixedMinimalLayout.
FixedLayout Dragengine.Gui.Layouts.FixedLayout.new | ( | ) |
Creat layout.
Reimplemented in Dragengine.Gui.Layouts.ViewportLayout, and Dragengine.Gui.Layouts.FixedMinimalLayout.
void Dragengine.Gui.Layouts.FixedLayout.removeWidget | ( | Widget | widget | ) |
Remove widget from layout.
Implements Dragengine.Gui.Layout.