JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Color.hpp File Reference

Contains jngl::Color class. More...

#include "Rgb.hpp"
Include dependency graph for Color.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Contains jngl::Color class.

Definition in file Color.hpp.