Search found 12 matches

by jaguillard
Thu Dec 03, 2009 15:49
Forum: Help
Topic: CEGUI 0.7 and DDS images
Replies: 5
Views: 4063

Re: CEGUI 0.7 and DDS images

Okay, switched to using the bootstrapSystem() function. I get an error from the OgreImageCodex now through CEGUI. mRenderer = &CEGUI::OgreRenderer::bootstrapSystem(*window); mSystem = CEGUI::System::getSingletonPtr(); if(!mRenderer || !mSystem) return false; // Create the scheme and layouts for ...
by jaguillard
Thu Dec 03, 2009 15:26
Forum: Help
Topic: CEGUI 0.7 and DDS images
Replies: 5
Views: 4063

Re: CEGUI 0.7 and DDS images

This is the init I have: // Init CEGUI member variables mRenderer = &CEGUI::OgreRenderer::create(); mSystem = &CEGUI::System::create(*mRenderer, 0, 0, 0, 0, "ceguiConfig.cfg"); if(!mRenderer || !mSystem) return false; // Create the scheme and layouts for CEGUI CEGUI::SchemeManager:...
by jaguillard
Wed Dec 02, 2009 20:51
Forum: Help
Topic: CEGUI 0.7 and DDS images
Replies: 5
Views: 4063

CEGUI 0.7 and DDS images

Since moving to using CEGUI 0.7, CEGUI is throwing exceptions on DDS format images using SILLY. I could have the artist just change all of them to .tga, but I'd rather see if there is a way around doing an asset swap. Anyone having any suggestions as to how I can keep my DDS images working with CEGUI?
by jaguillard
Thu Mar 05, 2009 19:13
Forum: Help
Topic: Render limitation?
Replies: 2
Views: 1961

Render limitation?

I'm trying to draw a large number of CEGUI StaticImages to the screen, but once I reach about 1000 objects, some of the windows won't draw until others have been deleted. Is there a limitation set into CEGUI or Ogre to only render so many of them? If so, can it be disabled?
by jaguillard
Wed Jul 02, 2008 16:47
Forum: Help
Topic: Creating staticimage in Runtime
Replies: 6
Views: 3901

Problem solved. The position variable being passed to the window's setPosition() was the problem. I set the offset, but didn't check that the scale wasn't initialized. Without setting it to zero, the value was chode and the position was completely borked.
by jaguillard
Wed Jul 02, 2008 14:21
Forum: Help
Topic: Creating staticimage in Runtime
Replies: 6
Views: 3901

No errors in the log. <FalagardMapping WindowType="WaveloreGUI/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="WaveloreGUI/StaticImage" /> <WidgetLook name="WaveloreGUI/StaticImage"> <PropertyDefinition name="I...
by jaguillard
Tue Jul 01, 2008 21:20
Forum: Help
Topic: Creating staticimage in Runtime
Replies: 6
Views: 3901

So far I've yet to get the staticimage to appear. I've debugged through and the size and position are right, but the window won't appear. I must be missing a step in creating it at runtime. CEGUI::Window* contact = CEGUI::WindowManager::getSingleton().createWindow("WaveloreGUI/Stati...
by jaguillard
Tue Jul 01, 2008 18:59
Forum: Help
Topic: Creating staticimage in Runtime
Replies: 6
Views: 3901

Creating staticimage in Runtime

I'm making something like a mini-map, with dots representing objects in the world. I need to create StaticImage windows during runtime for each object in the scene. Now the WindowManager class can get me the window, but I can't figure out how to set the image into it. While the XML has the Image pro...
by jaguillard
Mon Jun 30, 2008 21:23
Forum: Help
Topic: Mouse click coordinates
Replies: 1
Views: 2232

Mouse click coordinates

Once a mouse click has registered with a CEGUI window, is there anyway to grab the coordinates the window was clicked on? Whether it is screen coordinates or window based coordinates doesn't matter.
by jaguillard
Thu Jun 05, 2008 18:29
Forum: Offtopic Discussion
Topic: Limiting numbers in editbox window
Replies: 7
Views: 18426

Re: Limiting numbers in editbox window

Now all I need to know is why the number pad doesn't seem to inject input. Anyone know a solution for that? Not sure about this, are you sure your input system is generating character inputs in response to those key presses? We looked into this and it's just a matter of how OIS deals with the keypa...
by jaguillard
Thu Jun 05, 2008 14:22
Forum: Modifications / Integrations / Customisations
Topic: Stacking rollup frames
Replies: 1
Views: 2433

Stacking rollup frames

Working with the rollup feature, I want any frames below the currently rolled up frame to move up and fill in the gap. Is there any coding in the XML to handle this, or would it need to be handled on the C++ side?
by jaguillard
Thu Jun 05, 2008 14:16
Forum: Offtopic Discussion
Topic: Limiting numbers in editbox window
Replies: 7
Views: 18426

For negative numbers, here's what I pieced together. If the range is the same on both sides, eg -128 to 128, then you just need an optional - sign (marked by the ? postfix). In this situation, you are telling Regex that the "-" is allowed, but not required. -?1[0-2][0-8]|-?[0-9]?[0-9]? If ...

Go to advanced search