rayzor

annotate 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
rev   line source
nuclear@9 1 #ifndef RENDERER_H_
nuclear@9 2 #define RENDERER_H_
nuclear@9 3
nuclear@9 4 #include "screen.h"
nuclear@9 5
nuclear@14 6 struct RendererImpl;
nuclear@14 7
nuclear@9 8 class Renderer : public Screen {
nuclear@14 9 private:
nuclear@14 10 RendererImpl *rend;
nuclear@14 11
nuclear@9 12 public:
nuclear@9 13 Renderer();
nuclear@9 14
nuclear@14 15 bool init();
nuclear@14 16 void shutdown();
nuclear@14 17
nuclear@9 18 void draw() const;
nuclear@14 19
nuclear@14 20 void handle_keyboard(int key, bool press);
nuclear@9 21 };
nuclear@9 22
nuclear@9 23 #endif // RENDERER_H_