libwallaby  v24
The wallaby standard library
color.hpp
Go to the documentation of this file.
1 /*
2  * color.hpp
3  *
4  * Created on: Nov 13, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_COLOR_HPP_
9 #define INCLUDE_WALLABY_COLOR_HPP_
10 
11 
12 
13 #include "export.h"
14 
15 struct Rgb
16 {
17  unsigned char r;
18  unsigned char g;
19  unsigned char b;
20 };
21 
22 struct Hsv
23 {
24  unsigned char h;
25  unsigned char s;
26  unsigned char v;
27 };
28 
29 
30 
31 #endif /* INCLUDE_WALLABY_COLOR_HPP_ */
Rgb::r
unsigned char r
Definition: color.hpp:17
Rgb::b
unsigned char b
Definition: color.hpp:19
Hsv::v
unsigned char v
Definition: color.hpp:26
Hsv::s
unsigned char s
Definition: color.hpp:25
Hsv::h
unsigned char h
Definition: color.hpp:24
Rgb
Definition: color.hpp:15
Hsv
Definition: color.hpp:22
Rgb::g
unsigned char g
Definition: color.hpp:18
export.h