mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
8 lines
165 B
C++
8 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);
|
|
}
|