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(3alleg), END_OF_FUNCTION(3alleg), END_OF_MAIN(3alleg),
LOCK_FUNCTION(3alleg), LOCK_VARIABLE(3alleg), PALETTE(3alleg),
SCREEN_H(3alleg), SCREEN_W(3alleg), acquire_bitmap(3alleg),
acquire_screen(3alleg), allegro_error(3alleg), allegro_exit(3alleg),
allegro_init(3alleg), allegro_message(3alleg),
bitmap_color_depth(3alleg), blit(3alleg), clear_to_color(3alleg),
create_sub_bitmap(3alleg), desktop_palette(3alleg),
destroy_bitmap(3alleg), font(3alleg), get_display_switch_mode(3alleg),
gfx_mode_select_ex(3alleg), install_int(3alleg),
install_keyboard(3alleg), install_mouse(3alleg), install_timer(3alleg),
keypressed(3alleg), makecol(3alleg), palette_color(3alleg),
putpixel(3alleg), readkey(3alleg), rectfill(3alleg),
release_bitmap(3alleg), release_screen(3alleg), screen(3alleg),
set_color_depth(3alleg), set_display_switch_callback(3alleg),
set_display_switch_mode(3alleg), set_gfx_mode(3alleg),
set_palette(3alleg), textout_centre_ex(3alleg),
textprintf_centre_ex(3alleg)