Drag[en]gine Script Module DragonScript Script API
1.0
|
Bevelled border around a window with subtle 3D effect and caption. More...
Public Member Functions | |
int | 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 () |
![]() | |
int | areaHitBy (Point position) |
Test which part of the decoration is hit if any. More... | |
Color | getActiveTitleColor () |
Color of active window title. More... | |
Font | getActiveTitleFont () |
Font for active window title. More... | |
BorderSize | getBorderSize () |
Border size. 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... | |
DefaultDecoration | new () |
Create decoration. 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 (int 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... | |
void | updateCanvas () |
Update canvas. More... | |
Bevelled border around a window with subtle 3D effect and caption.
int areaHitBy | ( | Point | position | ) |
Test which part of the decoration is hit if any.
Implements Decoration.
BorderSize getBorderSize | ( | ) |
Border size.
Implements Decoration.
SimpleDecoration new | ( | ) |
Create decoration.
void updateCanvas | ( | ) |
Update canvas.