Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-03 18:51:46 +0000
committerStijn Buys <ingar@osirion.org>2008-02-03 18:51:46 +0000
commit6011bbb179f72a370411960eafdbbc98e6607f05 (patch)
treec57fe3b9b6e57a6c17d4159ba1b2455a692548b9 /src/render/text.h
parentb4973888aeaea2dde6058bc06c3f6631349e7f3c (diff)
basic text rendering
Diffstat (limited to 'src/render/text.h')
-rw-r--r--src/render/text.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/render/text.h b/src/render/text.h
new file mode 100644
index 0000000..19b2150
--- /dev/null
+++ b/src/render/text.h
@@ -0,0 +1,20 @@
+/*
+ render/text.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_RENDER_TEXT_H__
+#define __INCLUDED_RENDER_TEXT_H__
+
+#include <string>
+
+#define CHARSIZE 16
+
+namespace render {
+
+ /// draw a text string
+ void draw_text(float x, float y, std::string text);
+}
+
+#endif //__INCLUDED_RENDER_TEXT_H__