Name
ggiSetGCForeground, ggiGetGCForeground, ggiSetGCBackground, ggiGetGCBackground — Set or get the foreground or background color used in drawing
operations in a visual
Synopsis
#include <ggi/ggi.h>
int ggiSetGCForeground( | vis, | |
| color) ; | |
ggi_visual_t | vis; |
ggi_pixel | color; |
int ggiGetGCForeground( | vis, | |
| color) ; | |
ggi_visual_t | vis; |
ggi_pixel * | color; |
int ggiSetGCBackground( | vis, | |
| color) ; | |
ggi_visual_t | vis; |
ggi_pixel | color; |
int ggiGetGCBackground( | vis, | |
| color) ; | |
ggi_visual_t | vis; |
ggi_pixel * | color; |
Description
ggiSetGCForeground and
ggiGetGCForeground set or reads
the current colors for the foreground, used in all normal drawing
functions.
ggiSetGCBackground and
ggiGetGCBackground set or reads
the current colors for the background, used in two-color operations like
drawing text.
Return value
All four functions 0 for OK.