|
|
|
@ -351,7 +351,7 @@ namespace DFHack
|
|
|
|
|
|
|
|
|
|
virtual bool is_lua_screen() { return false; }
|
|
|
|
|
|
|
|
|
|
virtual std::string getFocusStrings() = 0;
|
|
|
|
|
virtual std::string getFocusString() = 0;
|
|
|
|
|
virtual void onShow() {};
|
|
|
|
|
virtual void onDismiss() {};
|
|
|
|
|
virtual df::unit *getSelectedUnit() { return nullptr; }
|
|
|
|
@ -384,7 +384,7 @@ namespace DFHack
|
|
|
|
|
static df::viewscreen *get_pointer(lua_State *L, int idx, bool make);
|
|
|
|
|
|
|
|
|
|
virtual bool is_lua_screen() { return true; }
|
|
|
|
|
virtual std::string getFocusStrings() { return focus; }
|
|
|
|
|
virtual std::string getFocusString() { return focus; }
|
|
|
|
|
|
|
|
|
|
virtual void render();
|
|
|
|
|
virtual void logic();
|
|
|
|
|