rayzor
annotate 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 |
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@15 | 21 |
nuclear@17 | 22 void message(MsgAtom msg, ...); |
nuclear@9 | 23 }; |
nuclear@9 | 24 |
nuclear@9 | 25 #endif // RENDERER_H_ |