summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
authorQuietust2012-08-21 15:28:11 -0500
committerQuietust2012-08-21 15:28:11 -0500
commit51ba2523446596f4cdf0f179702ecc3b1eefa965 (patch)
tree8b6e8a815685b449463d8815e15dab48c8f6be26 /library/include
parent985d96c596ac190493f36c9764bfe5308dfecfe3 (diff)
downloaddfhack-51ba2523446596f4cdf0f179702ecc3b1eefa965.tar.gz
dfhack-51ba2523446596f4cdf0f179702ecc3b1eefa965.tar.bz2
dfhack-51ba2523446596f4cdf0f179702ecc3b1eefa965.tar.xz
Add Screen::drawBorder(string), duplicates DF's interfacest::drawborder()
Diffstat (limited to 'library/include')
-rw-r--r--library/include/modules/Screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/include/modules/Screen.h b/library/include/modules/Screen.h
index 334b466f..e2923317 100644
--- a/library/include/modules/Screen.h
+++ b/library/include/modules/Screen.h
@@ -98,6 +98,9 @@ namespace DFHack
/// Fills a rectangle with one pen. Possibly more efficient than a loop over paintTile.
DFHACK_EXPORT bool fillRect(const Pen &pen, int x1, int y1, int x2, int y2);
+ /// Draws a standard dark gray window border with a title string
+ DFHACK_EXPORT bool drawBorder(const std::string &title);
+
/// Wipes the screen to full black
DFHACK_EXPORT bool clear();