mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +00:00
Intense hacking on Widgets.
This commit is contained in:
parent
8c84f9749e
commit
6f37429f57
Notes:
sideshowbarker
2024-07-19 18:51:18 +09:00
Author: https://github.com/awesomekling
Commit: 6f37429f57
20 changed files with 290 additions and 5 deletions
|
@ -1,9 +1,19 @@
|
|||
#include "FrameBufferSDL.h"
|
||||
#include <AK/Assertions.h>
|
||||
|
||||
FrameBufferSDL* s_the = nullptr;
|
||||
|
||||
FrameBufferSDL& FrameBufferSDL::the()
|
||||
{
|
||||
ASSERT(s_the);
|
||||
return *s_the;
|
||||
}
|
||||
|
||||
FrameBufferSDL::FrameBufferSDL(unsigned width, unsigned height)
|
||||
: AbstractScreen(width, height)
|
||||
{
|
||||
ASSERT(!s_the);
|
||||
s_the = this;
|
||||
initializeSDL();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue