vrshoot

annotate src/scr_overlay.h @ 2:334d17aed7de

visual studio project files
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 18:36:38 +0200
parents
children
rev   line source
nuclear@0 1 #ifndef SCR_OVERLAY_H_
nuclear@0 2 #define SCR_OVERLAY_H_
nuclear@0 3
nuclear@0 4 #include "screen.h"
nuclear@0 5
nuclear@0 6 // abstract base class for overlay screens
nuclear@0 7 class OverlayScreen : public Screen {
nuclear@0 8 protected:
nuclear@0 9 Screen *prev;
nuclear@0 10
nuclear@0 11 public:
nuclear@0 12 virtual void start();
nuclear@0 13 virtual void stop();
nuclear@0 14
nuclear@0 15 virtual long redisplay_interval() const;
nuclear@0 16
nuclear@0 17 virtual void pre_draw() const;
nuclear@0 18 virtual void display() const;
nuclear@0 19 virtual void post_draw() const;
nuclear@0 20
nuclear@0 21 virtual void keyboard(int key, bool pressed);
nuclear@0 22 virtual void motion(int x, int y, bool pressed);
nuclear@0 23 virtual void button(int bn, bool pressed, int x, int y);
nuclear@0 24 virtual void reshape(int x, int y);
nuclear@0 25 };
nuclear@0 26
nuclear@0 27 #endif // SCR_OVERLAY_H_