diff --git a/components/nvidia-widgets/doc/images/nvwidgets.png b/components/nvidia-widgets/doc/images/nvwidgets.png index 4b667a436..b821a6b8a 100644 Binary files a/components/nvidia-widgets/doc/images/nvwidgets.png and b/components/nvidia-widgets/doc/images/nvwidgets.png differ diff --git a/components/nvidia-widgets/doc/nvglwidgets.xml b/components/nvidia-widgets/doc/nvglwidgets.xml index 0127a03da..4c5b5a585 100644 --- a/components/nvidia-widgets/doc/nvglwidgets.xml +++ b/components/nvidia-widgets/doc/nvglwidgets.xml @@ -44,7 +44,7 @@ evaluates a string, it will calculate the number of lines it consists of and wil Text width of widest line - Draw a rectangle for debuggin purposes + Draw a rectangle for debugging purposes

drawDebugRect @@ -55,6 +55,183 @@ evaluates a string, it will calculate the number of lines it consists of and wil Rectangle size to draw User Interface library specialized for OpenGL + + Draw text with rectangle primitive + + + Draw frame primitive + + + Draw bool frame primitive + + + Draw multi-line text primitive + + + Draw rectangle primitive + + + Rectangle to draw in + + + Fill color + + + Border color + + + Rectangle to draw in + + + Number of lines in text + + + Caret position + + + Boolean indicating if the mouse is hovering over it + + + Boolean indicating if the widget is on + + + Boolean indicating if the widget has focus + + + Boolean indicating if the widget has focus + + + Boolean indicating if the widget has focus + + + Boolean indicating if the widget is on + + + Boolean indicating if the widget is on + + + Boolean indicating if the mouse is hovering over it + + + Boolean indicating if the mouse is hovering over it + + + Number of lines in text + + + Fill color + + + Fill color + + + Fill color + + + Fill color + + + Fill color + + + Fill color + + + Border color + + + Border color + + + Border color + + + Border color + + + Border color + + + Border color + + + Border color + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Rectangle to draw in + + + Width of the arrow + + + Width of the arrow + + + Width of the plus + + + Width of the minus + + + Radius of the corner + + + Radius of the corner + + + Radius of the corner + + + Radius of the corner + + + Draw rouded rectangle primitive + + + Draw rouded rectangle outline primitive + + + Draw circle primitive + + + Draw minus primitive + + + Draw plus primitive + + + Draw down arrow primitive + + + Draw up arrow primitive + + + Initialization method of the painter class + diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawboolframe.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawboolframe.html index 1dac7b03e..88fea72e6 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawboolframe.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawboolframe.html @@ -14,7 +14,7 @@

GLUIPainter.drawBoolFrame

-

+

Draw bool frame primitive

Declaration

Source position: nvglwidgets.pas line 182

@@ -40,5 +40,33 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

corner

  

Radius of the corner

isHover

  

Boolean indicating if the mouse is hovering over it

isOn

  

Boolean indicating if the widget is on

isFocus

  

Boolean indicating if the widget has focus

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawcircle.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawcircle.html index f5cf21587..e991beb4c 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawcircle.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawcircle.html @@ -14,7 +14,7 @@

GLUIPainter.drawCircle

-

+

Draw circle primitive

Declaration

Source position: nvglwidgets.pas line 187

@@ -34,5 +34,23 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdebugrect.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdebugrect.html index 059a91c6b..96751f78d 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdebugrect.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdebugrect.html @@ -14,7 +14,7 @@

GLUIPainter.drawDebugRect

-

Draw a rectangle for debuggin purposes

+

Draw a rectangle for debugging purposes

Declaration

Source position: nvglwidgets.pas line 177

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdownarrow.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdownarrow.html index 8c7fd6b08..0a5a1c050 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdownarrow.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawdownarrow.html @@ -14,7 +14,7 @@

GLUIPainter.drawDownArrow

-

+

Draw down arrow primitive

Declaration

Source position: nvglwidgets.pas line 190

@@ -37,5 +37,28 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

Width

  

Width of the arrow

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawframe.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawframe.html index d107e677a..7ac98eb8d 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawframe.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawframe.html @@ -14,7 +14,7 @@

GLUIPainter.drawFrame

-

+

Draw frame primitive

Declaration

Source position: line 0

@@ -52,5 +52,33 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

corner

  

Radius of the corner

isHover

  

Boolean indicating if the mouse is hovering over it

isOn

  

Boolean indicating if the widget is on

isFocus

  

Boolean indicating if the widget has focus

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawminus.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawminus.html index 9f8acef29..e85320a03 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawminus.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawminus.html @@ -14,7 +14,7 @@

GLUIPainter.drawMinus

-

+

Draw minus primitive

Declaration

Source position: nvglwidgets.pas line 188

@@ -37,5 +37,28 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

Width

  

