Search found 15 matches

by Garthy
Tue Sep 20, 2011 09:18
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Patch: User strings in layout files for CEGUI 0.7.5
Replies: 7
Views: 7108

Re: Patch: User strings in layout files for CEGUI 0.7.5

Excellent! :) No problem. Renaming the shared variables sounds good too.
by Garthy
Sun Sep 18, 2011 08:07
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Patch: User strings in layout files for CEGUI 0.7.5
Replies: 7
Views: 7108

Re: Patch: User strings in layout files for CEGUI 0.7.5

Good news. :) Hopefully CrazyEddie is keen on it too. Thanks for checking it out!
by Garthy
Wed Sep 14, 2011 03:40
Forum: Help
Topic: Decorated frames or titlebar-less FrameWindows?
Replies: 2
Views: 2033

Re: Decorated frames or titlebar-less FrameWindows?

Does it need to be draggable? If not you can use DefaultWindow and skin it with falagard. Luckily, it doesn't need to be draggable. I imagine it would get a bit more complicated if it did. :} Thankyou for the suggestion and starting point. :) As I'm still quite new to CEGUI, knowing the best angle ...
by Garthy
Wed Sep 14, 2011 03:32
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Patch: User strings in layout files for CEGUI 0.7.5
Replies: 7
Views: 7108

Re: Patch: User strings in layout files for CEGUI 0.7.5

Thanks. :) Happy to have been able to contribute. I'm presently using 0.7.5, no *short*-term plans to upgrade, but I will probably move to a more recent version in the longer term. As such, I don't know an awful lot about the 0.8 branch. :} Hopefully the patch can be applied easily to the 0.8 series...
by Garthy
Tue Sep 13, 2011 03:44
Forum: Help
Topic: Decorated frames or titlebar-less FrameWindows?
Replies: 2
Views: 2033

Decorated frames or titlebar-less FrameWindows?

Is there a simple way to create a window with a decorated frame that can contain other Windows? Sort of like a TaharezLook/FrameWindow without a titlebar. I've tried a FrameWindow and disabling the titlebar with the "TitlebarEnabled" property, but it literally cuts the top of the window of...
by Garthy
Tue Sep 13, 2011 03:32
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Patch: User strings in layout files for CEGUI 0.7.5
Replies: 7
Views: 7108

Patch: User strings in layout files for CEGUI 0.7.5

Patch: User strings in layout files for CEGUI 0.7.5 Heya. :) Unless I'm mistaken, I don't *think* it is possible to specify user strings in layout files in CEGUI 0.7.5. This is a really useful thing to be able to do, and this patch gives you the ability to do so. You can specify user strings with &q...
by Garthy
Sun Sep 11, 2011 07:15
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Patch: User data with deleter
Replies: 2
Views: 3680

Re: Patch: User data with deleter

Hi Jamarr, Hi Garthy. Initially this sounds like a good addition, however there is already a mechanism by which clients can manage the destruction of the client-data pointer. You can subscribe to the Window::EventDestructionStarted event and have your event-handler destroy the client-data pointer as...
by Garthy
Wed Sep 07, 2011 03:54
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Patch: User data with deleter
Replies: 2
Views: 3680

Patch: User data with deleter

Here is a simple patch to CEGUI 0.7.5 that extends setUserData for CEGUI Windows so that you can also specify an optional deleter function. This lets you specify user data safe in the knowledge that it will be cleaned up whenever the user data is reset or the Window destructor is called. Using this ...
by Garthy
Tue Aug 02, 2011 09:06
Forum: Help
Topic: [Solved] Resizable child windows with absolute margins
Replies: 5
Views: 3681

Re: Resizable child windows with absolute margins

... and it works! :) The problem I described is entirely solved by using UDims in the way you describe. Thankyou Kulik. :)
by Garthy
Tue Aug 02, 2011 09:00
Forum: Help
Topic: [Solved] Resizable child windows with absolute margins
Replies: 5
Views: 3681

Re: Resizable child windows with absolute margins

No way! It's that easy? I've just started experimenting with it and I think that is going to solve my problem entirely. I've summarised my understanding from your post for the x-coordinate here: {a, b} : a * width + b, b can be positive or negative {0.0, x} : x pixels from left {1.0, -x} : x pixels ...
by Garthy
Tue Aug 02, 2011 07:41
Forum: Help
Topic: [Solved] Resizable child windows with absolute margins
Replies: 5
Views: 3681

Re: Resizable child windows with absolute margins

Cheers, thankyou for the suggestions. I do know that you can subscribe to the resize function of the frame window and then resize the scrollable pane and move all the fixed widgets accordingly. This may be your best option. I haven't looked into this but I was also wondering if this might be the app...
by Garthy
Tue Aug 02, 2011 04:48
Forum: Help
Topic: [Solved] Resizable child windows with absolute margins
Replies: 5
Views: 3681

[Solved] Resizable child windows with absolute margins

Greetings. :) I was wondering if there was any way, either programatically or via layout files, to specify that a child window should use the remaining space of a parent window, less absolute margins on the sides. More precisely: I have a resizable FrameWindow that has certain widgets of fixed absol...
by Garthy
Thu Dec 02, 2010 23:52
Forum: Bug Reports, Suggestions, Feature Requests
Topic: CEGUI crashing in VirtualBox, using Ogre and software OpenGL
Replies: 3
Views: 4361

Re: CEGUI crashing in VirtualBox, using Ogre and software OpenGL

For what it's worth: The crash occurs (from a CEGUI perspective) in OgreRenderer::setupRenderingBlendMode(), during the last _setSeparateSceneBlending() call (in Ogre). That call calls glBlendFuncSeparate, which causes the crash. I *believe* this is because the glBlendSeparate func itself is actuall...
by Garthy
Thu Dec 02, 2010 13:15
Forum: Bug Reports, Suggestions, Feature Requests
Topic: CEGUI crashing in VirtualBox, using Ogre and software OpenGL
Replies: 3
Views: 4361

Re: CEGUI crashing in VirtualBox, using Ogre and software OpenGL

The trouble is that since I don't have VirtualBox I can't reproduce this so I can't even fix it. VirtualBox is free, if that makes a difference? Download is here: http://www.virtualbox.org/wiki/Downloads I believe many modern Linux distros include it as a package as well, although myself I just dow...
by Garthy
Thu Dec 02, 2010 02:40
Forum: Bug Reports, Suggestions, Feature Requests
Topic: CEGUI crashing in VirtualBox, using Ogre and software OpenGL
Replies: 3
Views: 4361

CEGUI crashing in VirtualBox, using Ogre and software OpenGL

Hi there. I'm new to CEGUI. I seem to be having trouble getting CEGUI running without crashing immediately under Windows with VirtualBox with an Ogre render target using OpenGL. VirtualBox is using software rendering, as hardware pass-through isn't possible on the system I am using (so I can't try i...

Go to advanced search