rayzor
view src/renderer.h @ 18:859ccadca671
portability fixes
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 14 Apr 2014 18:35:37 +0300 |
parents | be616b58df99 |
children |
line source
1 #ifndef RENDERER_H_
2 #define RENDERER_H_
4 #include "screen.h"
6 struct RendererImpl;
8 class Renderer : public Screen {
9 private:
10 RendererImpl *rend;
12 public:
13 Renderer();
15 bool init();
16 void shutdown();
18 void draw() const;
20 void handle_keyboard(int key, bool press);
22 void message(MsgAtom msg, ...);
23 };
25 #endif // RENDERER_H_