Added empty text input functions for win32.
This commit is contained in:
parent
07e6c52137
commit
a9eb1670a1
3 changed files with 26 additions and 0 deletions
|
@ -122,4 +122,23 @@ WIN_QuitKeyboard(_THIS)
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
WIN_StartTextInput(_THIS)
|
||||
{
|
||||
HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd;
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
WIN_StopTextInput(_THIS)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
WIN_SetTextInputRect(_THIS, SDL_Rect *rect)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
|
@ -31,6 +31,10 @@ extern void WIN_InitKeyboard(_THIS);
|
|||
extern void WIN_UpdateKeymap(void);
|
||||
extern void WIN_QuitKeyboard(_THIS);
|
||||
|
||||
extern void WIN_StartTextInput(_THIS);
|
||||
extern void WIN_StopTextInput(_THIS);
|
||||
extern void WIN_SetTextInputRect(_THIS, SDL_Rect *rect);
|
||||
|
||||
#endif /* _SDL_win32keyboard_h */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
|
@ -162,6 +162,9 @@ WIN_CreateDevice(int devindex)
|
|||
device->GL_SwapWindow = WIN_GL_SwapWindow;
|
||||
device->GL_DeleteContext = WIN_GL_DeleteContext;
|
||||
#endif
|
||||
device->StartTextInput = WIN_StartTextInput;
|
||||
device->StopTextInput = WIN_StartTextInput;
|
||||
device->SetTextInputRect = WIN_SetTextInputRect;
|
||||
|
||||
device->free = WIN_DeleteDevice;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue