clean up new code for supporting RTEMS

This commit is contained in:
Vincent Wei
2019-10-31 09:38:25 +08:00
parent 6b2039c151
commit 4ea6912024
15 changed files with 1142 additions and 1190 deletions
-6
View File
@@ -2728,12 +2728,6 @@ MG_EXPORT HCURSOR GUIAPI GetSystemCursor (int csrid);
MG_EXPORT HCURSOR GUIAPI GetCurrentCursor (void);
#else
// #define LoadCursorFromFile(filename) (do_nothing(), 0)
// #define CreateCursor(x, y, w, h, ANDbs, XORbs, cr) (do_nothing(), 0)
// #define DestroyCursor(hcsr) (do_nothing(), 0)
//// #define GetSystemCursor(csrid) (do_nothing(), 0)
// #define GetCurrentCursor() (do_nothing(), 0)
//static inline HCURSOR GetSystemCursor(int csrid) { return (HCURSOR) 0;}
static inline HCURSOR LoadCursorFromFile(const char* filename) {
return (HCURSOR)0;