mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-15 16:48:24 +03:00
18 lines
269 B
C++
18 lines
269 B
C++
|
#include "FrameBufferSDL.h"
|
||
|
#include "EventLoopSDL.h"
|
||
|
#include "RootWidget.h"
|
||
|
#include <cstdio>
|
||
|
|
||
|
int main(int c, char** v)
|
||
|
{
|
||
|
FrameBufferSDL fb(800, 600);
|
||
|
fb.show();
|
||
|
|
||
|
EventLoopSDL loop;
|
||
|
|
||
|
RootWidget w;
|
||
|
fb.setRootWidget(&w);
|
||
|
|
||
|
return loop.exec();
|
||
|
}
|