mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:48:14 +00:00
7 lines
165 B
C++
7 lines
165 B
C++
#include "Color.h"
|
|
#include "FrameBufferSDL.h"
|
|
|
|
Color::Color(byte r, byte g, byte b)
|
|
{
|
|
m_value = SDL_MapRGB(FrameBufferSDL::the().surface()->format, r, g, b);
|
|
}
|