Drag[en]gine Script Module DragonScript
1.21
|
Base class for titled borders. More...
Public Member Functions | |
Font | getFont () |
Font or widget font if not set. More... | |
Color | getFontColor () |
String | getText () |
Text or widget title if not set. More... | |
Color | getTextColor () |
Text color or widget text color if not set. More... | |
Point | getTextSize () |
Text size. More... | |
TitledTwoColorBorder | new () |
Create titled two color border. More... | |
TitledTwoColorBorder | new (String text) |
void | setFont (Font font) |
Set font or null to use widget font. More... | |
void | setText (String text) |
Set text. More... | |
void | setTextColor (Color color) |
Set text color or null to use widget text color. More... | |
Public Member Functions inherited from Dragengine.Gui.Borders.TwoColorBorder | |
Color | getColorHighlight () |
Color | getColorHilight () |
Color | getColorShadow () |
bool | getRaised () |
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 () |
Public Attributes | |
Font | pFont |
String | pText |
Color | pTextColor |
Public Attributes inherited from Dragengine.Gui.Borders.DefaultBorder | |
CanvasView | pCanvas |
Widget | pWidget |
Base class for titled borders.
Drawn using a highlight and a shadow color which can be raised or lowered.
Color Dragengine.Gui.Borders.TitledTwoColorBorder.getFontColor | ( | ) |
String Dragengine.Gui.Borders.TitledTwoColorBorder.getText | ( | ) |
Text or widget title if not set.
Color Dragengine.Gui.Borders.TitledTwoColorBorder.getTextColor | ( | ) |
Text color or widget text color if not set.
Point Dragengine.Gui.Borders.TitledTwoColorBorder.getTextSize | ( | ) |
Text size.
TitledTwoColorBorder Dragengine.Gui.Borders.TitledTwoColorBorder.new | ( | ) |
Create titled two color border.
Reimplemented from Dragengine.Gui.Borders.TwoColorBorder.
Reimplemented in Dragengine.Gui.Borders.TitledEtchedBorder.
TitledTwoColorBorder Dragengine.Gui.Borders.TitledTwoColorBorder.new | ( | String | text | ) |
Reimplemented in Dragengine.Gui.Borders.TitledEtchedBorder.
void Dragengine.Gui.Borders.TitledTwoColorBorder.setFont | ( | Font | font | ) |
Set font or null to use widget font.
void Dragengine.Gui.Borders.TitledTwoColorBorder.setText | ( | String | text | ) |
Set text.
void Dragengine.Gui.Borders.TitledTwoColorBorder.setTextColor | ( | Color | color | ) |
Set text color or null to use widget text color.
Font Dragengine.Gui.Borders.TitledTwoColorBorder.pFont |
String Dragengine.Gui.Borders.TitledTwoColorBorder.pText |
Color Dragengine.Gui.Borders.TitledTwoColorBorder.pTextColor |