vrshoot
view 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 |
line source
1 #ifndef SCR_OVERLAY_H_
2 #define SCR_OVERLAY_H_
4 #include "screen.h"
6 // abstract base class for overlay screens
7 class OverlayScreen : public Screen {
8 protected:
9 Screen *prev;
11 public:
12 virtual void start();
13 virtual void stop();
15 virtual long redisplay_interval() const;
17 virtual void pre_draw() const;
18 virtual void display() const;
19 virtual void post_draw() const;
21 virtual void keyboard(int key, bool pressed);
22 virtual void motion(int x, int y, bool pressed);
23 virtual void button(int bn, bool pressed, int x, int y);
24 virtual void reshape(int x, int y);
25 };
27 #endif // SCR_OVERLAY_H_