/Users/hercules/trunk/SDL-1.2/include/SDL_active.h File Reference

#include "SDL_stdinc.h"
#include "SDL_error.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Defines

The available application states


#define SDL_APPMOUSEFOCUS   0x01
#define SDL_APPINPUTFOCUS   0x02
#define SDL_APPACTIVE   0x04

Functions

DECLSPEC Uint8 SDLCALL SDL_GetAppState (void)


Detailed Description

Include file for SDL application focus event handling

Define Documentation

#define SDL_APPACTIVE   0x04

The application is active

#define SDL_APPINPUTFOCUS   0x02

The app has input focus

#define SDL_APPMOUSEFOCUS   0x01

The app has mouse coverage


Function Documentation

DECLSPEC Uint8 SDLCALL SDL_GetAppState ( void   ) 

This function returns the current state of the application, which is a bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to see your application, otherwise it has been iconified or disabled.


Generated on Mon Sep 21 21:29:50 2009 for Simple DirectMedia Layer by  doxygen 1.5.8