QNX Allegro supports the following card parameters for the
This closes any graphic mode previously opened with set_gfx_mode.
Let Allegro pick an appropriate graphics driver.
Autodetects a graphics driver, but will only use fullscreen drivers,
failing if these are not available on current platform.
Same as above, but uses only windowed drivers.
Special driver for when you want to reliably set a graphics mode and
don't really care what resolution. See the set_gfx_mode()
documentation for details.
Fullscreen exclusive mode through Photon.
Windowed mode in a Photon window. Note that, mainly for performance
reasons, this driver requires the width of the screen to be a multiple
The QNX sound functions support the following digital soundcards:
DIGI_AUTODETECT - let Allegro pick a digital sound driver
DIGI_NONE - no digital sound
DIGI_ALSA - ALSA sound driver
The QNX sound functions support the following MIDI soundcards:
MIDI_AUTODETECT - let Allegro pick a MIDI sound driver
MIDI_NONE - no MIDI sound
MIDI_ALSA - ALSA RawMIDI driver
MIDI_DIGMID - sample-based software wavetable player
The following functions provide a platform specific interface to seamlessly
integrate Allegro into general purpose QNX programs. To use these routines,
you must include qnxalleg.h after other Allegro headers.
Retrieves a handle to the window used by Allegro. Note that Allegro
uses an underlying window even though you don't set any graphics mode,
unless you have installed the neutral system driver (SYSTEM_NONE).
Back to Contents