These oval shaped widgets are much like the Star Trek NG computer screens.
More...
|
| XYWH (width, height) |
| Defines the options for position (-x,-y) and size (-width,-height). More...
|
|
| ColorOptionMethods () |
| Snit macro to default color option methods. More...
|
|
| CommonValidateMethods () |
| Macro to include the common validation methods. More...
|
|
| ColorFillOption (optspec, default) |
| Method to define a fill color option. More...
|
|
| ColorOutlineOption (optspec, default) |
| Method to define an outline color option. More...
|
|
| FontFamily (default) |
| Macro to define the -fontfamily option. More...
|
|
| SquareEndOptions () |
| Macro to define the square end options (-rightsquare, -leftsquare). More...
|
|
| _VerifyFont (option, value) |
| Method to validate a font value. More...
|
|
| _ConfigureFont (option, value) |
| Method to configure a font value. More...
|
|
| _ConfigureText (option, value) |
| Method to configure the text of the button. More...
|
|
| _VerifyIntegerOrEmpty (option, value) |
| Method to validate an integer or empty string option. More...
|
|
| OvalLabel (name, _canvas,...) |
| Construct some text. More...
|
|
| ~OvalLabel () |
| Destructor free up all resources. More...
|
|
| _UnderSplit (beforevar, undervar, aftervar) |
| Method to split label text into before, under, and after segments. More...
|
|
These oval shaped widgets are much like the Star Trek NG computer screens.
- Author
- Robert Heller <heller@deepsoft.com>
Package provided
OvalWidgets 2.0
◆ _ConfigureFont()
OvalWidgets::_ConfigureFont |
( |
option |
, |
|
|
value |
|
|
) |
| |
|
private |
Method to configure a font value.
- Parameters
-
option | The name of the option to configure. |
value | The value of the option. |
◆ _ConfigureText()
OvalWidgets::_ConfigureText |
( |
option |
, |
|
|
value |
|
|
) |
| |
|
private |
Method to configure the text of the button.
- Parameters
-
option | The name of the option to configure. |
value | The value to configure it to. |
◆ _UnderSplit()
OvalWidgets::_UnderSplit |
( |
beforevar |
, |
|
|
undervar |
, |
|
|
aftervar |
|
|
) |
| |
|
private |
Method to split label text into before, under, and after segments.
- Parameters
-
beforevar | The name of the before variable. |
undervar | The name of the under variable. |
aftervar | The name of the after variable. |
◆ _VerifyFont()
OvalWidgets::_VerifyFont |
( |
option |
, |
|
|
value |
|
|
) |
| |
|
private |
Method to validate a font value.
- Parameters
-
option | The name of the option to validate. |
value | The value of the option. |
◆ _VerifyIntegerOrEmpty()
OvalWidgets::_VerifyIntegerOrEmpty |
( |
option |
, |
|
|
value |
|
|
) |
| |
|
private |
Method to validate an integer or empty string option.
- Parameters
-
option | The name of the option to validate. |
value | The value of the option. |
◆ ColorFillOption()
OvalWidgets::ColorFillOption |
( |
optspec |
, |
|
|
default |
|
|
) |
| |
Method to define a fill color option.
- Parameters
-
optspec | The option specification |
default | The default value. |
◆ ColorOptionMethods()
OvalWidgets::ColorOptionMethods |
( |
| ) |
|
Snit macro to default color option methods.
◆ ColorOutlineOption()
OvalWidgets::ColorOutlineOption |
( |
optspec |
, |
|
|
default |
|
|
) |
| |
Method to define an outline color option.
- Parameters
-
optspec | The option specification |
default | The default value. |
◆ CommonValidateMethods()
OvalWidgets::CommonValidateMethods |
( |
| ) |
|
Macro to include the common validation methods.
◆ FontFamily()
OvalWidgets::FontFamily |
( |
default |
| ) |
|
Macro to define the -fontfamily option.
- Parameters
-
default | The default font family. |
◆ OvalLabel()
OvalWidgets::OvalLabel |
( |
name |
, |
|
|
_canvas |
, |
|
|
|
... |
|
) |
| |
Construct some text.
- Parameters
-
_canvas | The canvas to draw the text on. |
... | The option value list. |
◆ SquareEndOptions()
OvalWidgets::SquareEndOptions |
( |
| ) |
|
Macro to define the square end options (-rightsquare, -leftsquare).
◆ XYWH()
OvalWidgets::XYWH |
( |
width |
, |
|
|
height |
|
|
) |
| |
Defines the options for position (-x,-y) and size (-width,-height).
- Parameters
-
width | Default width. |
height | Default height. |
◆ ~OvalLabel()
OvalWidgets::~OvalLabel |
( |
| ) |
|
Destructor free up all resources.
◆ canvas
Initial value:{
public:
_ConfigureXY ( option, value)
Canvas the widget is on.
◆ HBar
Holds the horizontal bar bitmap.
◆ VBar
Holds the vertical bar bitmap.