Xiqual 0.9.1

In file include/views.h:

typedef struct xiview

This is a view, for use as sprites, message boxes, or anything else that might need to store the rectangle it is blitted over.

[more]struct xiview *next
Next view, if used in a List
[more]struct xiview *prev
Previous view, if used in a List
[more]char* name
Optional name for this view
[more]SDL_Surface* store
Rectangle we blitted this view over (available by default)
[more]SDL_Surface* image
The image to blit onto screen
[more]SDL_Surface* screen
This is the SDL_Surface that this view is tied to.
[more]ulong flags
Various xiview flags, as documented in view_new()
[more]Uint32 bgcol
This will be used as fill colour if XIV_FILLBACK is defined in flags, or a colourkey unless XIV_NOKEY is defined
[more]int w
Width of area to blit onto
[more]int h
Height of area to blit onto
[more]int x
X position in screen
[more]int y
Y position in screen
[more]char hidden
TRUE if hidden by view_hide()


Documentation

This is a view, for use as sprites, message boxes, or anything else that might need to store the rectangle it is blitted over.
ostruct xiview *next
Next view, if used in a List

ostruct xiview *prev
Previous view, if used in a List

ochar* name
Optional name for this view

oSDL_Surface* store
Rectangle we blitted this view over (available by default)

oSDL_Surface* image
The image to blit onto screen

oSDL_Surface* screen
This is the SDL_Surface that this view is tied to. Note that there is nothing stopping you from using any old surface to blit onto.

oulong flags
Various xiview flags, as documented in view_new()

oUint32 bgcol
This will be used as fill colour if XIV_FILLBACK is defined in flags, or a colourkey unless XIV_NOKEY is defined

oint w
Width of area to blit onto

oint h
Height of area to blit onto

oint x
X position in screen

oint y
Y position in screen

ochar hidden
TRUE if hidden by view_hide()

Author:
Ronny Bangsund
See Also:
view_new(), view_show(), view_hide()

Alphabetic index



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