Search found 47 matches

by Playerdark
Tue Oct 05, 2010 05:39
Forum: Help
Topic: Trouple with Layout
Replies: 13
Views: 4445

Re: Trouple with Layout

It's "Number" then, not "Numbers" and here is the logfile: 04/10/2010 22:37:24 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 04/10/2010 22:37:24 (Std) + Crazy Eddie's GUI System - Event log + 04/10/2010 22:37:24 (Std) + (http://www.cegui.or...
by Playerdark
Mon Oct 04, 2010 01:57
Forum: Help
Topic: ItemListbox?
Replies: 1
Views: 1107

ItemListbox?

Hi,

whats the difference between ItemListbox and Listbox ? The docu doesn't say about ItemListbox

Thanks
by Playerdark
Mon Oct 04, 2010 01:21
Forum: Help
Topic: Trouple with Layout
Replies: 13
Views: 4445

Trouple with Layout

I created the below layout in the layout editor. When loading it, CEGUI crashes with an object not found error. As far as I can tell the window that's being looked up at that point has an empty name. The crash happens in CEGUIWindowManager.cpp line 256. When I remove the static text field saying &qu...
by Playerdark
Sat Sep 04, 2010 08:49
Forum: Bug Reports, Suggestions, Feature Requests
Topic: CEGUI_USE_PCRE_REGEX = false doesnt work
Replies: 1
Views: 2376

CEGUI_USE_PCRE_REGEX = false doesnt work

I just got the latest version and try to compile it. Since I dont have pcre and dont really care alot about fighting one of those cryptic linuxsourcepackages I set CEGUI_USE_PCRE_REGEX = false in the lua config file as described in the comment, but CEGUIPCRERegexMatcher still compiles and creates a ...
by Playerdark
Sun Aug 29, 2010 12:16
Forum: Help
Topic: Error Loading Windows Layout
Replies: 6
Views: 3031

Re: Error Loading Windows Layout

I solved it. All the problems I had wwere caused by a path to the old Ogre installation with the precompiled binaries :(
If anybody switches to a self compiled ogre DELETE THE OLD OGRE DIRECTORY!!!
by Playerdark
Sun Aug 29, 2010 02:09
Forum: Help
Topic: Error Loading Windows Layout
Replies: 6
Views: 3031

Re: Error Loading Windows Layout

Ok, I have a lead here. It seems that the Ogre source SDK has by default turned off the following options: ZIP Archive Reader Free Image LIbrary When the ZIP archive is turned off, the loading part that reads resource.cfg (or whatever filename you provide) stops parsing when it encounters the first ...
by Playerdark
Sun Aug 29, 2010 01:40
Forum: Help
Topic: Error Loading Windows Layout
Replies: 6
Views: 3031

Re: Error Loading Windows Layout

There must be something because it worked before. Here's my code where I initialize CEGUI, I got it mostly from the tutorial: mpc_renderer = &CEGUI::OgreRenderer::bootstrapSystem( * C01MAINP->GetRootPtr()->getRenderTarget( C01MAINP->GetRenderwindowName()) ); CEGUI::Imageset::setDefaultResourceGr...
by Playerdark
Sat Aug 28, 2010 10:39
Forum: Help
Topic: Error Loading Windows Layout
Replies: 6
Views: 3031

Re: Error Loading Windows Layout

I traced it down a little further, it must have something to do with incompatibiloity of the string types between Ogre and CEGUI. Maybe itsbecasue I turned on memory leak detector in Ogre, maybe the char / unicode incompatibility, I dont know.
by Playerdark
Sat Aug 28, 2010 09:56
Forum: Help
Topic: Error Loading Windows Layout
Replies: 6
Views: 3031

Error Loading Windows Layout

Hi, I compiled Ogre 1.7 from the sources today for the first time since it turned out I need their thread support after all. Once I did that, I couldn't load a the first window my program loads anymore which worked fine before. It's late and I really can't make any sense of the logfile, so I post it...
by Playerdark
Sat Jul 24, 2010 03:14
Forum: Help
Topic: AlreadyExistsException in loadWindowLayout()
Replies: 1
Views: 899

AlreadyExistsException in loadWindowLayout()

, I get the above exception when I try to load a window twice, for example when I'm trying to show two messageboxes on the screen, obviously because the elements in the dialog I create in the layouteditor have the same name. I tried to rename the root element but then the contained sub-windows in th...
by Playerdark
Thu Jul 15, 2010 06:49
Forum: Help
Topic: image button
Replies: 2
Views: 1802

Re: image button

Doesn't look like it, check this article: http://www.cegui.org.uk/wiki/index.php/Create_ImageButtons. I'm back to text buttons, after all it's the contents that makes the game, not the buttons :mrgreen:
by Playerdark
Mon Jul 12, 2010 06:03
Forum: Help
Topic: Unicode?
Replies: 3
Views: 1485

Re: Unicode?

Well I found out that obviously you can just convert them with a loop that assigns utf32 = (utf32) wchar_t I dont know if that works with non latin characters but it works well with english so for now, I'm using this handwritten conversion routine
by Playerdark
Sun Jul 11, 2010 08:30
Forum: Help
Topic: Unicode?
Replies: 3
Views: 1485

Re: Unicode?

Ok, I figured out that the CEGUI::String class is something like a lightweight 32 bit unicode string. However under windows I use wchar_t which is 16 bits. Is there a way to make the two work together? From my research on the internet I found out that Unicode is a chaos at best with different sizes ...
by Playerdark
Sat Jul 10, 2010 09:14
Forum: Help
Topic: Unicode?
Replies: 3
Views: 1485

Unicode?

Hi, I have recently been looking into Unicode as a replacement for the standard strings I have been using so far. Is there Unicode support in CEGUI and if yes to which extend?
by Playerdark
Sun Jun 20, 2010 02:33
Forum: Help
Topic: Slider Problem
Replies: 1
Views: 1192

Slider Problem

I edited a layout in the guy editor and used sliders for the 3 items on the right. The result is rather ugly. I found out that these sliders scroll vertically by default so I assume I could reprogram them horizontally but that will probably not change the ugly look. What is this and can I correct it...

Go to advanced search