Intense hacking on Widgets.

This commit is contained in:
Andreas Kling 2018-10-10 16:49:36 +02:00
commit 6f37429f57
Notes: sideshowbarker 2024-07-19 18:51:18 +09:00
20 changed files with 290 additions and 5 deletions

7
Widgets/ColorSDL.cpp Normal file
View file

@ -0,0 +1,7 @@
#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);
}