Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Decorations.CornerDecoration Class Reference

Render a thin line border with a bulky corner at the top-left side. More...

Inheritance diagram for Dragengine.Gui.Decorations.CornerDecoration:
Dragengine.Gui.Decorations.DefaultDecoration Dragengine.Gui.Decorations.Decoration

Public Member Functions

Decoration.Area areaHitBy (Point position)
 Test which part of the decoration is hit if any. More...
 
BorderSize getBorderSize ()
 Border size. More...
 
CornerDecoration 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...
 

Detailed Description

Render a thin line border with a bulky corner at the top-left side.

Note
This is only a demo class and not part of the final package.

Member Function Documentation

◆ areaHitBy()

Decoration.Area Dragengine.Gui.Decorations.CornerDecoration.areaHitBy ( Point  position)

Test which part of the decoration is hit if any.

Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.

◆ getBorderSize()

BorderSize Dragengine.Gui.Decorations.CornerDecoration.getBorderSize ( )

Border size.

Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.

◆ new()

CornerDecoration Dragengine.Gui.Decorations.CornerDecoration.new ( )

Create decoration.

Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.

◆ updateCanvas()

void Dragengine.Gui.Decorations.CornerDecoration.updateCanvas ( )

Update canvas.

Reimplemented from Dragengine.Gui.Decorations.DefaultDecoration.


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