Width of the minus

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawplus.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawplus.html index 526a9b950..bfa91310d 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawplus.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawplus.html @@ -14,7 +14,7 @@

GLUIPainter.drawPlus

-

+

Draw plus primitive

Declaration

Source position: nvglwidgets.pas line 189

@@ -37,5 +37,28 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

Width

  

Width of the plus

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawrect.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawrect.html index b4d18bd89..f2359d6af 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawrect.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawrect.html @@ -14,7 +14,7 @@

GLUIPainter.drawRect

-

+

Draw rectangle primitive

Declaration

Source position: nvglwidgets.pas line 184

@@ -34,5 +34,23 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrect.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrect.html index 3d059447c..a07d390c5 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrect.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrect.html @@ -14,7 +14,7 @@

GLUIPainter.drawRoundedRect

-

+

Draw rouded rectangle primitive

Declaration

Source position: nvglwidgets.pas line 185

@@ -37,5 +37,28 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

corner

  

Radius of the corner

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrectoutline.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrectoutline.html index 1e5e020fe..c961eac6c 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrectoutline.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawroundedrectoutline.html @@ -14,7 +14,7 @@

GLUIPainter.drawRoundedRectOutline

-

+

Draw rouded rectangle outline primitive

Declaration

Source position: nvglwidgets.pas line 186

@@ -34,5 +34,23 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

corner

  

Radius of the corner

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawstring.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawstring.html index 54a5f3cc0..2ec6ccac2 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawstring.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawstring.html @@ -14,7 +14,7 @@

GLUIPainter.drawString

-

+

Draw multi-line text primitive

Declaration

Source position: nvglwidgets.pas line 183

@@ -37,5 +37,13 @@

);

+

Arguments

+ + + + + + +

nbLines

  

Number of lines in text

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawtext.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawtext.html index 8e7afe01c..d3c02aa32 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawtext.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawtext.html @@ -14,7 +14,7 @@

GLUIPainter.drawText

-

+

Draw text with rectangle primitive

Declaration

Source position: nvglwidgets.pas line 180

@@ -46,5 +46,38 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

r

  

Rectangle to draw in

nbLines

  

Number of lines in text

caretPos

  

Caret position

isHover

  

Boolean indicating if the mouse is hovering over it

isOn

  

Boolean indicating if the widget is on

isFocus

  

Boolean indicating if the widget has focus

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawuparrow.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawuparrow.html index d5d88cd2a..ebae93065 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawuparrow.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.drawuparrow.html @@ -14,7 +14,7 @@

GLUIPainter.drawUpArrow

-

+

Draw up arrow primitive

Declaration

Source position: nvglwidgets.pas line 191

@@ -37,5 +37,28 @@

);

+

Arguments

+ + + + + + + + + + + + + + + + + + + + + +

aRect

  

Rectangle to draw in

Width

  

Width of the arrow

fillColorId

  

Fill color

borderColorId

  

Border color

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.html index 4e70845c4..8a598531f 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.html @@ -39,6 +39,8 @@

  procedure drawFrame();

+

  

+

Draw frame primitive

public

@@ -149,43 +151,67 @@

  procedure drawDebugRect(); override;

  

-

Draw a rectangle for debuggin purposes

+

Draw a rectangle for debugging purposes

  procedure drawText();

+

  

+

Draw text with rectangle primitive

  procedure drawBoolFrame();

+

  

+

Draw bool frame primitive

  procedure drawString();

+

  

+

Draw multi-line text primitive

  procedure drawRect();

+

  

+

Draw rectangle primitive

  procedure drawRoundedRect();

+

  

+

Draw rouded rectangle primitive

  procedure drawRoundedRectOutline();

+

  

+

Draw rouded rectangle outline primitive

  procedure drawCircle();

+

  

+

Draw circle primitive

  procedure drawMinus();

+

  

+

Draw minus primitive

  procedure drawPlus();

+

  

+

Draw plus primitive

  procedure drawDownArrow();

+

  

+

Draw down arrow primitive

  procedure drawUpArrow();

+

  

+

Draw up arrow primitive

  procedure init; override;

+

  

+

Initialization method of the painter class

end;

diff --git a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.init.html b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.init.html index 3916b4179..8287112a8 100644 --- a/components/nvidia-widgets/doc/nvglwidgets/gluipainter.init.html +++ b/components/nvidia-widgets/doc/nvglwidgets/gluipainter.init.html @@ -14,7 +14,7 @@

GLUIPainter.init

-

+

Initialization method of the painter class

Declaration

Source position: nvglwidgets.pas line 193

diff --git a/components/nvidia-widgets/doc/nvwidgets.chm b/components/nvidia-widgets/doc/nvwidgets.chm index aab02afc4..3404bc4ab 100644 Binary files a/components/nvidia-widgets/doc/nvwidgets.chm and b/components/nvidia-widgets/doc/nvwidgets.chm differ