mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
19 lines
313 B
C++
19 lines
313 B
C++
#pragma once
|
|
#include "include.h"
|
|
#include "ColorMode.h"
|
|
|
|
namespace MiniEngine {
|
|
|
|
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;
|
|
};
|
|
|
|
} /// End of namespace MiniEngine
|