Polytech Tours - Projet C++ embarqué sur cible mbed

Dependencies:   mbed

Committer:
LecomteDelys
Date:
Sun Apr 24 15:43:51 2016 +0000
Revision:
0:21e183c9ef81
Programme final

Who changed what in which revision?

UserRevisionLine numberNew contents of line
LecomteDelys 0:21e183c9ef81 1 #ifndef COLORMANAGER_H
LecomteDelys 0:21e183c9ef81 2 #define COLORMANAGER_H
LecomteDelys 0:21e183c9ef81 3
LecomteDelys 0:21e183c9ef81 4 #ifndef COLOR_H
LecomteDelys 0:21e183c9ef81 5 #define COLOR_H
LecomteDelys 0:21e183c9ef81 6 #include "Color.h"
LecomteDelys 0:21e183c9ef81 7 #endif
LecomteDelys 0:21e183c9ef81 8
LecomteDelys 0:21e183c9ef81 9 #include "mbed.h"
LecomteDelys 0:21e183c9ef81 10 #include <iostream>
LecomteDelys 0:21e183c9ef81 11
LecomteDelys 0:21e183c9ef81 12 class ColorManager
LecomteDelys 0:21e183c9ef81 13 {
LecomteDelys 0:21e183c9ef81 14 public :
LecomteDelys 0:21e183c9ef81 15 // Méthodes
LecomteDelys 0:21e183c9ef81 16 void HSVtoRGB(RGB &rgb, HSV &hsv);
LecomteDelys 0:21e183c9ef81 17 void RGBtoHSV(RGB &rgb, HSV &hsv);
LecomteDelys 0:21e183c9ef81 18 Colour_t getColorFromHue(double hue);
LecomteDelys 0:21e183c9ef81 19 };
LecomteDelys 0:21e183c9ef81 20
LecomteDelys 0:21e183c9ef81 21 #endif