2
0
mirror of https://github.com/arnavbhatt288/sdl-2.30.3-kolibri.git synced 2025-01-02 18:35:55 +01:00

trivial changes

Signed-off-by: Arnav Bhatt <arnav@ghativega.in>
This commit is contained in:
Arnav Bhatt 2024-06-23 03:20:37 +05:30
parent dd949a36ee
commit 872e26a649
No known key found for this signature in database
GPG Key ID: 2F49C4D36103865D
16 changed files with 18 additions and 18 deletions

View File

@ -92,7 +92,7 @@
/* Enable the dummy thread support (src/thread/dummy/\*.c) */
#define SDL_THREADS_DISABLED 1
/* Enable the Kolibri timer support (src/timer/dummy/\*.c) */
/* Enable the Kolibri timer support (src/timer/kolibri/\*.c) */
#define SDL_TIMER_KOLIBRI 1
/* Enable the Kolibri video driver (src/video/kolibri/\*.c) */

View File

@ -236,4 +236,4 @@ AudioBootStrap KOLIBRIAUDIO_bootstrap = {
KOLIBRIAUDIO_Init, SDL_FALSE
};
#endif
#endif /* SDL_AUDIO_DRIVER_KOLIBRI */

View File

@ -52,4 +52,4 @@ char *SDL_GetPrefPath(const char *org, const char *app)
return retval;
}
#endif
#endif /* SDL_FILESYSTEM_KOLIBRI */

View File

@ -51,4 +51,4 @@ void SDL_Delay(Uint32 ms)
_ksys_delay((uint32_t)(ms / 10 + (ms % 10 > 0)));
}
#endif
#endif /* SDL_TIMER_KOLIBRI */

View File

@ -57,4 +57,4 @@ SDL_bool KOLIBRI_HasClipboardText(_THIS)
return result;
}
#endif
#endif /* SDL_VIDEO_DRIVER_KOLIBRI */

View File

@ -8,4 +8,4 @@ extern char *KOLIBRI_GetClipboardText(_THIS);
extern int KOLIBRI_SetClipboardText(_THIS, const char *text);
extern SDL_bool KOLIBRI_HasClipboardText(_THIS);
#endif
#endif /* SDL_kolibriclipboard_h_ */

View File

@ -354,4 +354,4 @@ void KOLIBRI_PumpEvents(_THIS)
}
}
#endif
#endif /* SDL_VIDEO_DRIVER_KOLIBRI */

View File

@ -7,4 +7,4 @@
extern void KOLIBRI_InitOSKeymap(void);
extern void KOLIBRI_PumpEvents(_THIS);
#endif
#endif /* SDL_kolibrievents_h_ */

View File

@ -76,4 +76,4 @@ void KOLIBRI_DestroyWindowFramebuffer(_THIS, SDL_Window *window)
data->surface = NULL;
}
#endif
#endif /* SDL_VIDEO_DRIVER_KOLIBRI */

View File

@ -8,4 +8,4 @@ extern int KOLIBRI_CreateWindowFramebuffer(_THIS, SDL_Window *window, Uint32 *fo
extern int KOLIBRI_UpdateWindowFramebuffer(_THIS, SDL_Window *window, const SDL_Rect *rects, int numrects);
extern void KOLIBRI_DestroyWindowFramebuffer(_THIS, SDL_Window *window);
#endif
#endif /* SDL_kolibriframebuffer_h_ */

View File

@ -138,4 +138,4 @@ void KOLIBRI_InitMouse(void)
SDL_SetDefaultCursor(KOLIBRI_CreateDefaultCursor());
}
#endif
#endif /* SDL_VIDEO_DRIVER_KOLIBRI */

View File

@ -13,4 +13,4 @@ typedef struct _KOLIBRI_CursorData
extern void KOLIBRI_InitMouse(void);
#endif
#endif /* SDL_kolibrimouse_h_ */

View File

@ -115,4 +115,4 @@ VideoBootStrap KOLIBRI_bootstrap = {
NULL /* no ShowMessageBox implementation */
};
#endif
#endif /* SDL_VIDEO_DRIVER_KOLIBRI */

View File

@ -1,10 +1,10 @@
#ifndef SDL_kolibrivideo_h
#define SDL_kolibrivideo_h
#ifndef SDL_kolibrivideo_h_
#define SDL_kolibrivideo_h_
typedef struct SDL_VideoData
{
Uint32 window_id;
} SDL_VideoData;
#endif
#endif /* SDL_kolibrivideo_h_ */

View File

@ -86,4 +86,4 @@ void KOLIBRI_DestroyWindow(_THIS, SDL_Window *window)
SDL_free(window->driverdata);
}
#endif
#endif /* SDL_VIDEO_DRIVER_KOLIBRI */

View File

@ -15,4 +15,4 @@ extern void KOLIBRI_RepaintWnd(_THIS);
extern void KOLIBRI_SetWindowTitle(_THIS, SDL_Window *window);
extern void KOLIBRI_DestroyWindow(_THIS, SDL_Window *window);
#endif
#endif /* SDL_kolibriwindow_h_ */