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

Public Member Functions

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

Base class for borders drawn using a hilight and a shadow color which can be raised or lowered.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ getColorHilight()

Color getColorHilight ( )

Retrieves the hilight color. If null the widget gui theme hilight color is returned.

§ getColorShadow()

Color getColorShadow ( )

Retrieves the shadow color. If null the widget gui theme shadow color is returned.

§ getRaised()

bool getRaised ( )

Determines if the border is raised or lowered.

§ new() [1/4]

TwoColorBorder new ( )

Creates a new raised etched border.

§ new() [2/4]

TwoColorBorder new ( Color  colorHilight,
Color  colorShadow 
)

Creates a new raised etched border with the given colors.

§ new() [3/4]

TwoColorBorder new ( bool  raised)

Creates a new etched border.

§ new() [4/4]

TwoColorBorder new ( bool  raised,
Color  colorHilight,
Color  colorShadow 
)

Creates a new etched border with the given colors.

§ setColorHilight()

void setColorHilight ( Color  color)

Sets the hilight color or null to use the widget gui theme hilight color.

§ setColorShadow()

void setColorShadow ( Color  color)

Sets the shadow color or null to use the widget gui theme shadow color.

§ setRaised()

void setRaised ( bool  raised)

Sets if the border is raised or lowered.


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