Drag[en]gine Script Module DragonScript
1.21
|
Public Member Functions | |
BorderSize | getBorderSize () |
Canvas | getCanvas () |
Widget | getWidget () |
void | onGuiThemeChanged () |
void | onWidgetParametersChanged () |
void | resizeCanvas (Point widgetSize) |
void | setWidget (Widget widget) |
Interface for clases knowing how to render borders around arbitrary widgets.
BorderSize Dragengine.Gui.Borders.Border.getBorderSize | ( | ) |
Border size.
Implemented in Dragengine.Gui.Borders.TitledEtchedBorder, Dragengine.Gui.Borders.LineBorder, Dragengine.Gui.Borders.ImageBorder, Dragengine.Gui.Borders.EtchedBorder, Dragengine.Gui.Borders.EmptyBorder, Dragengine.Gui.Borders.DefaultBorder, Dragengine.Gui.Borders.CombinedBorder, Dragengine.Gui.Borders.CanvasCreatorBorder, and Dragengine.Gui.Borders.BevelBorder.
Canvas Dragengine.Gui.Borders.Border.getCanvas | ( | ) |
Canvas to render this border.
Implemented in Dragengine.Gui.Borders.DefaultBorder.
Widget Dragengine.Gui.Borders.Border.getWidget | ( | ) |
Widget the border is assigned to or null if there is none.
Implemented in Dragengine.Gui.Borders.DefaultBorder.
void Dragengine.Gui.Borders.Border.onGuiThemeChanged | ( | ) |
Gui theme of the widget changed.
Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.Border.onWidgetParametersChanged | ( | ) |
Widget parameters changed that potentially affect the decoration.
Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.Border.resizeCanvas | ( | Point | widgetSize | ) |
Resize canvas to fit widget if widget is set.
Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.
void Dragengine.Gui.Borders.Border.setWidget | ( | Widget | widget | ) |
Set widget the border is assigned to or null if there is none.
Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.