rayzor
diff src/screen.h @ 15:be616b58df99
continued the renderer slightly
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Apr 2014 09:54:36 +0300 |
parents | 70e332156d02 |
children | 79609d482762 |
line diff
1.1 --- a/src/screen.h Sun Apr 13 08:06:21 2014 +0300 1.2 +++ b/src/screen.h Sun Apr 13 09:54:36 2014 +0300 1.3 @@ -1,6 +1,10 @@ 1.4 #ifndef SCREEN_H_ 1.5 #define SCREEN_H_ 1.6 1.7 +typedef int MsgAtom; 1.8 + 1.9 +MsgAtom message_atom(const char *str); 1.10 + 1.11 class Screen { 1.12 private: 1.13 char *name; 1.14 @@ -21,6 +25,8 @@ 1.15 virtual void handle_keyboard(int key, bool press); 1.16 virtual void handle_mbutton(int bn, bool press, int x, int y); 1.17 virtual void handle_mmotion(int x, int y); 1.18 + 1.19 + virtual void message(MsgAtom ma); 1.20 }; 1.21 1.22 #endif // SCREEN_H_