aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui.hpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-05-18 08:17:59 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-05-18 08:17:59 -0400
commit72941038ae15ed524e2a878d087d98bc97e946b4 (patch)
treec5609ec3994c5d993d1589696cd886a9592708dc /include/ui.hpp
parentd27a975710cf7ef02f755ef768f133e19df69fa5 (diff)
parente1def1b4167156da12fa30baac3b3ccc2d00d74c (diff)
Z INDEXING
Diffstat (limited to 'include/ui.hpp')
-rw-r--r--include/ui.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui.hpp b/include/ui.hpp
index f1b44bb..7d9b9f5 100644
--- a/include/ui.hpp
+++ b/include/ui.hpp
@@ -95,6 +95,12 @@ namespace ui {
float putText(const float x,const float y,const char *str,...);
+ /**
+ * This function is a facility for logic events to draw text; the text
+ * will be prepared then drawn in the render loop.
+ */
+ void putTextL(vec2 c,const char *str, ...);
+
/*
* Creates a dialogBox text string (format: `name`: `text`). This function simply sets up
* variables that are drawn in ui::draw(). When the dialog box exists player control is