debian man page for is_windowed_mode

Query: is_windowed_mode

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

is_windowed_mode(3alleg4)					  Allegro manual					 is_windowed_mode(3alleg4)

NAME
is_windowed_mode - Tells if you are running in windowed mode. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int is_windowed_mode(void);
DESCRIPTION
This function can be used to detect whether or not set_gfx_mode() selected a windowed mode. Example: if (set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0) != 0) abort_on_error("Couldn't set graphic mode!"); if (is_windowed_mode()) { /* Windowed mode stuff. */ } else { /* Fullscreen mode stuff. */ }
RETURN VALUE
Returns true if the current graphics mode is a windowed mode, or zero if it is a fullscreen mode. You should not call this function if you are not in graphics mode.
SEE ALSO
set_gfx_mode(3alleg4) Allegro version 4.4.2 is_windowed_mode(3alleg4)
Related Man Pages
install_keyboard(3alleg4) - mojave
install_keyboard(3alleg4) - opendarwin
install_keyboard(3alleg4) - plan9
install_keyboard(3alleg4) - x11r4
install_keyboard(3alleg4) - redhat
Similar Topics in the Unix Linux Community
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph