cangine
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
color.hpp File Reference
#include <cassert>
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

struct  cangine::Color
 RGBA color stored as normalized floating-point components. More...
 

Namespaces

namespace  cangine
 
namespace  cangine::Colors
 Predefined commonly used opaque colors.
 

Variables

const Color cangine::Colors::BLACK (0, 0, 0)
 Black.
 
const Color cangine::Colors::WHITE (255, 255, 255)
 White.
 
const Color cangine::Colors::GRAY (128, 128, 128)
 Medium gray.
 
const Color cangine::Colors::DARK_GRAY (99, 99, 99)
 Dark gray.
 
const Color cangine::Colors::RED (255, 0, 0)
 Pure red.
 
const Color cangine::Colors::GREEN (0, 255, 0)
 Pure green.
 
const Color cangine::Colors::BLUE (0, 0, 255)
 Pure blue.