mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Intense hacking on Widgets.
This commit is contained in:
parent
8c84f9749e
commit
6f37429f57
20 changed files with 290 additions and 5 deletions
7
Widgets/ColorSDL.cpp
Normal file
7
Widgets/ColorSDL.cpp
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue