Search found 22 matches

by Sairon
Wed Apr 07, 2010 18:09
Forum: Help
Topic: How to clone/copy windows
Replies: 3
Views: 3115

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?
by Sairon
Wed Dec 16, 2009 13:54
Forum: Help
Topic: Scaling of bitmap fonts
Replies: 3
Views: 1896

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 :D
by Sairon
Tue Dec 15, 2009 20:34
Forum: Help
Topic: Scaling of bitmap fonts
Replies: 3
Views: 1896

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.
by Sairon
Wed Dec 09, 2009 19:28
Forum: Help
Topic: [Solved] Controlling text formatting in lookandfeel
Replies: 2
Views: 2244

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...
by Sairon
Wed Dec 09, 2009 16:35
Forum: Modifications / Integrations / Customisations
Topic: [solved] Rendering GUI in 3D space ( Ogre )
Replies: 4
Views: 4730

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.
by Sairon
Wed Dec 09, 2009 14:35
Forum: Help
Topic: [Solved] Controlling text formatting in lookandfeel
Replies: 2
Views: 2244

[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...
by Sairon
Sat Dec 05, 2009 14:16
Forum: Modifications / Integrations / Customisations
Topic: [solved] Rendering GUI in 3D space ( Ogre )
Replies: 4
Views: 4730

Re: Rendering GUI in 3D space ( Ogre )

Ah, thanks for the indepth response :)
by Sairon
Fri Dec 04, 2009 18:52
Forum: Modifications / Integrations / Customisations
Topic: [solved] Rendering GUI in 3D space ( Ogre )
Replies: 4
Views: 4730

[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 ...
by Sairon
Thu Sep 17, 2009 16:33
Forum: Help
Topic: Right click events on tree items & hiding context menues
Replies: 3
Views: 2140

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.
by Sairon
Wed Sep 16, 2009 13:35
Forum: Help
Topic: Right click events on tree items & hiding context menues
Replies: 3
Views: 2140

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...
by Sairon
Tue Dec 23, 2008 11:18
Forum: Help
Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
Replies: 6
Views: 3817

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 :)
by Sairon
Sun Dec 21, 2008 20:53
Forum: Help
Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
Replies: 6
Views: 3817

Cool. thanks! :) I have another small question, is there any way to let the widgets auto size? For example, if I create a ComboBox, I'd like it to size itself to its "optimal" size ( in this case, the height would probably be arrowed button to open the drop down ). Same goes for auto sizin...
by Sairon
Sat Dec 20, 2008 19:53
Forum: Help
Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
Replies: 6
Views: 3817

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...
by Sairon
Sat Dec 20, 2008 19:25
Forum: Help
Topic: Close button doesn't work in demo Sample_ScrollablePaneDemo?
Replies: 6
Views: 3817

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...
by Sairon
Fri Dec 12, 2008 20:43
Forum: Help
Topic: Standard libraries and Tutorial example compilation [SOLVED]
Replies: 15
Views: 8085

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 ...

Go to advanced search