Drag[en]gine Script Module DragonScript Script API  1.0
Border Interface Reference
Inheritance diagram for Border:
DefaultBorder CanvasCreatorBorder EmptyBorder ImageBorder LineBorder TwoColorBorder BevelBorder EtchedBorder TitledTwoColorBorder ButtonBorder TitledEtchedBorder

Public Member Functions

BorderSize getBorderSize ()
 
Canvas getCanvas ()
 
Widget getWidget ()
 
void onGuiThemeChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas ()
 
void setWidget (Widget widget)
 

Detailed Description

Interface for clases knowing how to render borders around arbitrary widgets.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

Canvas getCanvas ( )

Canvas to render this border.

Implemented in DefaultBorder.

Widget getWidget ( )

Widget the border is assigned to or null if there is none.

Implemented in DefaultBorder.

void onGuiThemeChanged ( )

Gui theme of the widget changed.

Implemented in DefaultBorder.

void onWidgetParametersChanged ( )

Widget parameters changed that potentially affect the decoration.

Implemented in DefaultBorder, and ButtonBorder.

void resizeCanvas ( )

Resize canvas to fit widget if widget is set.

Implemented in DefaultBorder.

void setWidget ( Widget  widget)

Set widget the border is assigned to or null if there is none.

Implemented in DefaultBorder.


The documentation for this interface was generated from the following file: