[SOLVED] Another no text Getting rendered Post
Posted: Thu Jun 09, 2011 00:25
Hi,
I've started developing Cegui only a few days ago and had no Problem with Compiling and some Tutorials.
I've searched through this Forum, Tutorials and the Manual but I couldn't find an solution for the following Problem
seems like I'm missing something very essential!
I have no Problems displaying the Text in all off the CEGUI example .layout files.
Now I wanted to create my own layout using the CELayout editor, but I'm not able to Display any text(The Text appears in the LayoutEditor).
To make it more reproducible I created a little File using the given .sheme, .looknfeel and imageset files. Instead of my own.
The XML File I created looks like this:
this is the code segment inside the cpp file:
as mentioned above loading other .layout files Renders Text without any Problem!
I'm working under ubuntu 11.04 and downloaded/compiled the latest CEGUI releases
my cegui.log shows the following informations:
I haven't found any errors in that file so I don't know what else I could post here from that file
any solutions for this Problem?
thx for any help
I've started developing Cegui only a few days ago and had no Problem with Compiling and some Tutorials.
I've searched through this Forum, Tutorials and the Manual but I couldn't find an solution for the following Problem
seems like I'm missing something very essential!
I have no Problems displaying the Text in all off the CEGUI example .layout files.
Now I wanted to create my own layout using the CELayout editor, but I'm not able to Display any text(The Text appears in the LayoutEditor).
To make it more reproducible I created a little File using the given .sheme, .looknfeel and imageset files. Instead of my own.
The XML File I created looks like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<GUILayout >
<Window Type="DefaultWindow" Name="Root" >
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
<Window Type="TaharezLook/StaticText" Name="Root/Foo" >
<Property Name="Text" Value="Bar" />
<Property Name="UnifiedAreaRect" Value="{{0.0246094,0},{0.03454,0},{0.189648,0},{0.148793,0}}" />
</Window>
</Window>
</GUILayout>
this is the code segment inside the cpp file:
Code: Select all
CEGUI::SchemeManager::getSingleton().create("TaharezLook.scheme");
CEGUI::System::getSingleton().setDefaultFont("DejaVuSans-10");
CEGUI::System::getSingleton().setGUISheet(CEGUI::WindowManager::getSingleton().loadWindowLayout("TestLook.layout"));
as mentioned above loading other .layout files Renders Text without any Problem!
I'm working under ubuntu 11.04 and downloaded/compiled the latest CEGUI releases
my cegui.log shows the following informations:
Code: Select all
09/06/2011 01:50:32 (Std) ---- Version 0.7.5 (Build: May 31 2011 GNU/Linux g++ 4.5.2 64 bit) ----
09/06/2011 01:50:32 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support enabled via FBO extension. ----
09/06/2011 01:50:32 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
09/06/2011 01:50:32 (Std) ---- Image Codec module is: DevILImageCodec - Official DevIL based image codec ----
09/06/2011 01:50:32 (Std) ---- Scripting module is: None ----
I haven't found any errors in that file so I don't know what else I could post here from that file
any solutions for this Problem?
thx for any help