![]() |
Clapkit
|
Defines a point on the screen. More...
#include <ckTypes.h>
Public Member Functions | |
CKPoint (int x, int y) | |
CKPoint () | |
Point | ToOS () const |
Point * | ToOSPtr () |
bool | operator== (const CKPoint &other) const |
bool | operator!= (const CKPoint &other) const |
void | Subscribe (std::function< void()> cb) |
Static Public Member Functions | |
static CKPoint | FromOS (Point p) |
Public Attributes | |
CKProperty< int > | x = 0 |
CKProperty< int > | y = 0 |
Defines a point on the screen.
|
inline |
|
inline |
|
inlinestatic |
Convert OS-rect to what we use.
|
inline |
|
inline |
|
inline |
For change tracking
|
inline |
Convert our Rect to what the OS expects.
|
inline |
Convert our Rect to what the OS expects.
CKProperty<int> CKPoint::x = 0 |
CKProperty<int> CKPoint::y = 0 |