summaryrefslogtreecommitdiff
path: root/library/include/modules/Gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/include/modules/Gui.h')
-rw-r--r--library/include/modules/Gui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/include/modules/Gui.h b/library/include/modules/Gui.h
index 97e8bd42..b06408f6 100644
--- a/library/include/modules/Gui.h
+++ b/library/include/modules/Gui.h
@@ -91,6 +91,10 @@ namespace DFHack
DFHACK_EXPORT bool any_item_hotkey(df::viewscreen *top);
DFHACK_EXPORT df::item *getSelectedItem(color_ostream &out, bool quiet = false);
+ // A building is selected via 'q', 't' or 'i' (civzone)
+ DFHACK_EXPORT bool any_building_hotkey(df::viewscreen *top);
+ DFHACK_EXPORT df::building *getSelectedBuilding(color_ostream &out, bool quiet = false);
+
// Show a plain announcement, or a titan-style popup message
DFHACK_EXPORT void showAnnouncement(std::string message, int color = 7, bool bright = true);
DFHACK_EXPORT void showZoomAnnouncement(df::announcement_type type, df::coord pos, std::string message, int color = 7, bool bright = true);