|
JNGL
Easy to use cross-platform 2D game library
|
Contains jngl::Color class. More...
#include "Rgb.hpp"Go to the source code of this file.
Classes | |
| class | Color |
| Object representing a RGB color. More... | |
Namespaces | |
| namespace | jngl |
| JNGL's main namespace. | |
Functions | |
| Color | interpolate (Color a, Color b, float t) |
| Returns a color mix between a (t == 0) and b (t == 1) | |
| void | setBackgroundColor (jngl::Rgb) |
| Sets the screen's background color which is visible when nothing is drawn. | |
| void | setBackgroundColor (unsigned char red, unsigned char green, unsigned char blue) |
| Sets the screen's background color which is visible when nothing is drawn. | |
Contains jngl::Color class.
Definition in file Color.hpp.