src/video/android/SDL_androidvideo.c
changeset 6464 ab55284b389f
parent 6392 fa7eb111f994
child 6555 f2c03c06d987
equal deleted inserted replaced
6463:051403ca44cc 6464:ab55284b389f
    31 #include "../SDL_pixels_c.h"
    31 #include "../SDL_pixels_c.h"
    32 #include "../../events/SDL_events_c.h"
    32 #include "../../events/SDL_events_c.h"
    33 #include "../../events/SDL_windowevents_c.h"
    33 #include "../../events/SDL_windowevents_c.h"
    34 
    34 
    35 #include "SDL_androidvideo.h"
    35 #include "SDL_androidvideo.h"
       
    36 #include "SDL_androidclipboard.h"
    36 #include "SDL_androidevents.h"
    37 #include "SDL_androidevents.h"
    37 #include "SDL_androidkeyboard.h"
    38 #include "SDL_androidkeyboard.h"
    38 #include "SDL_androidwindow.h"
    39 #include "SDL_androidwindow.h"
    39 
    40 
    40 #define ANDROID_VID_DRIVER_NAME "Android"
    41 #define ANDROID_VID_DRIVER_NAME "Android"
   124     device->SDL_ShowScreenKeyboard = Android_ShowScreenKeyboard;
   125     device->SDL_ShowScreenKeyboard = Android_ShowScreenKeyboard;
   125     device->SDL_HideScreenKeyboard = Android_HideScreenKeyboard;
   126     device->SDL_HideScreenKeyboard = Android_HideScreenKeyboard;
   126     device->SDL_ToggleScreenKeyboard = Android_ToggleScreenKeyboard;
   127     device->SDL_ToggleScreenKeyboard = Android_ToggleScreenKeyboard;
   127     device->SDL_IsScreenKeyboardShown = Android_IsScreenKeyboardShown;
   128     device->SDL_IsScreenKeyboardShown = Android_IsScreenKeyboardShown;
   128 
   129 
       
   130     /* Clipboard */
       
   131     device->SetClipboardText = Android_SetClipboardText;
       
   132     device->GetClipboardText = Android_GetClipboardText;
       
   133     device->HasClipboardText = Android_HasClipboardText;
       
   134 
   129     return device;
   135     return device;
   130 }
   136 }
   131 
   137 
   132 VideoBootStrap Android_bootstrap = {
   138 VideoBootStrap Android_bootstrap = {
   133     ANDROID_VID_DRIVER_NAME, "SDL Android video driver",
   139     ANDROID_VID_DRIVER_NAME, "SDL Android video driver",