aa_autoinit3
Easy to use aa-lib initialization function.
Usage
#include <aalib.h>
aa_context *aa_autoinit(const struct aa_hardware_params *params);
Parameters
- const struct aa_hardware_params *params
-
Hardware parameters you want. Use aa_defparams for default values.
Overview
Attempts to find available output driver supporting the specified parameters. First attempts to initialize the recommended drivers and then in order drivers available in the aa_drivers array (all regular output drivers compiled into AA-lib).
Returns
Pointer to initialized context structure when succesfull or NULL on failure.
Releases
Unchanged in 13 releases since Debian 3.0 (Woody).
See also
save_d(3)
AA-lib driver used to save ascii-art image into file in used specified format.
mem_d(3)
AA-lib memory driver.
aa_help(3)
AA-lib help string for the default command line parser.
aa_formats(3)
NULL terminated array of save formats supported by AA-lib.
aa_fonts(3)
Null-terminated array of available fonts.
aa_dithernames(3)
Names of dithering methods supported by AA-lib.
aa_drivers(3)
NULL-terminated array of output drivers available in AA-lib.
aa_kbddrivers(3)
NULL-terminated array of keyboard drivers available in AA_lib.
aa_mousedrivers(3)
NULL terminated array of mouse drivers supported by AA-lib.
aa_kbdrecommended(3)
List of recommended drivers.
aa_mouserecommended(3)
List of recommended drivers.
aa_displayrecommended(3)
List of recommended drivers.
aa_defparams(3)
default hardware paramters requested by AA-lib programs.
aa_defrenderparams(3)
default rendering parameters.
aa_scrwidth(3)
returns width of the output screen in characters.
aa_scrheight(3)
returns height of the output screen in characters.
aa_mmwidth(3)
returns width of the output screen in millimeters.
aa_mmheight(3)
returns height of the output screen in millimeters.
aa_imgwidth(3)
returns width of the emulated image in pixels.
aa_imgheight(3)
returns height of the emulated image in pixels.
aa_image(3)
returns pointer to the framebuffer emulated by AA-lib.
aa_text(3)
returns pointer to the text output buffer used by AA-lib.
aa_attrs(3)
returns pointer to the text output buffer used by AA-lib.
aa_currentfont(3)
returns specification of the fonts used by AA-lib rendering routines.
aa_autoinitkbd(3)
easy to use AA-lib keyboard initialization function.
aa_autoinitmouse(3)
easy to use AA-lib mouse initialization function.
aa_recommendhi(3)
insert the given driver on beggining of the list of recommended drivers.
aa_recommendlow(3)
Add the given driver to the end of list of recommended drivers.
aa_init(3)
open the output display for AA-lib.
aa_initkbd(3)
initialize the AA-lib keyboard driver.
aa_initmouse(3)
initialize the AA-lib mouse driver.
aa_close(3)
close the AA-lib context.
aa_uninitkbd(3)
uninitialize the keyboard driver.
aa_uninitmouse(3)
uninitialize the mouse driver.
aa_fastrender(3)
simple and fast AA-lib rendering function.
aa_render(3)
convert image buffer to ASCII-art.
aa_puts(3)
output string to AA-lib output buffers.
aa_printf(3)
print text to AA-lib output buffers.
aa_gotoxy(3)
move the hardware cursor (if any) to specified position.
aa_hidecursor(3)
hide the hardware cursor.
aa_showcursor(3)
show the hardware cursor.
aa_getmouse(3)
Get mouse position as specified by last mouse event read by aa_getevent.
aa_hidemouse(3)
hide the mouse cursor.
aa_showmouse(3)
show the mouse cursor.
aa_registerfont(3)
add new font specification to aa_fonts array.
aa_setsupported(3)
alter the "supported" field of hardware_params structure used by AA-lib
aa_setfont(3)
set font specification to be used by rendering functions.
aa_getevent(3)
keyboard functions
aa_getkey(3)
return next keypress event from queue.
aa_resize(3)
resize functions
aa_resizehandler(3)
Set user handler to be called on resize event.
aa_parseoptions(3)
parse the standard command line options used by AA-lib.
aa_edit(3)
Simple interactive line editor.
aa_createedit(3)
Simple interactive line editor provided as helper function.
aa_editkey(3)
Notify the line editor about keypress.
aa_putpixel(3)
put pixel to emulated framebuffer
aa_recommendhikbd(3)
insert the given driver on beggining of the list of recommended keyboard drivers.
aa_recommendlowkbd(3)
Add the given driver to the end of list of keyboard recommended drivers.
aa_recommendhimouse(3)
insert the given driver on beggining of the list of recommended mouse drivers.
aa_recommendlowmouse(3)
Add the given driver to the end of list of mouse recommended drivers.
aa_recommendhidisplay(3)
insert the given driver on beggining of the list of recommended display drivers.
aa_recommendlowdisplay(3)
Add the given driver to the end of list of display recommended drivers.
Referred to by
mem_d(3)
AA-lib memory driver.
save_d(3)
AA-lib driver used to save ascii-art image into file in used specified format.
aa_edit(3)
Simple interactive line editor.
aa_help(3)
AA-lib help string for the default command line parser.
aa_init(3)
open the output display for AA-lib.
aa_puts(3)
output string to AA-lib output buffers.
aa_text(3)
returns pointer to the text output buffer used by AA-lib.
aa_attrs(3)
returns pointer to the text output buffer used by AA-lib.
aa_close(3)
close the AA-lib context.
aa_fonts(3)
Null-terminated array of available fonts.
aa_image(3)
returns pointer to the framebuffer emulated by AA-lib.
aa_getkey(3)
return next keypress event from queue.
aa_gotoxy(3)
move the hardware cursor (if any) to specified position.
aa_printf(3)
print text to AA-lib output buffers.
aa_render(3)
convert image buffer to ASCII-art.
aa_resize(3)
resize functions
aa_drivers(3)
NULL-terminated array of output drivers available in AA-lib.
aa_editkey(3)
Notify the line editor about keypress.
aa_formats(3)
NULL terminated array of save formats supported by AA-lib.
aa_initkbd(3)
initialize the AA-lib keyboard driver.
aa_mmwidth(3)
returns width of the output screen in millimeters.
aa_setfont(3)
set font specification to be used by rendering functions.
aa_getevent(3)
keyboard functions
aa_getmouse(3)
Get mouse position as specified by last mouse event read by aa_getevent.
aa_imgwidth(3)
returns width of the emulated image in pixels.
aa_mmheight(3)
returns height of the output screen in millimeters.
aa_putpixel(3)
put pixel to emulated framebuffer
aa_scrwidth(3)
returns width of the output screen in characters.
aa_defparams(3)
default hardware paramters requested by AA-lib programs.
aa_hidemouse(3)
hide the mouse cursor.
aa_imgheight(3)
returns height of the emulated image in pixels.
aa_initmouse(3)
initialize the AA-lib mouse driver.
aa_scrheight(3)
returns height of the output screen in characters.
aa_showmouse(3)
show the mouse cursor.
aa_uninitkbd(3)
uninitialize the keyboard driver.
aa_createedit(3)
Simple interactive line editor provided as helper function.
aa_fastrender(3)
simple and fast AA-lib rendering function.
aa_hidecursor(3)
hide the hardware cursor.
aa_kbddrivers(3)
NULL-terminated array of keyboard drivers available in AA_lib.
aa_showcursor(3)
show the hardware cursor.
aa_autoinitkbd(3)
easy to use AA-lib keyboard initialization function.
aa_currentfont(3)
returns specification of the fonts used by AA-lib rendering routines.
aa_dithernames(3)
Names of dithering methods supported by AA-lib.
aa_recommendhi(3)
insert the given driver on beggining of the list of recommended drivers.
aa_uninitmouse(3)
uninitialize the mouse driver.
aa_mousedrivers(3)
NULL terminated array of mouse drivers supported by AA-lib.
aa_parseoptions(3)
parse the standard command line options used by AA-lib.
aa_recommendlow(3)
Add the given driver to the end of list of recommended drivers.
and 14 more pages.