rayzor
annotate src/modeller.h @ 22:5380ff64e83f
minor changes from dos, and line endings cleanup
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 02 May 2014 14:32:58 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@9 | 1 #ifndef MODELLER_H_ |
nuclear@9 | 2 #define MODELLER_H_ |
nuclear@9 | 3 |
nuclear@9 | 4 #include "screen.h" |
nuclear@9 | 5 |
nuclear@9 | 6 struct ModellerImpl; |
nuclear@9 | 7 |
nuclear@9 | 8 class Modeller : public Screen { |
nuclear@9 | 9 private: |
nuclear@9 | 10 ModellerImpl *mod; |
nuclear@9 | 11 |
nuclear@9 | 12 public: |
nuclear@9 | 13 Modeller(); |
nuclear@9 | 14 ~Modeller(); |
nuclear@9 | 15 |
nuclear@9 | 16 bool init(); |
nuclear@9 | 17 void shutdown(); |
nuclear@9 | 18 |
nuclear@9 | 19 void draw() const; |
nuclear@9 | 20 |
nuclear@9 | 21 void handle_keyboard(int key, bool press); |
nuclear@9 | 22 void handle_mbutton(int bn, bool press, int x, int y); |
nuclear@9 | 23 void handle_mmotion(int x, int y); |
nuclear@9 | 24 }; |
nuclear@9 | 25 |
nuclear@9 | 26 #endif // MODELLER_H_ |