* Changes the state of the mouse cursor. * * @param set_visible Determines the visibility of the cursor ( 1 or 0 ) **/
| 68 | * @param set_visible Determines the visibility of the cursor ( 1 or 0 ) |
| 69 | **/ |
| 70 | void ShowCursorAbs(int set_visible) |
| 71 | { |
| 72 | static int stat = 0; |
| 73 | |
| 74 | if(set_visible) |
| 75 | { |
| 76 | if(stat == -1) |
| 77 | { |
| 78 | stat++; |
| 79 | ShowCursor(1); |
| 80 | } |
| 81 | } |
| 82 | else |
| 83 | { |
| 84 | if(stat == 0) |
| 85 | { |
| 86 | stat--; |
| 87 | ShowCursor(0); |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Displays a folder selection dialog. |
no outgoing calls
no test coverage detected