VgaGames 3 - Miscellaneous man-pages

[.. upper level ..]

VG3_keys_new()

[added in version 1.2]

Return an initialized empty keys-struct.
SYNTAX
struct vg3_keys * VG3_keys_new(struct vg3_window *wstruct, struct vg3_sysmenu *sysm)

FUNCTION PARAMETERS
wstruct Window-struct
sysm System-menu-struct

RETURN VALUE
Returns a pointer to the created keys-structure, or NULL on failure

ERRORS
On error VG3_errmsg() returns: EINVAL - error in argument

DESCRIPTION
Create and initialize a keys-structure and return it.

SEE ALSO
VG3_keys_free() VG3_keys_menu_insert() VG3_keys_nw_addkeys() VG3_keys_key_ispressed()