Allegro.pas 4.4Introduction Units Class Hierarchy Classes, Interfaces, Objects and Records Types Variables Constants Functions and Procedures Identifiers Examples, tools and demo game
|
Unit alUNIX
Description
UNIX and Linux specific stuff.
In most cases, an UNIX or Linux program that uses the Allegro library doesn't need this unit.
Overview
Functions and Procedures
Constants
Variables
Description
Functions and Procedures
PROCEDURE al_xwin_set_window_name (CONST name, group: AL_STR); CDECL; EXTERNAL ALLEGRO_SHARED_LIBRARY_NAME NAME 'xwin_set_window_name'; |
This function is only available under X. It lets you to specify the window name and group (or class). They are important because they allow the window manager to remember the window attributes (position, layer, etc). Note that the name and the title of the window are two different things: the title is what appears in the title bar of the window, but usually has no other effects on the behaviour of the application.
See also
- al_set_window_title
- On platforms that are capable of it, this routine alters the window title for your Allegro program.
|
Constants
AL_SYSTEM_XWINDOWS = $5857494E; |
X Windows system driver.
See also
- al_install
- Initialises the Allegro library.
|
AL_SYSTEM_LINUX = $4C4E5843; |
Linux system driver.
See also
- al_install
- Initialises the Allegro library.
|
AL_GFX_XWINDOWS = $47444942; |
The standard X graphics driver. This should work on any Unix system, and can operate remotely. It does not require root permissions. If the ARGB cursor extension is available, this driver is capable of displaying a hardware cursor. This needs to be enabled by calling al_enable_hardware_cursor because it cannot be used reliably alongside al_get_mouse_mickeys.
See also
- al_set_gfx_mode
- Switches into graphics mode.
- AL_GFX_XWINDOWS_FULLSCREEN
- The same as
AL_GFX_XWINDOWS , but while AL_GFX_XWINDOWS runs windowed, this one uses the XF86VidMode extension to make it run in fullscreen mode even without root permissions.
|
AL_GFX_XWINDOWS_FULLSCREEN = $58574653; |
The same as AL_GFX_XWINDOWS , but while AL_GFX_XWINDOWS runs windowed, this one uses the XF86VidMode extension to make it run in fullscreen mode even without root permissions. You're still using the standard X protocol though, so expect the same low performances as with the windowed driver version. If the ARGB cursor extension is available, this driver is capable of displaying a hardware cursor. This needs to be enabled by calling al_enable_hardware_cursor because it cannot be used reliably alongside al_get_mouse_mickeys.
See also
- al_set_gfx_mode
- Switches into graphics mode.
- AL_GFX_XWINDOWS
- The standard X graphics driver.
|
AL_GFX_XDGA2 = $44474132; |
Uses new DGA 2.0 extension provided by XFree86 4.0.x. This will work in fullscreen mode, and it will support hardware acceleration if available. This driver requires root permissions.
See also
- al_set_gfx_mode
- Switches into graphics mode.
- AL_GFX_XDGA2_SOFT
- The same as
AL_GFX_XDGA2 , but turns off hardware acceleration support.
|
AL_GFX_XDGA2_SOFT = $44474153; |
The same as AL_GFX_XDGA2 , but turns off hardware acceleration support. This driver requires root permissions.
See also
- al_set_gfx_mode
- Switches into graphics mode.
- AL_GFX_XDGA2
- Uses new DGA 2.0 extension provided by XFree86 4.0.x.
|
AL_GFX_FBCON = $46422020; |
Uses the framebuffer device (eg. /dev/fb0 ). This requires you to have framebuffer support compiled into your kernel, and correctly configured for your hardware. It is currently the only console mode driver that will work without root permissions, unless you are using a development version of SVGAlib.
See also
- al_set_gfx_mode
- Switches into graphics mode.
|
AL_GFX_VBEAF = $56424146; |
Uses a VBE/AF driver (vbeaf.drv ), assuming that you have installed one which works under Linux (currently only two of the FreeBE/AF project drivers are capable of this: I don't know about the SciTech ones). VBE/AF requires root permissions, but is currently the only Linux driver which supports hardware accelerated graphics.
Note: Previous paragraph may be outdated.
See also
- al_set_gfx_mode
- Switches into graphics mode.
|
AL_GFX_SVGALIB = $53564741; |
Uses the SVGAlib library for graphics output. This requires root permissions if your version of SVGAlib requires them.
See also
- al_set_gfx_mode
- Switches into graphics mode.
|
AL_GFX_VGA = $56474120; |
Uses direct hardware access to set standard VGA resolutions, supporting the same modes as in the DOS version of this driver. Requires root permissions.
See also
- al_set_gfx_mode
- Switches into graphics mode.
|
AL_GFX_MODEX = $4D4F4458; |
Uses direct hardware access to set standard but not documented Mode-X resolutions, supporting the same modes as in the DOS version of this driver. Requires root permissions.
See also
- al_set_gfx_mode
- Switches into graphics mode.
|
AL_DIGI_OSS = $4F535344; |
Open Sound System.
See also
- al_install_sound
- Initialises the sound module.
|
AL_DIGI_ESD = $45534444; |
Enlightened Sound Daemon.
See also
- al_install_sound
- Initialises the sound module.
|
AL_DIGI_ARTS = $41525453; |
aRts (Analog Real-Time Synthesizer).
See also
- al_install_sound
- Initialises the sound module.
|
AL_DIGI_ALSA = $414C5341; |
ALSA sound driver.
See also
- al_install_sound
- Initialises the sound module.
|
AL_DIGI_JACK = $4A41434B; |
JACK sound driver.
See also
- al_install_sound
- Initialises the sound module.
|
AL_MIDI_OSS = $4F53534D; |
Open Sound System.
See also
- al_install_sound
- Initialises the sound module.
|
AL_MIDI_ALSA = $414D4944; |
ALSA RawMIDI driver.
See also
- al_install_sound
- Initialises the sound module.
|
AL_JOY_TYPE_LINUX_ANALOGUE = $4C4E5841; |
Regular joystick interface. Joystick support needs to be enabled in your kernel.
See also
- al_install_joystick
- Installs Allegro's joystick handler, and calibrates the centre position values.
|
Variables
allegro_icon: AL_VOIDptr; EXTERNAL ALLEGRO_SHARED_LIBRARY_NAME; |
This is a pointer to the Allegro X11 icon, which is in the format of standard .xpm bitmap data. You do not normally have to bother with this at all: you can use the xfixicon.sh utility from the tools/x11 directory to convert a true colour bitmap to a C file that you only need to link with your own code to set the icon.
|
Generated by PasDoc 0.13.0 on 2016-07-20 12:01:36
|