README.iOS
changeset 8311 40f2e97c4051
parent 8304 a4bf0413d7c0
parent 6392 fa7eb111f994
child 8314 24f2de48557b
equal deleted inserted replaced
8310:5d9ba2a65baf 8311:40f2e97c4051
    77 
    77 
    78 ==============================================================================
    78 ==============================================================================
    79 Notes -- Keyboard
    79 Notes -- Keyboard
    80 ==============================================================================
    80 ==============================================================================
    81 
    81 
    82 SDL for iPhone contains several additional functions related to keyboard visibility.  These functions are not part of the SDL standard API, but are necessary for revealing and hiding the iPhone's virtual onscreen keyboard.
    82 The SDL keyboard API has been extended to support on-screen keyboards:
    83 
    83 
    84 int SDL_iPhoneKeyboardShow(SDL_Window * window) 
    84 int SDL_ShowScreenKeyboard(SDL_Window * window) 
    85 	-- reveals the onscreen keyboard.  Returns 0 on success and -1 on error.
    85 	-- reveals the onscreen keyboard.  Returns 0 on success and -1 on error.
    86 int SDL_iPhoneKeyboardHide(SDL_Window * window) 
    86 int SDL_HideScreenKeyboard(SDL_Window * window) 
    87 	-- hides the onscreen keyboard.  Returns 0 on success and -1 on error.
    87 	-- hides the onscreen keyboard.  Returns 0 on success and -1 on error.
    88 SDL_bool SDL_iPhoneKeyboardIsShown(SDL_Window * window) 
    88 SDL_bool SDL_IsScreenKeyboardShown(SDL_Window * window) 
    89 	-- returns whether or not the onscreen keyboard is currently visible.
    89 	-- returns whether or not the onscreen keyboard is currently visible.
    90 int SDL_iPhoneKeyboardToggle(SDL_Window * window) 	
    90 int SDL_ToggleScreenKeyboard(SDL_Window * window) 	
    91 	-- toggles the visibility of the onscreen keyboard.  Returns 0 on success and -1 on error.
    91 	-- toggles the visibility of the onscreen keyboard.  Returns 0 on success and -1 on error.
    92 
    92 
    93 ==============================================================================
    93 ==============================================================================
    94 Notes -- Reading and Writing files
    94 Notes -- Reading and Writing files
    95 ==============================================================================
    95 ==============================================================================