diff options
| author | Quietust | 2012-08-21 15:28:11 -0500 |
|---|---|---|
| committer | Quietust | 2012-08-21 15:28:11 -0500 |
| commit | 51ba2523446596f4cdf0f179702ecc3b1eefa965 (patch) | |
| tree | 8b6e8a815685b449463d8815e15dab48c8f6be26 /library/include | |
| parent | 985d96c596ac190493f36c9764bfe5308dfecfe3 (diff) | |
| download | dfhack-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.h | 3 |
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(); |
