mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
b999a77d0f
Now it has a text() which is what you'll usually want.
17 lines
307 B
C++
17 lines
307 B
C++
#pragma once
|
|
|
|
#include "Event.h"
|
|
#include "EventLoop.h"
|
|
#include <SDL.h>
|
|
|
|
class EventLoopSDL final : public EventLoop {
|
|
public:
|
|
EventLoopSDL();
|
|
virtual ~EventLoopSDL() override;
|
|
|
|
private:
|
|
virtual void waitForEvent() override;
|
|
|
|
void handleKeyEvent(Event::Type, const SDL_KeyboardEvent&);
|
|
};
|
|
|