rayzor
diff src/modeller.h @ 9:70e332156d02
moving along
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 10 Apr 2014 02:31:31 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/modeller.h Thu Apr 10 02:31:31 2014 +0300 1.3 @@ -0,0 +1,26 @@ 1.4 +#ifndef MODELLER_H_ 1.5 +#define MODELLER_H_ 1.6 + 1.7 +#include "screen.h" 1.8 + 1.9 +struct ModellerImpl; 1.10 + 1.11 +class Modeller : public Screen { 1.12 +private: 1.13 + ModellerImpl *mod; 1.14 + 1.15 +public: 1.16 + Modeller(); 1.17 + ~Modeller(); 1.18 + 1.19 + bool init(); 1.20 + void shutdown(); 1.21 + 1.22 + void draw() const; 1.23 + 1.24 + void handle_keyboard(int key, bool press); 1.25 + void handle_mbutton(int bn, bool press, int x, int y); 1.26 + void handle_mmotion(int x, int y); 1.27 +}; 1.28 + 1.29 +#endif // MODELLER_H_