-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cursors.h
34 lines (30 loc) · 1003 Bytes
/
Cursors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//---------------------------------------------------------------------------
#ifndef CursorsH
#define CursorsH
//---------------------------------------------------------------------------
class TCursorSet {
public:
__fastcall TCursorSet();
__fastcall ~TCursorSet();
__property bool Wait = { write=SetWait };
__property bool Drag = { write=SetDrag };
__property bool Finger = { write=SetFinger };
__property TCursor WaitCursor = { read=GetWaitCursor };
__property TCursor DragCursor = { read=GetDragCursor };
__property TCursor FingerCursor = { read=GetFingerCursor };
protected:
TCursor m_cWaitSavedCursor;
TCursor m_cDragSavedCursor;
TCursor m_cFingerSavedCursor;
bool m_bWait;
bool m_bDrag;
bool m_bFinger;
private:
void __fastcall SetWait(bool value);
void __fastcall SetDrag(bool value);
void __fastcall SetFinger(bool value);
TCursor __fastcall GetWaitCursor();
TCursor __fastcall GetDragCursor();
TCursor __fastcall GetFingerCursor();
};
#endif