is_windowed_mode man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

is_windowed_mode(3)		Allegro manual		   is_windowed_mode(3)

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(3)

Allegro				 version 4.4.2		   is_windowed_mode(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net