mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01: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();
|
|
}
|