rayzor

view src/renderer.h @ 14:a9a948809c6f

starting the renderer screen, plus misc stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Apr 2014 08:06:21 +0300
parents 70e332156d02
children be616b58df99
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);
21 };
23 #endif // RENDERER_H_