Drag[en]gine Script Module DragonScript
1.23
|
Combine two borders into one. More...
Public Member Functions | |
BorderSize | getBorderSize () |
Border size. More... | |
Border | getInnerBorder () |
Inner border or null. More... | |
Border | getOuterBorder () |
Outer border or null. More... | |
CombinedBorder | new () |
Create border. More... | |
CombinedBorder | new (Border innerBorder, Border outerBorder) |
Create border. More... | |
void | onGuiThemeChanged () |
Gui theme of widget changed. More... | |
void | onWidgetParametersChanged () |
Widget parameters changed. More... | |
void | resizeCanvas (Point widgetSize) |
Resize canvas to fit widget if widget is set. More... | |
void | setInnerBorder (Border border) |
Set inner border or null. More... | |
void | setOuterBorder (Border border) |
Set outer border or null. More... | |
void | setWidget (Widget widget) |
Set widget the border is assigned to or null. More... | |
void | updateCanvas () |
Update canvas. More... | |
Public Member Functions inherited from Dragengine.Gui.Borders.DefaultBorder | |
Canvas | getCanvas () |
CanvasView | getCanvasView () |
Widget | getWidget () |
void | layoutContainer () |
void | onWidgetChanged () |
Additional Inherited Members | |
Public Attributes inherited from Dragengine.Gui.Borders.DefaultBorder | |
CanvasView | pCanvas |
Widget | pWidget |
Combine two borders into one.
Borders are called "inner" and "outer" border with outer border layered ontop of inner border.
BorderSize Dragengine.Gui.Borders.CombinedBorder.getBorderSize | ( | ) |
Border size.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
Border Dragengine.Gui.Borders.CombinedBorder.getInnerBorder | ( | ) |
Inner border or null.
Border Dragengine.Gui.Borders.CombinedBorder.getOuterBorder | ( | ) |
Outer border or null.
CombinedBorder Dragengine.Gui.Borders.CombinedBorder.new | ( | ) |
Create border.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
CombinedBorder Dragengine.Gui.Borders.CombinedBorder.new | ( | Border | innerBorder, |
Border | outerBorder | ||
) |
Create border.
void Dragengine.Gui.Borders.CombinedBorder.onGuiThemeChanged | ( | ) |
Gui theme of widget changed.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
void Dragengine.Gui.Borders.CombinedBorder.onWidgetParametersChanged | ( | ) |
Widget parameters changed.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
void Dragengine.Gui.Borders.CombinedBorder.resizeCanvas | ( | Point | widgetSize | ) |
Resize canvas to fit widget if widget is set.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
void Dragengine.Gui.Borders.CombinedBorder.setInnerBorder | ( | Border | border | ) |
Set inner border or null.
void Dragengine.Gui.Borders.CombinedBorder.setOuterBorder | ( | Border | border | ) |
Set outer border or null.
void Dragengine.Gui.Borders.CombinedBorder.setWidget | ( | Widget | widget | ) |
Set widget the border is assigned to or null.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
void Dragengine.Gui.Borders.CombinedBorder.updateCanvas | ( | ) |
Update canvas.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.