Xiqual 0.9.1

In file xigfx/xi_init.c:

xiglob* xi_init

(ulong tag1, ... )

Initialise Xiqual and all SDL subsystems.

Documentation

Initialise Xiqual and all SDL subsystems. The tags supplied allow you to selectively initialise some SDL subsystems, create a mousepointer from an SDL_image supported file and more.

To intialise all supported SDL libraries and create the xiglob structure, with an 800x600x16 display:

xi_init(XI_WIDTH, 800,
XI_HEIGHT, 600,
XI_DEPTH, 16, TAG_END);

This creates a mouse cursor, and tells Xiqual to also handle the cursor, in addition to opening a typical display:

xi_init(XI_WIDTH, 800,
XI_HEIGHT, 600,
XI_DEPTH, 16,
XI_CURSORFILE, "cursor.png",
TAG_END);

Supported tags

Xiqual settings and hooks

SDL settings

SDL_mixer settings

SDL TTF settings

LUI settings

Author:
Ronny Bangsund
See Also:
xi_inittag(), xi_main(), xi_quit(), SDL_Init(), Mix_OpenAudio(), lui_init(), xiglob

Alphabetic index



This page was generated with the help of DOC++.