Initialization parameters for a CKControl.
More...
#include <ckControl.h>
|
| const char * | title = 0 |
| | Text to be used for window title or control text, if applicable.
|
| |
| int | x = 0 |
| | Position (X) of the control. Should be > 0.
|
| |
| int | y = 0 |
| | Position (Y) of the control. Should be > 0.
|
| |
| int | width = 100 |
| | Width of the control. Must be > 0.
|
| |
| int | height = 50 |
| | Height of the control. Must be > 0. See kCKButtonHeight, kCKCheckboxHeight, etc.
|
| |
Initialization parameters for a CKControl.
◆ CKControlInitParams() [1/3]
| CKControlInitParams::CKControlInitParams |
( |
const char * |
t, |
|
|
CKRect |
r |
|
) |
| |
|
inline |
Create a control with a text and a size & position.
- Parameters
-
| t | The text of the control. |
| r | A CKRect defining the size and position of the control. |
◆ CKControlInitParams() [2/3]
| CKControlInitParams::CKControlInitParams |
( |
CKRect |
r | ) |
|
|
inline |
Create a control with a size & position.
- Parameters
-
| r | A CKRect defining the size and position of the control. |
◆ CKControlInitParams() [3/3]
| CKControlInitParams::CKControlInitParams |
( |
CKSize |
s | ) |
|
|
inline |
Create a control with a size.
- Parameters
-
| r | A CKSize defining the size of the control. |
◆ height
| int CKControlInitParams::height = 50 |
◆ title
| const char* CKControlInitParams::title = 0 |
Text to be used for window title or control text, if applicable.
◆ width
| int CKControlInitParams::width = 100 |
Width of the control. Must be > 0.
| int CKControlInitParams::x = 0 |
Position (X) of the control. Should be > 0.
| int CKControlInitParams::y = 0 |
Position (Y) of the control. Should be > 0.
The documentation for this struct was generated from the following file: