#ifndef COLOR_H_INCLUDED
#define COLOR_H_INCLUDED

#include "graphics.hpp"

/// Színek tárolására alkalmas rekord

struct Color
{
    unsigned char r,g,b;
    Color();
    Color (unsigned char r0, unsigned char g0, unsigned char b0);
    void setValue(unsigned char r0, unsigned char g0, unsigned char b0);
    void setValue(const Color &temp);
    void getValue(unsigned char &r0, unsigned char &g0, unsigned char &b0) const;
};

const Color black = Color(0, 0, 0);
const Color white = Color(255, 255, 255);
const Color backgroundColor = Color(230, 230, 240);
const Color activeColor = Color(200, 215, 200);

// Rajzolás színének beállítása
void colorize(const Color &temp);

#endif // COLOR_H_INCLUDED
