From 5342546d264aeb855fdfedce616941a4d131751e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 22 Mar 2012 22:57:53 +0100 Subject: menu/text: added simple text class and a demo in the loading frame --- src/frames/loading_frame.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/frames') 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() -- cgit v1.2.3