src/video/android/SDL_androidwindow.c
changeset 11865 af91d564aa40
parent 11811 5d94cb6b24d3
child 12012 6de756c9975a
equal deleted inserted replaced
11864:2eff89e82b60 11865:af91d564aa40
    51     window->y = 0;
    51     window->y = 0;
    52     window->w = Android_ScreenWidth;
    52     window->w = Android_ScreenWidth;
    53     window->h = Android_ScreenHeight;
    53     window->h = Android_ScreenHeight;
    54 
    54 
    55     window->flags &= ~SDL_WINDOW_RESIZABLE;     /* window is NEVER resizeable */
    55     window->flags &= ~SDL_WINDOW_RESIZABLE;     /* window is NEVER resizeable */
    56     window->flags |= SDL_WINDOW_FULLSCREEN;     /* window is always fullscreen */
       
    57     window->flags &= ~SDL_WINDOW_HIDDEN;
    56     window->flags &= ~SDL_WINDOW_HIDDEN;
    58     window->flags |= SDL_WINDOW_SHOWN;          /* only one window on Android */
    57     window->flags |= SDL_WINDOW_SHOWN;          /* only one window on Android */
    59     window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */
    58     window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */
    60 
    59 
    61     /* One window, it always has focus */
    60     /* One window, it always has focus */
    94 
    93 
    95 void
    94 void
    96 Android_SetWindowTitle(_THIS, SDL_Window * window)
    95 Android_SetWindowTitle(_THIS, SDL_Window * window)
    97 {
    96 {
    98     Android_JNI_SetActivityTitle(window->title);
    97     Android_JNI_SetActivityTitle(window->title);
       
    98 }
       
    99 
       
   100 void
       
   101 Android_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen)
       
   102 {
       
   103     Android_JNI_SetWindowStyle(fullscreen);
    99 }
   104 }
   100 
   105 
   101 void
   106 void
   102 Android_DestroyWindow(_THIS, SDL_Window * window)
   107 Android_DestroyWindow(_THIS, SDL_Window * window)
   103 {
   108 {