Clapkit
Loading...
Searching...
No Matches
ckTypes.h File Reference
#include "ckMacros.h"
#include "ckObject.h"
#include "ckProperty.h"
#include "ckUtils.h"
#include <exception>

Go to the source code of this file.

Classes

class  CKException
 
struct  CKColor
 Defines an RGB color. A (Alpha) is usually not used in our case. More...
 
struct  CKPoint
 Defines a point on the screen. More...
 
struct  CKSize
 Defines a rectangular area. More...
 
struct  CKRect
 Defines a rectangular area at a specific location. More...
 
struct  CKEvent
 Defines an event raised by the framework, mostly for user actions. More...
 

Macros

#define CKPass   1
 Functions that return CKError return CKPass on success.
 

Typedefs

typedef int32_t CKError
 Return type for functions that might return an error. Also see: CKPass and CKErrorCode.
 

Enumerations

enum class  CKControlType {
  CKControlType::Unknown = 0 , CKControlType::PushButton , CKControlType::Label , CKControlType::Checkbox ,
  CKControlType::RadioButton , CKControlType::Canvas , CKControlType::TextField , CKControlType::Dropdown
}
 Defines a control type (i.e. PushButton, Checkbox, etc.) More...
 
enum class  CKMouseButton { CKMouseButton::None = 0 , CKMouseButton::Left = 1 , CKMouseButton::Middle = 2 , CKMouseButton::Right = 3 }
 Abstraction for mouse buttons. More...
 
enum class  CKTextJustification { CKTextJustification::Left = 0 , CKTextJustification::Center = 1 , CKTextJustification::Right = 2 }
 Used for text labels, etc. More...
 
enum class  CKEventType {
  CKEventType::nullEvent = 0 , CKEventType::click , CKEventType::doubleClick , CKEventType::mouseDown ,
  CKEventType::mouseMove , CKEventType::mouseUp , CKEventType::keyDown , CKEventType::keyUp ,
  CKEventType::moved , CKEventType::resized , CKEventType::deleted , CKEventType::removed ,
  CKEventType::changed , CKEventType::tcpConnectionFailed , CKEventType::tcpDisconnected , CKEventType::tcpConnected ,
  CKEventType::tcpReceivedData , CKEventType::tcpBufferFull , CKEventType::dataUndo , CKEventType::dataCut ,
  CKEventType::dataCopy , CKEventType::dataPaste , CKEventType::dataClear
}
 Defines an event type for controls (and windows.) More...
 
enum class  CKSystemIcon { CKSystemIcon::noIcon = 0 , CKSystemIcon::message = 1 , CKSystemIcon::warning = 2 , CKSystemIcon::error = 3 }
 Defines a system icon type. More...
 
enum class  CKScrollType { CKScrollType::none = 0 , CKScrollType::vertical = 1 , CKScrollType::horizontal = 2 , CKScrollType::both = 3 }
 Defines a scroll type. More...