MiniEngine/SDLWrapper/RGBA.h

17 lines
278 B
C++

#pragma once
#include "include.h"
#include "begin_code.h"
class RGBA
{
public:
int r, g, b, a;
RGBA(int R, int G, int B, int A);
RGBA(ColorMode mode, int A);
RGBA();
SDL_Color toSDLColor() const;
ColorMode toColorMode() const;
};
#include "end_code.h"