Search found 22 matches
- Wed Apr 07, 2010 18:09
- Forum: Help
- Topic: How to clone/copy windows
- Replies: 3
- Views: 3562
Re: How to clone/copy windows
As this is something which is rather common, have there been any thoughts of adding a clone() member to CEGUI::Window?
- Wed Dec 16, 2009 13:54
- Forum: Help
- Topic: Scaling of bitmap fonts
- Replies: 3
- Views: 2188
Re: Scaling of bitmap fonts
It was rather easy to implement by looking at all the instances where auto scaling was used for fonts, just slapped a scaling factor right on and exposed it to the xml handler. Seems to work nicely
- Tue Dec 15, 2009 20:34
- Forum: Help
- Topic: Scaling of bitmap fonts
- Replies: 3
- Views: 2188
Scaling of bitmap fonts
I'm wondering if there's a way to apply scaling for bitmap fonts. We have a high res bitmap font and would like to down sample for lower sizes of the same font, both to save texture space, but first and foremost to save time.
- Wed Dec 09, 2009 19:28
- Forum: Help
- Topic: [Solved] Controlling text formatting in lookandfeel
- Replies: 2
- Views: 2528
Re: Controlling text formatting in lookandfeel
Found the problem it seems, although I don't quite understand the reasoning behind it. In the lookandfeel attributes needs to be completely lower case, while in the layout the first letter must be capital. So, in the lookandfeel it should be <Property name="HorzFormatting" value="Horz...
- Wed Dec 09, 2009 16:35
- Forum: Modifications / Integrations / Customisations
- Topic: [solved] Rendering GUI in 3D space ( Ogre )
- Replies: 4
- Views: 5146
Re: Rendering GUI in 3D space ( Ogre )
Got it working. The largest problem actually was me forgetting to handle device reset. Since CEGUI doesn't use RendererListner in the Ogre renderer there was some problems restoring the surface since doing it with a RendererListner didn't guarantee that CEGUI surfaces had been restored at that point.
- Wed Dec 09, 2009 14:35
- Forum: Help
- Topic: [Solved] Controlling text formatting in lookandfeel
- Replies: 2
- Views: 2528
[Solved] Controlling text formatting in lookandfeel
Hi, I'm trying to change how WindowsLook/StaticText aligns the text. If I create an instance of WindowsLook/StaticText in a layout file and add: <Property Name="HorzFormatting" Value="HorzCentred" /> as a property, then it will correctly center the text. However, if I add the ver...
- Sat Dec 05, 2009 14:16
- Forum: Modifications / Integrations / Customisations
- Topic: [solved] Rendering GUI in 3D space ( Ogre )
- Replies: 4
- Views: 5146
Re: Rendering GUI in 3D space ( Ogre )
Ah, thanks for the indepth response
- Fri Dec 04, 2009 18:52
- Forum: Modifications / Integrations / Customisations
- Topic: [solved] Rendering GUI in 3D space ( Ogre )
- Replies: 4
- Views: 5146
[solved] Rendering GUI in 3D space ( Ogre )
We have a 3D scene in which we want to incorporate GUI elements. I presume the first step is to get CEGUI to render to a render target, which texture our object / quad with. So, what's the easiest way to get this going? The current approach I have in mind is using setRenderingSurface() to associate ...
- Thu Sep 17, 2009 16:33
- Forum: Help
- Topic: Right click events on tree items & hiding context menues
- Replies: 3
- Views: 2444
Re: Right click events on tree items & hiding context menues
I implemented right click for tree items quite easily by just adding an event and adding a few extra lines in selection detection code.
- Wed Sep 16, 2009 13:35
- Forum: Help
- Topic: Right click events on tree items & hiding context menues
- Replies: 3
- Views: 2444
Right click events on tree items & hiding context menues
Hi, I use the seemingly loated tree widget hehe. Anyway, I have a need to recieve right click events on TreeItems in order to display a context menu, but I can't seem to find any convinient way to implement this functionality neither on the Tree level nor the TreeItem level. I use right click contex...
- Tue Dec 23, 2008 11:18
- Forum: Help
- Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
- Replies: 6
- Views: 4475
Hi, no problem :) I'm affraight that auto-sizing is not available. A widget's default size is indeed 0,0. Like MFC and wxWidgets, you have to provide a size. You just need to play around with values to come up with a nice gui. You could use the layout editor for that. HTH. Ah, thanks for the help :)
- Sun Dec 21, 2008 20:53
- Forum: Help
- Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
- Replies: 6
- Views: 4475
- Sat Dec 20, 2008 19:53
- Forum: Help
- Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
- Replies: 6
- Views: 4475
I'll throw in another quick question :P ListBox::addItem() wants ListboxItem, which doesn't inherit from Window. So if I manually create a ListboxTextItem it won't be styled at all, in fact it's not even showing up even if it's added ( this is probably because it doesn't have its properties set ). T...
- Sat Dec 20, 2008 19:25
- Forum: Help
- Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
- Replies: 6
- Views: 4475
Close button doesn't work in demo Sample_ScrollablePaneDemo?
Hi, I'm playing around with the Windows Look scheme and the close buttons doesn't seem to be working. I'm thinking I have to implement this myself on a callback, but it doesn't seem to be working in the demo either ScrollablePaneDemo either, which leads me to believe that it's perhaps not intentiona...
- Fri Dec 12, 2008 20:43
- Forum: Help
- Topic: Standard libraries and Tutorial example compilation [SOLVED]
- Replies: 15
- Views: 9705
When on the matter of the tutorials / samples. I think it would be nice if a VS solution file would be supplied, sure one can manually set this up and create a project for every sample, but it would be sweet if this came from the get go. If you're talking about our samples that come with CEGUI, if ...