exswitch(3)                     Allegro manual                     exswitch(3)



NAME
       exswitch - Controlling the console switch mode for background running.
       Allegro game programming library.

SYNOPSIS
       #include <allegro.h>


       Example exswitch

DESCRIPTION
       This program shows how to control the console switching mode, and let
       your program run in the background. These functions don't apply to
       every platform and driver, for example you can't control the switching
       mode from a DOS program.

       Yes, I know the fractal drawing is very slow: that's the point!  This
       is so you can easily check whether it goes on working in the background
       after you switch away from the app.

       Depending on the type of selected switching mode, you will see whether
       the contents of the screen are preserved or not.


SEE ALSO
       BITMAP(3), END_OF_FUNCTION(3), END_OF_MAIN(3), LOCK_FUNCTION(3),
       LOCK_VARIABLE(3), PALETTE(3), SCREEN_H(3), SCREEN_W(3),
       acquire_bitmap(3), acquire_screen(3), allegro_error(3),
       allegro_exit(3), allegro_init(3), allegro_message(3),
       bitmap_color_depth(3), blit(3), clear_to_color(3),
       create_sub_bitmap(3), desktop_palette(3), destroy_bitmap(3), font(3),
       get_display_switch_mode(3), gfx_mode_select_ex(3), install_int(3),
       install_keyboard(3), install_mouse(3), install_timer(3), keypressed(3),
       makecol(3), palette_color(3), putpixel(3), readkey(3), rectfill(3),
       release_bitmap(3), release_screen(3), screen(3), set_color_depth(3),
       set_display_switch_callback(3), set_display_switch_mode(3),
       set_gfx_mode(3), set_palette(3), textout_centre_ex(3),
       textprintf_centre_ex(3)



Allegro                          version 4.2.3                     exswitch(3)
