comparison include/SDL_video.h @ 1734:f7c667ded87d SDL-1.3

The general code handles restoring video mode/gamma/etc. when the window loses focus. Support for changing fullscreen/windowed mode in progress.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 Jul 2006 18:09:16 +0000
parents 0b1070f2f94d
children 8dd28c4ef746
comparison
equal deleted inserted replaced
1733:0b1070f2f94d 1734:f7c667ded87d
123 SDL_WINDOW_BORDERLESS = 0x00000008, /**< no window decoration */ 123 SDL_WINDOW_BORDERLESS = 0x00000008, /**< no window decoration */
124 SDL_WINDOW_RESIZABLE = 0x00000010, /**< window can be resized */ 124 SDL_WINDOW_RESIZABLE = 0x00000010, /**< window can be resized */
125 SDL_WINDOW_MINIMIZED = 0x00000020, /**< minimized */ 125 SDL_WINDOW_MINIMIZED = 0x00000020, /**< minimized */
126 SDL_WINDOW_MAXIMIZED = 0x00000040, /**< maximized */ 126 SDL_WINDOW_MAXIMIZED = 0x00000040, /**< maximized */
127 SDL_WINDOW_INPUT_GRABBED = 0x00000100, /**< window has grabbed input focus */ 127 SDL_WINDOW_INPUT_GRABBED = 0x00000100, /**< window has grabbed input focus */
128 SDL_WINDOW_KEYBOARD_FOCUS = 0x00000200, /**< window has keyboard focus */ 128 SDL_WINDOW_INPUT_FOCUS = 0x00000200, /**< window has input focus */
129 SDL_WINDOW_MOUSE_FOCUS = 0x00000400, /**< window has mouse focus */ 129 SDL_WINDOW_MOUSE_FOCUS = 0x00000400, /**< window has mouse focus */
130 } SDL_WindowFlags; 130 } SDL_WindowFlags;
131 131
132 /** 132 /**
133 * \def SDL_WINDOWPOS_UNDEFINED 133 * \def SDL_WINDOWPOS_UNDEFINED
732 extern DECLSPEC void SDLCALL SDL_HideWindow(SDL_WindowID windowID); 732 extern DECLSPEC void SDLCALL SDL_HideWindow(SDL_WindowID windowID);
733 733
734 /** 734 /**
735 * \fn void SDL_RaiseWindow(SDL_WindowID windowID) 735 * \fn void SDL_RaiseWindow(SDL_WindowID windowID)
736 * 736 *
737 * \brief Raise the window so it's above other windows. 737 * \brief Raise the window above other windows and set the input focus.
738 */ 738 */
739 extern DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_WindowID windowID); 739 extern DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_WindowID windowID);
740 740
741 /** 741 /**
742 * \fn void SDL_MaximizeWindow(SDL_WindowID windowID) 742 * \fn void SDL_MaximizeWindow(SDL_WindowID windowID)