Drag[en]gine Script Module DragonScript
1.21
|
Public Member Functions | |
Color | getColorHighlight () |
Color | getColorHilight () |
Color | getColorShadow () |
bool | getRaised () |
TwoColorBorder | new () |
TwoColorBorder | new (bool raised) |
TwoColorBorder | new (bool raised, Color colorHighlight, Color colorShadow) |
TwoColorBorder | new (Color colorHighlight, Color colorShadow) |
void | setColorHighlight (Color color) |
void | setColorHilight (Color color) |
void | setColorShadow (Color color) |
void | setRaised (bool raised) |
Public Member Functions inherited from Dragengine.Gui.Borders.DefaultBorder | |
BorderSize | getBorderSize () |
Canvas | getCanvas () |
CanvasView | getCanvasView () |
Widget | getWidget () |
void | layoutContainer () |
void | onGuiThemeChanged () |
void | onWidgetChanged () |
void | onWidgetParametersChanged () |
void | resizeCanvas (Point widgetSize) |
void | setWidget (Widget widget) |
void | updateCanvas () |
Additional Inherited Members | |
Public Attributes inherited from Dragengine.Gui.Borders.DefaultBorder | |
CanvasView | pCanvas |
Widget | pWidget |
Base class for borders drawn using a highlight and a shadow color which can be raised or lowered.
Color Dragengine.Gui.Borders.TwoColorBorder.getColorHighlight | ( | ) |
Retrieves the highlight color. If null the widget gui theme highlight color is returned.
Color Dragengine.Gui.Borders.TwoColorBorder.getColorHilight | ( | ) |
Color Dragengine.Gui.Borders.TwoColorBorder.getColorShadow | ( | ) |
Retrieves the shadow color. If null the widget gui theme shadow color is returned.
bool Dragengine.Gui.Borders.TwoColorBorder.getRaised | ( | ) |
Determines if the border is raised or lowered.
TwoColorBorder Dragengine.Gui.Borders.TwoColorBorder.new | ( | ) |
Creates a new raised etched border.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
Reimplemented in Dragengine.Gui.Borders.TitledTwoColorBorder, Dragengine.Gui.Borders.TitledEtchedBorder, Dragengine.Gui.Borders.EtchedBorder, and Dragengine.Gui.Borders.BevelBorder.
TwoColorBorder Dragengine.Gui.Borders.TwoColorBorder.new | ( | bool | raised | ) |
Creates a new etched border.
Reimplemented in Dragengine.Gui.Borders.EtchedBorder, and Dragengine.Gui.Borders.BevelBorder.
TwoColorBorder Dragengine.Gui.Borders.TwoColorBorder.new | ( | bool | raised, |
Color | colorHighlight, | ||
Color | colorShadow | ||
) |
Creates a new etched border with the given colors.
Reimplemented in Dragengine.Gui.Borders.EtchedBorder, and Dragengine.Gui.Borders.BevelBorder.
TwoColorBorder Dragengine.Gui.Borders.TwoColorBorder.new | ( | Color | colorHighlight, |
Color | colorShadow | ||
) |
Creates a new raised etched border with the given colors.
Reimplemented in Dragengine.Gui.Borders.EtchedBorder, and Dragengine.Gui.Borders.BevelBorder.
void Dragengine.Gui.Borders.TwoColorBorder.setColorHighlight | ( | Color | color | ) |
Sets the highlight color or null to not draw.
void Dragengine.Gui.Borders.TwoColorBorder.setColorHilight | ( | Color | color | ) |
void Dragengine.Gui.Borders.TwoColorBorder.setColorShadow | ( | Color | color | ) |
Sets the shadow color or null to not draw.
void Dragengine.Gui.Borders.TwoColorBorder.setRaised | ( | bool | raised | ) |
Sets if the border is raised or lowered.