Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_ActiveEvent(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!ActiveEvent !!!SDL_!ActiveEvent NAME STRUCTURE DEFINITION STRUCTURE DATA DESCRIPTION SEE ALSO ---- !!NAME SDL_!ActiveEvent- Application visibility event structure !!STRUCTURE DEFINITION typedef struct{ Uint8 type; Uint8 gain; Uint8 state; } SDL_!ActiveEvent; !!STRUCTURE DATA __type SDL_ACTIVEEVENT.__ __gain__ 0 if the event is a loss or 1 if it is a gain. __state SDL_APPMOUSEFOCUS__ if mouse focus was gained or lost, __SDL_APPINPUTFOCUS__ if input focus was gained or lost, or __SDL_APPACTIVE__ if the application was iconified (__gain__=0) or restored(__gain__=1). !!DESCRIPTION __SDL_!ActiveEvent__ is a member of the __SDL_Event__ union and is used when an event of type __SDL_ACTIVEEVENT__ is reported. When the mouse leaves or enters the window area a __SDL_APPMOUSEFOCUS__ type activation event occurs, if the mouse entered the window then __gain__ will be 1, otherwise __gain__ will be 0. A __SDL_APPINPUTFOCUS__ type activation event occurs when the application loses or gains keyboard focus. This usually occurs when another application is made active. Finally, a __SDL_APPACTIVE__ type event occurs when the application is either minimised/iconified (__gain__=0) or restored. __Note:__ This event does not occur when an application window is first created. !!SEE ALSO __SDL_Event__, __SDL_!GetAppState__ ----
One page links to
SDL_ActiveEvent(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.