INTERLOCKED { #ifdef PLATFORM_WIN32 static Image img = Win32Cursor(IDC_SIZEALL); #else static Image img = X11Cursor(XC_fleur); #endif mouseImg = Ctrl::OverrideCursor(img); }
... Image Win32Cursor(int id); HICON IconWin32(const Image& img, bool cursor = false); Image Win32DllIcon(const char *dll, int ii, bool large); #endif #endif #ifdef PLATFORM_X11 void *X11Cursor(const Image& img); Image X11Cursor(int c); // NEW #endif