Other Alias
ggiSetTextMode, ggiSetGraphModeSYNOPSIS
#include <ggi/ggi.h>
int ggiSetTextMode(ggi_visual_t visual, int cols, int rows,
int vcols, int vrows, int fontx, int fonty,
ggi_graphtype type);
int ggiSetGraphMode(ggi_visual_t visual, int x, int y,
int xv, int yv, ggi_graphtype type);
int ggiSetSimpleMode(ggi_visual_t visual, int xsize, int ysize,
int frames, ggi_graphtype type);
DESCRIPTION
- Important: These functions are DEPRECATED and may be removed from a future version of GGI.
RETURN VALUE
The functions return 0 if the mode is set successfully, otherwise an ggi-error(3) code.NOTES
Do not set a mode before checking it. You may be able to set up a certain mode on one target, but not other targets.See the example in ggiCheckMode(3).