mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03: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);
|
|
}
|