diff options
| author | Alexander Gavrilov | 2012-08-22 12:23:56 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-08-22 12:23:56 +0400 |
| commit | 8969fc9435859399441cc5bc4f4308411183ef46 (patch) | |
| tree | 2c9bd08ef26c848318c95d375d176e9e5a97e586 /library/include | |
| parent | b6e5786b4f888566e03573f4c0e911a820be7ab9 (diff) | |
| download | dfhack-8969fc9435859399441cc5bc4f4308411183ef46.tar.gz dfhack-8969fc9435859399441cc5bc4f4308411183ef46.tar.bz2 dfhack-8969fc9435859399441cc5bc4f4308411183ef46.tar.xz | |
manipulator: Inherit from dfhack_viewscreen, and don't use itoa.
Diffstat (limited to 'library/include')
| -rw-r--r-- | library/include/modules/Screen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/include/modules/Screen.h b/library/include/modules/Screen.h index e2923317..10b6afb2 100644 --- a/library/include/modules/Screen.h +++ b/library/include/modules/Screen.h @@ -123,6 +123,9 @@ namespace DFHack static bool is_instance(df::viewscreen *screen); + virtual int8_t movies_okay() { return 1; } + virtual bool key_conflict(df::interface_key key); + virtual bool is_lua_screen() { return false; } virtual std::string getFocusString() = 0; }; @@ -154,6 +157,5 @@ namespace DFHack virtual void help(); virtual void resize(int w, int h); virtual void feed(std::set<df::interface_key> *keys); - virtual bool key_conflict(df::interface_key key); }; } |
