Functions | |
void | setPixel (int x, int y, unsigned int color) |
void | putChar (int x, int y, char ch, int bgColor, int textColor) |
void | putStr (int x, int y, char *str, int bgColor, int textColor) |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
Screen functions
void putChar | ( | int | x, |
int | y, | ||
char | ch, | ||
int | bgColor, | ||
int | textColor | ||
) |
Draws a char to the screen using the charmap.
x | X coordinate |
y | Y coordinate |
ch | Char to draw |
bgColor | Background color of the character |
textColor | Color of the character |
void putStr | ( | int | x, |
int | y, | ||
char * | str, | ||
int | bgColor, | ||
int | textColor | ||
) |
Draws a string to the screen using the charmap.
x | X coordinate |
y | Y coordinate |
str | String to draw |
bgColor | Background color of the character |
textColor | Color of the character |
void setPixel | ( | int | x, |
int | y, | ||
unsigned int | color | ||
) |
Draws a pixel to the screen.
x | X coordinate |
y | Y coordinate |
color | Pixel color |