Drag[en]gine Script Module DragonScript Script API  1.0
ButtonBorder Class Reference
Inheritance diagram for ButtonBorder:
BevelBorder TwoColorBorder DefaultBorder Border

Public Member Functions

BorderSize getBorderSize ()
 
ButtonBorder new ()
 
ButtonBorder new (Color colorHilight, Color colorShadow)
 
void onWidgetParametersChanged ()
 
- Public Member Functions inherited from BevelBorder
BorderSize getBorderSize ()
 
BevelBorder new ()
 
BevelBorder new (Color colorHilight, Color colorShadow)
 
BevelBorder new (bool raised)
 
BevelBorder new (bool raised, Color colorHilight, Color colorShadow)
 
void updateCanvas ()
 
- Public Member Functions inherited from TwoColorBorder
Color getColorHilight ()
 
Color getColorShadow ()
 
bool getRaised ()
 
TwoColorBorder new ()
 
TwoColorBorder new (Color colorHilight, Color colorShadow)
 
TwoColorBorder new (bool raised)
 
TwoColorBorder new (bool raised, Color colorHilight, Color colorShadow)
 
void setColorHilight (Color color)
 
void setColorShadow (Color color)
 
void setRaised (bool raised)
 
- Public Member Functions inherited from DefaultBorder
BorderSize getBorderSize ()
 
Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Widget getWidget ()
 
void layoutContainer ()
 
DefaultBorder new ()
 
void onGuiThemeChanged ()
 
void onWidgetChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas ()
 
void setWidget (Widget widget)
 
void updateCanvas ()
 

Detailed Description

Bevelled border around a Button widget. Adjust raised parameter to match button pressed parameter.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ getBorderSize()

BorderSize getBorderSize ( )

Border size.

Implements Border.

§ new() [1/2]

ButtonBorder new ( )

Create button border.

§ new() [2/2]

ButtonBorder new ( Color  colorHilight,
Color  colorShadow 
)

Create button border.

§ onWidgetParametersChanged()

void onWidgetParametersChanged ( )

Widget parameters changed.

Implements Border.


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