21#include "../../SDL_internal.h"
23#if SDL_VIDEO_DRIVER_HAIKU
41 #define HAIKU_StartTextInput NULL
42 #define HAIKU_StopTextInput NULL
43 #define HAIKU_SetTextInputRect NULL
50HAIKU_CreateDevice(
int devindex)
100 device->GL_LoadLibrary = HAIKU_GL_LoadLibrary;
101 device->GL_GetProcAddress = HAIKU_GL_GetProcAddress;
102 device->GL_UnloadLibrary = HAIKU_GL_UnloadLibrary;
103 device->GL_CreateContext = HAIKU_GL_CreateContext;
104 device->GL_MakeCurrent = HAIKU_GL_MakeCurrent;
105 device->GL_SetSwapInterval = HAIKU_GL_SetSwapInterval;
106 device->GL_GetSwapInterval = HAIKU_GL_GetSwapInterval;
107 device->GL_SwapWindow = HAIKU_GL_SwapWindow;
108 device->GL_DeleteContext = HAIKU_GL_DeleteContext;
111 device->StartTextInput = HAIKU_StartTextInput;
112 device->StopTextInput = HAIKU_StopTextInput;
113 device->SetTextInputRect = HAIKU_SetTextInputRect;
125 "haiku",
"Haiku graphics",
char * HAIKU_GetClipboardText(_THIS)
int HAIKU_SetClipboardText(_THIS, const char *text)
SDL_bool HAIKU_HasClipboardText(_THIS)
void HAIKU_PumpEvents(_THIS)
int HAIKU_CreateWindowFramebuffer(_THIS, SDL_Window *window, Uint32 *format, void **pixels, int *pitch)
int HAIKU_UpdateWindowFramebuffer(_THIS, SDL_Window *window, const SDL_Rect *rects, int numrects)
void HAIKU_DestroyWindowFramebuffer(_THIS, SDL_Window *window)
void HAIKU_InitOSKeymap(void)
int HAIKU_QuitModes(_THIS)
int HAIKU_InitModes(_THIS)
void HAIKU_GetDisplayModes(_THIS, SDL_VideoDisplay *display)
int HAIKU_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode)
int HAIKU_GetDisplayBounds(_THIS, SDL_VideoDisplay *display, SDL_Rect *rect)
void HAIKU_DeleteDevice(_THIS)
int HAIKU_Available(void)
void HAIKU_VideoQuit(_THIS)
int HAIKU_VideoInit(_THIS)
void HAIKU_SetWindowIcon(_THIS, SDL_Window *window, SDL_Surface *icon)
SDL_bool HAIKU_GetWindowWMInfo(_THIS, SDL_Window *window, struct SDL_SysWMinfo *info)
void HAIKU_SetWindowGrab(_THIS, SDL_Window *window, SDL_bool grabbed)
void HAIKU_ShowWindow(_THIS, SDL_Window *window)
void HAIKU_SetWindowFullscreen(_THIS, SDL_Window *window, SDL_VideoDisplay *display, SDL_bool fullscreen)
int HAIKU_CreateWindowFrom(_THIS, SDL_Window *window, const void *data)
void HAIKU_SetWindowSize(_THIS, SDL_Window *window)
int HAIKU_CreateWindow(_THIS, SDL_Window *window)
void HAIKU_RestoreWindow(_THIS, SDL_Window *window)
int HAIKU_GetWindowGammaRamp(_THIS, SDL_Window *window, Uint16 *ramp)
int HAIKU_SetWindowGammaRamp(_THIS, SDL_Window *window, const Uint16 *ramp)
void HAIKU_HideWindow(_THIS, SDL_Window *window)
void HAIKU_SetWindowPosition(_THIS, SDL_Window *window)
void HAIKU_DestroyWindow(_THIS, SDL_Window *window)
void HAIKU_RaiseWindow(_THIS, SDL_Window *window)
void HAIKU_SetWindowTitle(_THIS, SDL_Window *window)
void HAIKU_SetWindowBordered(_THIS, SDL_Window *window, SDL_bool bordered)
void HAIKU_MaximizeWindow(_THIS, SDL_Window *window)
void HAIKU_MinimizeWindow(_THIS, SDL_Window *window)
void HAIKU_SetWindowResizable(_THIS, SDL_Window *window, SDL_bool resizable)
VideoBootStrap HAIKU_bootstrap
static SDL_VideoDevice * _this
static SDL_AudioDeviceID device