DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

miPointerSpriteFuncRec(D4nfb)


miPointerSpriteFuncRec -- software sprite structure

Synopsis

#include "mipointer.h"

Description

The mi layer provides a software sprite module with hooks that require various levels of support. One of the easiest to use is in the display cursor module found in ../X11/server/ddx/mi/midispcur.c. (where ../X11 is the root of the X Link Kit filesystem).

Structure definition

typedef struct {
    Bool	(*RealizeCursor)();	/* pScreen, pCursor */
    Bool	(*UnrealizeCursor)();	/* pScreen, pCursor */
    void	(*SetCursor)();		/* pScreen, pCursor, x, y */
    void	(*MoveCursor)();	/* pScreen, x, y */
} miPointerSpriteFuncRec, *miPointerSpriteFuncPtr;

Structure members

The members are:

RealizeCursor
Pointer and prototype for the routine called by the dix layer before displaying a cursor on a screen for the first time. pScreen points to the ScreenRec structure on which the sprite is to be realized. pCursor points to the CursorRec structure that defines the sprite to be realized.

UnrealizeCursor)
Pointer and prototype for the routine called by the dix layer just before a sprite is destroyed. The routine frees all resources allocated by the RealizeCursor routine. pScreen points to the ScreenRec structure on which the sprite is to be destroyed. pCursor points to the CursorRec structure that defines the sprite to be destroyed.

SetCursor)
Pointer and prototype for the routine called by the dix layer to display a sprite image on a given screen.

(*MoveCursor)
Pointer and prototype for the routine called by the dix layer to change the position of the sprite.

Version applicability

This structure is supported for NFB drivers on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005