diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-02-20 09:25:56 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-02-20 09:25:56 +0000 |
commit | 60acc634aa134f16b2845dc9a7a93b24b62c89b5 (patch) | |
tree | 3c84dc43d25b58b1332983ad64f3f66ef72a845b /src/corelib/gdi | |
parent | 59b5a60fbf884cc477bb34b8607cdd6300b3a611 (diff) | |
download | fpGUI-60acc634aa134f16b2845dc9a7a93b24b62c89b5.tar.xz |
* Added a new cursor: mcHand
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/gfx_gdi.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index cd926cb0..09802c57 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -182,6 +182,7 @@ type hcr_move: HCURSOR; hcr_crosshair: HCURSOR; hcr_wait: HCURSOR; + hcr_hand: HCURSOR; FFocusedWindow: THANDLE; LastClickWindow: TfpgWinHandle; // double click generation LastWinClickTime: longword; @@ -926,6 +927,7 @@ begin hcr_move := LoadCursor(0, IDC_SIZEALL); hcr_crosshair := LoadCursor(0, IDC_CROSS); hcr_wait := LoadCursor(0, IDC_WAIT); + hcr_hand := LoadCursor(0, IDC_HAND); FIsInitialized := True; wapplication := TfpgApplication(self); @@ -1269,6 +1271,7 @@ begin mcMove: hc := wapplication.hcr_move; mcCross: hc := wapplication.hcr_crosshair; mcHourGlass: hc := wapplication.hcr_wait; + mcHand: hc := wapplication.hcr_hand; else hc := wapplication.hcr_default; end; |