README.iOS
changeset 6392 fa7eb111f994
parent 6342 ac83b73f0edd
child 6534 8faa51147576
child 8311 40f2e97c4051
equal deleted inserted replaced
6391:ae8952e7e769 6392:fa7eb111f994
    76 
    76 
    77 ==============================================================================
    77 ==============================================================================
    78 Notes -- Keyboard
    78 Notes -- Keyboard
    79 ==============================================================================
    79 ==============================================================================
    80 
    80 
    81 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.
    81 The SDL keyboard API has been extended to support on-screen keyboards:
    82 
    82 
    83 int SDL_iPhoneKeyboardShow(SDL_Window * window) 
    83 int SDL_ShowScreenKeyboard(SDL_Window * window) 
    84 	-- reveals the onscreen keyboard.  Returns 0 on success and -1 on error.
    84 	-- reveals the onscreen keyboard.  Returns 0 on success and -1 on error.
    85 int SDL_iPhoneKeyboardHide(SDL_Window * window) 
    85 int SDL_HideScreenKeyboard(SDL_Window * window) 
    86 	-- hides the onscreen keyboard.  Returns 0 on success and -1 on error.
    86 	-- hides the onscreen keyboard.  Returns 0 on success and -1 on error.
    87 SDL_bool SDL_iPhoneKeyboardIsShown(SDL_Window * window) 
    87 SDL_bool SDL_IsScreenKeyboardShown(SDL_Window * window) 
    88 	-- returns whether or not the onscreen keyboard is currently visible.
    88 	-- returns whether or not the onscreen keyboard is currently visible.
    89 int SDL_iPhoneKeyboardToggle(SDL_Window * window) 	
    89 int SDL_ToggleScreenKeyboard(SDL_Window * window) 	
    90 	-- toggles the visibility of the onscreen keyboard.  Returns 0 on success and -1 on error.
    90 	-- toggles the visibility of the onscreen keyboard.  Returns 0 on success and -1 on error.
    91 
    91 
    92 ==============================================================================
    92 ==============================================================================
    93 Notes -- Reading and Writing files
    93 Notes -- Reading and Writing files
    94 ==============================================================================
    94 ==============================================================================