Drag[en]gine Script Module DragonScript
1.23
|
Bevelled border around a window with subtle 3D effect and caption. More...
Public Member Functions | |
Decoration.Area | areaHitBy (Point position) |
Test which part of the decoration is hit if any. More... | |
BorderSize | getBorderSize () |
Border size. More... | |
SimpleDecoration | new () |
Create decoration. More... | |
void | updateCanvas () |
Public Member Functions inherited from Dragengine.Gui.Decorations.DefaultDecoration | |
Color | getActiveTitleColor () |
Color of active window title. More... | |
Font | getActiveTitleFont () |
Font for active window title. More... | |
bool | getButtonCloseHover () |
Close button hover state. More... | |
bool | getButtonClosePressed () |
Close button pressed state. More... | |
bool | getButtonMaximizeHover () |
Maximize button hover state. More... | |
bool | getButtonMaximizePressed () |
Maximize button pressed state. More... | |
bool | getButtonMinimizeHover () |
Minimize button hover state. More... | |
bool | getButtonMinimizePressed () |
Minimize button pressed state. More... | |
Canvas | getCanvas () |
Canvas to render this border. More... | |
CanvasView | getCanvasView () |
Canvas to render this border. More... | |
Color | getInactiveTitleColor () |
Color of the inactive window title. More... | |
Font | getInactiveTitleFont () |
Font for inactive window title. More... | |
Color | getTitleColor () |
Title color matching state. More... | |
Font | getTitleFont () |
Title font matching state. More... | |
Window | getWindow () |
Window the decoration is assigned to or null if there is none. More... | |
void | onButtonStateChanged () |
One or more button states changed. More... | |
void | onWindowChanged () |
Window changed. More... | |
void | onWindowParametersChanged () |
Window parameters changed. More... | |
void | resizeCanvas () |
Resize canvas to fit widget. More... | |
void | setActiveTitleColor (Color color) |
Set color of the active window title. More... | |
void | setActiveTitleFont (Font font) |
Set font for active window title. More... | |
void | setButtonState (Decoration.Button button, bool hover, bool pressed) |
Set button state. More... | |
void | setInactiveTitleColor (Color color) |
Set color of the inactive window title. More... | |
void | setInactiveTitleFont (Font font) |
Set font for inactive window title. More... | |
void | setWindow (Window window) |
Set window the decoration is assigned to or null if there is none. More... | |
Public Member Functions inherited from Dragengine.Gui.Decorations.Decoration | |
void | setButtonState (Button button, bool hover, bool pressed) |
Set button state. More... | |
Bevelled border around a window with subtle 3D effect and caption.
Decoration.Area Dragengine.Gui.Decorations.SimpleDecoration.areaHitBy | ( | Point | position | ) |
Test which part of the decoration is hit if any.
Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.
BorderSize Dragengine.Gui.Decorations.SimpleDecoration.getBorderSize | ( | ) |
Border size.
Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.
SimpleDecoration Dragengine.Gui.Decorations.SimpleDecoration.new | ( | ) |
Create decoration.
Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.
void Dragengine.Gui.Decorations.SimpleDecoration.updateCanvas | ( | ) |
Update canvas.
Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.