aboutsummaryrefslogtreecommitdiff
path: root/backends/dc/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/dc/label.h')
-rw-r--r--backends/dc/label.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/dc/label.h b/backends/dc/label.h
new file mode 100644
index 0000000000..d4a407307d
--- /dev/null
+++ b/backends/dc/label.h
@@ -0,0 +1,11 @@
+class Label
+{
+ private:
+ void *texture;
+ int tex_u, u;
+
+ public:
+ void create_texture(const char *text);
+ void draw(float x, float y, unsigned int argb = 0xffffffff,
+ float scale = 1.0);
+};