aboutsummaryrefslogtreecommitdiffstats
path: root/src/frames
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-03-22 22:57:53 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:40:51 +0100
commit5342546d264aeb855fdfedce616941a4d131751e (patch)
tree446f5b6219c0b21aab4bd63cda9007efc41da770 /src/frames
parentfb7542a5e7d390a20eefc946cc5054dc79d74180 (diff)
downloadusdx-5342546d264aeb855fdfedce616941a4d131751e.tar.gz
usdx-5342546d264aeb855fdfedce616941a4d131751e.tar.xz
usdx-5342546d264aeb855fdfedce616941a4d131751e.zip
menu/text: added simple text class and a demo in the loading frame
Diffstat (limited to 'src/frames')
-rw-r--r--src/frames/loading_frame.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frames/loading_frame.cpp b/src/frames/loading_frame.cpp
index 3be2af76..31458b7f 100644
--- a/src/frames/loading_frame.cpp
+++ b/src/frames/loading_frame.cpp
@@ -27,6 +27,7 @@
#include "loading_frame.hpp"
#include "menu/frame_background_image.hpp"
#include "menu/frame_background_color.hpp"
+#include "menu/text.hpp"
namespace usdx
{
@@ -39,6 +40,9 @@ namespace usdx
// RgbColor background(100, 100, 100);
// set_background(new FrameBackgroundColor(background));
set_background(new FrameBackgroundImage("game/themes/Deluxe/[bg-load]blue.jpg"));
+
+ DrawableControl *c = new Text(this, "Halloäöüß");
+ c->set_position(100, 100);
}
LoadingFrame::~LoadingFrame()