Search found 149 matches

by gcarlton
Sat Mar 03, 2007 02:47
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Unified Coordinate Enhacement - Smart System
Replies: 3
Views: 1927

This touches on a whole new aspect for GUI systems, that of laying out the elements dynamically. There are two options: Arrange on load, or Arrange on the fly during update. Arrange on load is really just a helper that "distills" down to a standard coordinate once finished. It makes it a b...
by gcarlton
Thu Dec 14, 2006 08:37
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Derive from std::exception
Replies: 2
Views: 1473

This has my vote too. Should definitely be done for the next release.
by gcarlton
Wed Dec 13, 2006 04:12
Forum: Unofficial CEGUI-Related Tools
Topic: UDim resizing
Replies: 3
Views: 2320

UDim resizing

I've done a small change which I think is beneficial for the editor when making layouts that aren't pure-scale. Rather than the resizing always changing the scale, or always the offset, an "auto" method is possible. This means: - If the offset is 0, change the scale - Otherwise, change the...
by gcarlton
Wed Dec 13, 2006 02:10
Forum: Unofficial CEGUI-Related Tools
Topic: Support for wxWidgets 2.8.0
Replies: 1
Views: 1631

Support for wxWidgets 2.8.0

I got the latest CELayoutEditor and there are two changes that need to be made to get it to work with wxWidgets 2.8.0. I've made up a patch, but I can't find the appropriate area to submit it. Alternatively, I may be able to dig up SVN access since I think I had it at one point. I've got a few thing...
by gcarlton
Tue Dec 05, 2006 21:55
Forum: CEGUI Library Development Discussion
Topic: 0.6.X What do you want to see in 0.6 series
Replies: 52
Views: 24592

You can already do this by redirecting loaded strings when layouts are read in. So for example, the layout may have a label "cmd_quit" which the application can convert as "Quit" or "@$@(!%" or whatever. Here is the code I've used before: bool GuiLayoutPropertyCallback&...
by gcarlton
Sun Nov 26, 2006 23:12
Forum: CEGUI Library Development Discussion
Topic: 0.6.X What do you want to see in 0.6 series
Replies: 52
Views: 24592

The ScriptingModules directory seems to be missing from the binary windows release - its in the full 0.5.0 source release though. Under the root, not \include though. Lua scripting functions still seem to need an integer returned, which would be more general as a string that the app tests for whatev...
by gcarlton
Sat Nov 25, 2006 00:43
Forum: CEGUI Library Development Discussion
Topic: 0.6.X What do you want to see in 0.6 series
Replies: 52
Views: 24592

I would prefer a 0.5.1 sort of release rather than another year-long milestone. It would have no major interface refactoring, and 0.5.0 code would work with it. Instead, focus would be on: - TreeView widget, and any other other missing ones - Common dialog support, perhaps as pure layout xml files. ...
by gcarlton
Thu Apr 20, 2006 04:44
Forum: Offtopic Discussion
Topic: Changing schemes on the fly (like TestaSkin)
Replies: 3
Views: 1456

Good to see you are making progress. I've wanted to switch over to the general widget names for a while, but haven't quite found the time to pore over the alias scheme changes and try to update all my datafiles. So alas, I'm stuck with the "TaherezLook/" prefix for now on everything. As fo...
by gcarlton
Thu Apr 13, 2006 07:09
Forum: Modifications / Integrations / Customisations
Topic: Performance problem
Replies: 11
Views: 3195

Just looking at fps is a terrible measure of timing - alarming initial drops can correspond to very little real cost.

500fps = 2ms
360fps = 2.778ms
25fps = 40ms

So these 80 elements are taking 0.7ms to render. This is perfectly acceptable. You have 37ms left if your target is 25fps.
by gcarlton
Thu Apr 13, 2006 05:08
Forum: CEGUI Library Development Discussion
Topic: 0.5.0
Replies: 36
Views: 16922

Just a note on the lua module, there exists a problem with the executeScriptFile: // load file RawDataContainer raw; System::getSingleton().getResourceProvider()->loadRawDataContainer( filename, raw, resourceGroup); // load code into lua and call it int top = lua_gettop(d...
by gcarlton
Mon Apr 10, 2006 23:26
Forum: User Projects
Topic: CEImagesetEditor
Replies: 18
Views: 11719

The solution i think about is to add a field with the base path who is automaticly updated with the path of the imageset when you load it, and is used as reference for the image file. Hmm, I'm not sure that will work in my case. Consider this set of paths: Base Dir = c:\projects\mygame\bin Imageset...
by gcarlton
Mon Apr 10, 2006 06:53
Forum: User Projects
Topic: CEImagesetEditor
Replies: 18
Views: 11719

I'm very impressed by this tool. A couple of points I noticed immediately: - There is no explanation on how to zoom the image. - The auto-selection of regions gets annoying and could be replaced with a "click to select" scheme. - I have problems with the imageset paths. I can't run this on...
by gcarlton
Sun Apr 02, 2006 00:40
Forum: Unofficial CEGUI-Related Tools
Topic: CELayoutEditor and latest CEGUI
Replies: 3
Views: 1861

Ok thanks. Is it checked into a CVS branch by any chance, or do we really have to wait until 0.5 to get our hands on it?
by gcarlton
Sat Apr 01, 2006 04:43
Forum: CEGUI Library Development Discussion
Topic: executeScriptGlobal return value
Replies: 1
Views: 1914

executeScriptGlobal return value

I'm starting to use lua and cegui together. I've found executeScriptGlobal requires the function to return an integer, otherwise it throws an exception. I find this behaviour somewhat constricting - for instance, many functions I would like to call do not return any value, and I don't like the idea ...
by gcarlton
Sat Apr 01, 2006 03:49
Forum: Unofficial CEGUI-Related Tools
Topic: CELayoutEditor and latest CEGUI
Replies: 3
Views: 1861

CELayoutEditor and latest CEGUI

Downloading the latest layout editor and trying to compile with my CEGUI gives some compile errors, apparently due UDims and the elimination of functions like Window::setPosition(metricsmode, point).

Is this correct, and if so has anybody updated the layout editor with this in mind?

Go to advanced search