Drag[en]gine Script Module DragonScript
1.23
|
Public Member Functions | |
BorderSize | getBorderSize () |
Canvas | getCanvas () |
CanvasView | getCanvasView () |
Widget | getWidget () |
void | layoutContainer () |
DefaultBorder | new () |
void | onGuiThemeChanged () |
void | onWidgetChanged () |
void | onWidgetParametersChanged () |
void | resizeCanvas (Point widgetSize) |
void | setWidget (Widget widget) |
void | updateCanvas () |
Public Attributes | |
CanvasView | pCanvas |
Widget | pWidget |
Default border implementation drawing nothing at all.
BorderSize Dragengine.Gui.Borders.DefaultBorder.getBorderSize | ( | ) |
Border size.
Implements Dragengine.Gui.Borders.Border.
Reimplemented in Dragengine.Gui.Borders.TitledEtchedBorder, Dragengine.Gui.Borders.LineBorder, Dragengine.Gui.Borders.ImageBorder, Dragengine.Gui.Borders.EtchedBorder, Dragengine.Gui.Borders.EmptyBorder, Dragengine.Gui.Borders.CombinedBorder, Dragengine.Gui.Borders.CanvasCreatorBorder, and Dragengine.Gui.Borders.BevelBorder.
Canvas Dragengine.Gui.Borders.DefaultBorder.getCanvas | ( | ) |
Canvas to render this border.
Implements Dragengine.Gui.Borders.Border.
CanvasView Dragengine.Gui.Borders.DefaultBorder.getCanvasView | ( | ) |
Canvas to render this border.
Widget Dragengine.Gui.Borders.DefaultBorder.getWidget | ( | ) |
Widget the border is assigned to or null if there is none.
Implements Dragengine.Gui.Borders.Border.
void Dragengine.Gui.Borders.DefaultBorder.layoutContainer | ( | ) |
Layout widget parent container. Call if parameters of the border changed in a way the border size is affected.
DefaultBorder Dragengine.Gui.Borders.DefaultBorder.new | ( | ) |
Creates a new border.
Reimplemented in Dragengine.Gui.Borders.TwoColorBorder, Dragengine.Gui.Borders.TitledTwoColorBorder, Dragengine.Gui.Borders.TitledEtchedBorder, Dragengine.Gui.Borders.LineBorder, Dragengine.Gui.Borders.ImageBorder, Dragengine.Gui.Borders.EtchedBorder, Dragengine.Gui.Borders.EmptyBorder, Dragengine.Gui.Borders.CombinedBorder, Dragengine.Gui.Borders.CanvasCreatorBorder, and Dragengine.Gui.Borders.BevelBorder.
void Dragengine.Gui.Borders.DefaultBorder.onGuiThemeChanged | ( | ) |
Gui theme of the widget changed.
Implements Dragengine.Gui.Borders.Border.
Reimplemented in Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.DefaultBorder.onWidgetChanged | ( | ) |
Widget changed.
void Dragengine.Gui.Borders.DefaultBorder.onWidgetParametersChanged | ( | ) |
Widget parameters changed.
Implements Dragengine.Gui.Borders.Border.
Reimplemented in Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.DefaultBorder.resizeCanvas | ( | Point | widgetSize | ) |
Resize canvas to fit widget if widget is set.
Implements Dragengine.Gui.Borders.Border.
Reimplemented in Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.DefaultBorder.setWidget | ( | Widget | widget | ) |
Set widget the border is assigned to or null if there is none.
Implements Dragengine.Gui.Borders.Border.
Reimplemented in Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.DefaultBorder.updateCanvas | ( | ) |
Update canvas. Overwrite to create canvas content.
Reimplemented in Dragengine.Gui.Borders.TitledEtchedBorder, Dragengine.Gui.Borders.LineBorder, Dragengine.Gui.Borders.ImageBorder, Dragengine.Gui.Borders.EtchedBorder, Dragengine.Gui.Borders.CombinedBorder, Dragengine.Gui.Borders.CanvasCreatorBorder, and Dragengine.Gui.Borders.BevelBorder.
CanvasView Dragengine.Gui.Borders.DefaultBorder.pCanvas |
Widget Dragengine.Gui.Borders.DefaultBorder.pWidget |