gui_set_screen man page on DragonFly

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

gui_set_screen(3)		Allegro manual		     gui_set_screen(3)

NAME
       gui_set_screen - Changes the bitmap surface GUI routines draw to. Alle‐
       gro game programming library.

SYNOPSIS
       #include <allegro.h>

       void gui_set_screen(BITMAP *bmp);

DESCRIPTION
       This function can be used to change the bitmap surface the GUI routines
       draw to. This can be useful if you are using a double buffering or page
       flipping system. Passing NULL will cause the default  surface  (screen)
       to be used again. Example:

	  BITMAP *page[2];

	  /* Allocate two pages of video memory */
	  page[0] = create_video_bitmap(SCREEN_W, SCREEN_H);
	  page[1] = create_video_bitmap(SCREEN_W, SCREEN_H);

	  /* Page flip */
	  show_video_bitmap(page[0]);
	  gui_set_screen(page[0]);

SEE ALSO
       gui_get_screen(3)

Allegro				 version 4.4.2		     gui_set_screen(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