Helper types, macros, and utility functions.
More...
|
| bool | CKHasAppearanceManager () |
| | Checks if Appearance Manager is present (8.x+)
|
| |
| bool | CKHasColorQuickDraw () |
| | Checks if Color QuickDraw is available.
|
| |
| bool | CKHasIconUtilities () |
| | Checks if Icon Utilities are available (PlotIcon/GetCIcon, etc.)
|
| |
| bool | CKHasDebugger () |
| | Checks if a low-level debugger (like MacsBug) is installed and callable.
|
| |
| UInt32 | CKMillis () |
| | Return the number of milliseconds since computer booted up.
|
| |
Helper types, macros, and utility functions.
◆ CKC2P
Convert a C-string to a Pascal-string.
- Returns
- unsigned char* or null on failure.
◆ CKMSToTicks
| #define CKMSToTicks |
( |
|
milliseconds | ) |
((int)((milliseconds) / 16.66)) |
Convert milliseconds to ticks.
◆ CKOBSERVEVALUE
| #define CKOBSERVEVALUE |
( |
|
name | ) |
[this]() { this->RaisePropertyChange(name); }; |
◆ CKP2C
Convert a Pascal-string to a C-String.
- Returns
- char* or null on failure.
◆ kCKButtonHeight
| #define kCKButtonHeight 20 |
Suggested button height for platform.
◆ kCKCheckboxHeight
| #define kCKCheckboxHeight 16 |
Suggested checkbox height for platform.
◆ kCKDropdownHeight
| #define kCKDropdownHeight 20 |
Suggested dropdown control height for platform.
◆ kCKRadioboxHeight
Suggested radio button height for platform.
◆ kCKTextFieldHeight
| #define kCKTextFieldHeight 20 |
Suggested textfield height for platform.
◆ CKHasAppearanceManager()
| bool CKHasAppearanceManager |
( |
| ) |
|
Checks if Appearance Manager is present (8.x+)
- Returns
- True if Appearance Manager is available
◆ CKHasColorQuickDraw()
| bool CKHasColorQuickDraw |
( |
| ) |
|
Checks if Color QuickDraw is available.
- Returns
- True if Color QuickDraw is available
◆ CKHasDebugger()
Checks if a low-level debugger (like MacsBug) is installed and callable.
- Returns
- True if a low-level debugger is installed and callable.
◆ CKHasIconUtilities()
| bool CKHasIconUtilities |
( |
| ) |
|
Checks if Icon Utilities are available (PlotIcon/GetCIcon, etc.)
- Returns
- True if Icon Utilities are available.
◆ CKMillis()
Return the number of milliseconds since computer booted up.
- Returns
- Milliseconds since computer booted up.