Functions | |
FLGR_RtView2D * | flgr2d_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. |
FLGR_RtView2D* flgr2d_rtview_create | ( | FLGR_Data2D * | data, | |
int | size_yfactor, | |||
int | size_xfactor | |||
) |
Create the window
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 |
Definition at line 40 of file flgrRtView.c.
void flgr2d_rtview_destroy | ( | FLGR_RtView2D * | screen | ) |
destroy window
screen | : pointer to the window structure |
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
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 |
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.
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 |
Definition at line 193 of file flgrRtView.c.