Fulguro Logo Support This Project

Video Display
[Realtime Tools]


Detailed Description

Video display management.


Functions

FLGR_RtView2Dflgr2d_rtview_create (FLGR_Data2D *data, int size_yfactor, int size_xfactor)
void flgr2d_rtview_destroy (FLGR_RtView2D *screen)
 destroy window
FLGR_Ret flgr2d_rtview_refresh (FLGR_RtView2D *screen, FLGR_Data2D *data, int size_ypos, int size_xpos)
 refresh a part of the window with an image
FLGR_Ret flgr2d_rtview_set_palette (FLGR_RtView2D *screen, int *rTable, int *gTable, int *bTable)
 Apply the palette in the RtView structure on the window.


Function Documentation

FLGR_RtView2D* flgr2d_rtview_create ( FLGR_Data2D data,
int  size_yfactor,
int  size_xfactor 
)

Create the window

Parameters:
data : pointer to image to be used for setting size and type during window creation
size_yfactor : an integer to define how many image to be displayed in vertical
size_xfactor : an integer to define how many image to be displayed in horizontal
Returns:
pointer to a FLGR_RtView2D structure
Examples:
example1.c.

Definition at line 40 of file flgrRtView.c.

void flgr2d_rtview_destroy ( FLGR_RtView2D screen  ) 

destroy window

Parameters:
screen : pointer to the window structure
Returns:
nothing
Examples:
example1.c.

Definition at line 175 of file flgrRtView.c.

FLGR_Ret flgr2d_rtview_refresh ( FLGR_RtView2D screen,
FLGR_Data2D data,
int  size_ypos,
int  size_xpos 
)

refresh a part of the window with an image

Parameters:
screen : pointer to the window structure
data : pointer to image to be used for window refresh
size_ypos : an integer to define vertical image position in the window
size_xpos : an integer to define horizontal image position in the window
Returns:
FLGR_RET_OK, ...
Examples:
example1.c.

Definition at line 118 of file flgrRtView.c.

FLGR_Ret flgr2d_rtview_set_palette ( FLGR_RtView2D screen,
int *  rTable,
int *  gTable,
int *  bTable 
)

Apply the palette in the RtView structure on the window.

Parameters:
screen : pointer to the window structure
rTable : integer array of size 256 for red color table
gTable : integer array of size 256 for green color table
bTable : integer array of size 256 for blue color table
Returns:
FLGR_RET_OK, ...

Definition at line 193 of file flgrRtView.c.


SourceForge.net Logo
Generated on Tue Nov 11 19:17:29 2008 for Fulguro by doxygen 1.5.6