

Public Member Functions | |
| virtual CelestiaCore::CursorShape | getCursorShape () const |
| virtual void | setCursorShape (CelestiaCore::CursorShape) |
| WinCursorHandler (HCURSOR _defaultCursor) | |
| virtual | ~WinCursorHandler () |
Private Attributes | |
| HCURSOR | defaultCursor |
| CelestiaCore::CursorShape | shape |
| HCURSOR | sizeHorizontal |
| HCURSOR | sizeVertical |
|
|
Definition at line 333 of file winmain.cpp. References sizeHorizontal, and sizeVertical. 00333 : 00334 shape(CelestiaCore::ArrowCursor), 00335 defaultCursor(_defaultCursor) 00336 { 00337 sizeVertical = LoadCursor(NULL, IDC_SIZENS); 00338 sizeHorizontal = LoadCursor(NULL, IDC_SIZEWE); 00339 }
|
|
|
Definition at line 342 of file winmain.cpp. 00343 {
00344 }
|
|
|
Implements CelestiaCore::CursorHandler. Definition at line 365 of file winmain.cpp. References shape. 00366 {
00367 return shape;
00368 }
|
|
|
Definition at line 347 of file winmain.cpp. References defaultCursor, shape, sizeHorizontal, and sizeVertical. 00348 {
00349 shape = _shape;
00350 switch (shape)
00351 {
00352 case CelestiaCore::SizeVerCursor:
00353 SetCursor(sizeVertical);
00354 break;
00355 case CelestiaCore::SizeHorCursor:
00356 SetCursor(sizeHorizontal);
00357 break;
00358 default:
00359 SetCursor(defaultCursor);
00360 break;
00361 }
00362 }
|
|
|
Definition at line 327 of file winmain.cpp. Referenced by setCursorShape(). |
|
|
Definition at line 326 of file winmain.cpp. Referenced by getCursorShape(), and setCursorShape(). |
|
|
Definition at line 329 of file winmain.cpp. Referenced by setCursorShape(), and WinCursorHandler(). |
|
|
Definition at line 328 of file winmain.cpp. Referenced by setCursorShape(), and WinCursorHandler(). |
1.4.1