GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
exswitch(3) Allegro manual exswitch(3)

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

#include <allegro.h>

Example exswitch

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.

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)
version 4.4.3 Allegro

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.