(svn r2725) Move MyShowCursor() back into win32.c, it fits better there
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "../macros.h"
|
||||
#include "../network.h"
|
||||
#include "../variables.h"
|
||||
#include "../win32.h"
|
||||
#include "../window.h"
|
||||
#include "win32_v.h"
|
||||
#include <windows.h>
|
||||
@@ -65,17 +66,6 @@ static void UpdatePalette(HDC dc, uint start, uint count)
|
||||
SetDIBColorTable(dc, start, count, rgb);
|
||||
}
|
||||
|
||||
bool MyShowCursor(bool show)
|
||||
{
|
||||
if (_wnd.cursor_visible == show)
|
||||
return show;
|
||||
|
||||
_wnd.cursor_visible = show;
|
||||
ShowCursor(show);
|
||||
|
||||
return !show;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
byte vk_from;
|
||||
byte vk_count;
|
||||
|
||||
Reference in New Issue
Block a user