diff options
| author | Alexander Gavrilov | 2012-08-22 18:18:19 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-08-22 18:18:19 +0400 |
| commit | 7987ea9a9877a4e9f44492210784c7e8d7f94bb9 (patch) | |
| tree | 768bd5aacaba64be23592b0a93f99ec8dd733b3d /library/include | |
| parent | 6e8b68fb29c52f1782938bf7aa564a516079bf61 (diff) | |
| download | dfhack-7987ea9a9877a4e9f44492210784c7e8d7f94bb9.tar.gz dfhack-7987ea9a9877a4e9f44492210784c7e8d7f94bb9.tar.bz2 dfhack-7987ea9a9877a4e9f44492210784c7e8d7f94bb9.tar.xz | |
Put some compatibility features into the base dfhack viewscreen.
Diffstat (limited to 'library/include')
| -rw-r--r-- | library/include/modules/Screen.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/library/include/modules/Screen.h b/library/include/modules/Screen.h index 10b6afb2..ce3f32ed 100644 --- a/library/include/modules/Screen.h +++ b/library/include/modules/Screen.h @@ -117,12 +117,21 @@ namespace DFHack } class DFHACK_EXPORT dfhack_viewscreen : public df::viewscreen { + df::coord2d last_size; + void check_resize(); + + protected: + bool text_input_mode; + public: dfhack_viewscreen(); virtual ~dfhack_viewscreen(); static bool is_instance(df::viewscreen *screen); + virtual void logic(); + virtual void render(); + virtual int8_t movies_okay() { return 1; } virtual bool key_conflict(df::interface_key key); |
