NEW: Dev builds of LayoutEditor!
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
NEW: Dev builds of LayoutEditor!
Hi all,
due to some requests, from now on we will provide dev builds of the layout editor in the download section. On this page: http://www.cegui.org.uk/wiki/index.php/Downloads
please follow the "0.6.0: Current development binaries" link and choose either the installer or the zip file. These files are build against both the 'head' of Cegui and the 'head' of the Editor. Don't hesitate to post any problems into Mantis (http://www.cegui.org.uk/mantis/main_page.php).
Enjoy
due to some requests, from now on we will provide dev builds of the layout editor in the download section. On this page: http://www.cegui.org.uk/wiki/index.php/Downloads
please follow the "0.6.0: Current development binaries" link and choose either the installer or the zip file. These files are build against both the 'head' of Cegui and the 'head' of the Editor. Don't hesitate to post any problems into Mantis (http://www.cegui.org.uk/mantis/main_page.php).
Enjoy
Great! Thanks a lot.
It still throws an exception when I try to create a TabPane using the TaharezLook. And when I create one using WindowsLook and then switch to TaharezLook using the combobox it crashes.
Is there a specific reason this is not supported ? A bug perhaps ?
It does work correctly for WindowsLook.
It still throws an exception when I try to create a TabPane using the TaharezLook. And when I create one using WindowsLook and then switch to TaharezLook using the combobox it crashes.
Is there a specific reason this is not supported ? A bug perhaps ?
It does work correctly for WindowsLook.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi Liberator,
we'll have a look at in in 2008
Thanks for mentioning, it seems like a bug.
we'll have a look at in in 2008
Thanks for mentioning, it seems like a bug.
Check out my released snake game using Cegui!
I did notice that the scheme names where set to TabPane instead of TabContentPane which is the case with WindowsLook. I made a diff of the change as you can see below. It might not fix the problem but at least it's more consistent.
Code: Select all
Index: TaharezLookWidgetAliases.scheme
===================================================================
--- TaharezLookWidgetAliases.scheme (revision 1505)
+++ TaharezLookWidgetAliases.scheme (working copy)
@@ -25,7 +25,7 @@
<WindowAlias Alias="Taharez StaticImage" Target="TaharezLook/StaticImage" />
<WindowAlias Alias="Taharez StaticText" Target="TaharezLook/StaticText" />
<WindowAlias Alias="Taharez Tab Button" Target="TaharezLook/TabButton" />
- <WindowAlias Alias="Taharez Tab Pane" Target="TaharezLook/TabPane" />
+ <WindowAlias Alias="Taharez Tab Pane" Target="TaharezLook/TabContentPane" />
<WindowAlias Alias="Taharez Tab Control" Target="TaharezLook/TabControl" />
<WindowAlias Alias="Taharez Titlebar" Target="TaharezLook/Titlebar" />
<WindowAlias Alias="Taharez VertScrollbar" Target="TaharezLook/LargeVerticalScrollbar" />
Index: TaharezLookWidgets.scheme
===================================================================
--- TaharezLookWidgets.scheme (revision 1505)
+++ TaharezLookWidgets.scheme (working copy)
@@ -24,7 +24,7 @@
<FalagardMapping WindowType="TaharezLook/LargeVerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="TaharezLook/LargeVerticalScrollbarThumb" />
<FalagardMapping WindowType="TaharezLook/TabButton" TargetType="CEGUI/TabButton" Renderer="Falagard/TabButton" LookNFeel="TaharezLook/TabButton" />
<FalagardMapping WindowType="TaharezLook/TabControl" TargetType="CEGUI/TabControl" Renderer="Falagard/TabControl" LookNFeel="TaharezLook/TabControl" />
- <FalagardMapping WindowType="TaharezLook/TabPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="TaharezLook/TabPane" />
+ <FalagardMapping WindowType="TaharezLook/TabContentPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="TaharezLook/TabPane" />
<FalagardMapping WindowType="TaharezLook/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="TaharezLook/ComboDropList" />
<FalagardMapping WindowType="TaharezLook/ComboEditbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="TaharezLook/ComboEditbox" />
<FalagardMapping WindowType="TaharezLook/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="TaharezLook/Combobox" />
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
I've made some changes to the files. They were indeed inconsistent. Mind though the difference between WindowType and Target. The first means the looknfeel (which is indeed called TabContentPane). The Target however is the name in code, which is (still) TabPane. So what you did in the Alias file doesn't work. At least not on my end.
I didn't get the crash, however it's not actually possible (or required) by the editor to add TabContentPanes yourself. This was possible because the editor's filtering used TabContentPane which didn't exist.
You should start with a TabControl, which will pre-populate some tabs for your to start with. As you will see, adding a child to a tab control will only allow DefaultWindow, which is also the Renderer in the scheme files.
Because i didn't change code, you might run the editor again with your own changes. Or check with the latest files:
http://crayzedsgui.svn.sourceforge.net/ ... s/schemes/
HTH
I didn't get the crash, however it's not actually possible (or required) by the editor to add TabContentPanes yourself. This was possible because the editor's filtering used TabContentPane which didn't exist.
You should start with a TabControl, which will pre-populate some tabs for your to start with. As you will see, adding a child to a tab control will only allow DefaultWindow, which is also the Renderer in the scheme files.
Because i didn't change code, you might run the editor again with your own changes. Or check with the latest files:
http://crayzedsgui.svn.sourceforge.net/ ... s/schemes/
HTH
Check out my released snake game using Cegui!
I'm also having problems with tabcontrols, I've got a working cegui/ogre app and used all the basic controls and buttons ok, but when I add a tabcontrol in the layouteditor and run my app I got the following errors:
but I can see it adding tabcontrol factory higher up in the log, but no tabcontentpane factory (should there be a factory for that too?)
I'm using the latest source from svn.
p.s. I cannot get the demo tabcontrol sample to work either, I get the following error:
UPDATE - my mistake, I thought I'd updated all my scheme files to the ones scriptKid specified, but I missed one. Sorry. TabControl's are working now.
Code: Select all
11/03/2008 00:21:14 (Error) Exception: WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for 'TaharezLook/TabContentPane' Window objects is not registered with the system.
11/03/2008 00:21:14 (Error) Exception: GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/TabControl' objects.
but I can see it adding tabcontrol factory higher up in the log, but no tabcontentpane factory (should there be a factory for that too?)
Code: Select all
11/03/2008 00:20:17 (InfL1) WindowFactory for 'CEGUI/TabControl' windows added.
11/03/2008 00:20:21 (InfL2) ---> Start of definition for widget look 'TaharezLook/TabControl'.
11/03/2008 00:20:21 (InfL2) ---< End of definition for widget look 'TaharezLook/TabControl'.
11/03/2008 00:21:03 (InfL2) ---> Start of definition for widget look 'TaharezLook/TabContentPane'.
11/03/2008 00:21:03 (InfL2) ---< End of definition for widget look 'TaharezLook/TabContentPane'.
I'm using the latest source from svn.
p.s. I cannot get the demo tabcontrol sample to work either, I get the following error:
Code: Select all
11/03/2008 00:17:08 (Error) CEGUI::UnknownObjectException in file c:\projects\cegui-0.5.0-svn\src\ceguiwindowmanager.cpp(174) : WindowManager::getWindow - A Window object with the name 'TabControlDemo/TabControl' does not exist within the system
UPDATE - my mistake, I thought I'd updated all my scheme files to the ones scriptKid specified, but I missed one. Sorry. TabControl's are working now.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hey all,
if you open this page and scroll down, you will find the latest (development) version of the layout editor:
http://www.cegui.org.uk/wiki/index.php/ ... oads_0.6.0
I mainly addressed the Selection system, which now basically allows you to work more intuitive. The most important change is the automatic selection of children when you select a window or a node (in the tree).
When this happens, only the top-most window (the one which you explicitely selected) has a resizeable box. The children (automatically selected) only have a rectangle drawn. Only these top-most windows can be resized and moved, while automatically propagating their changes to their children.
Because of the automatic child-selection, copying and pasting is now more easy, since you only need to pick your main windows. If you don't want the complete 'branch' to be copied or cut, just unselect separate children by clicking them while holding CTRL.
On a technical note: __auto_ windows are denied when both selecting and copying. So your layouts should stay clean
Enjoy and please let me know any issues.
if you open this page and scroll down, you will find the latest (development) version of the layout editor:
http://www.cegui.org.uk/wiki/index.php/ ... oads_0.6.0
I mainly addressed the Selection system, which now basically allows you to work more intuitive. The most important change is the automatic selection of children when you select a window or a node (in the tree).
When this happens, only the top-most window (the one which you explicitely selected) has a resizeable box. The children (automatically selected) only have a rectangle drawn. Only these top-most windows can be resized and moved, while automatically propagating their changes to their children.
Because of the automatic child-selection, copying and pasting is now more easy, since you only need to pick your main windows. If you don't want the complete 'branch' to be copied or cut, just unselect separate children by clicking them while holding CTRL.
On a technical note: __auto_ windows are denied when both selecting and copying. So your layouts should stay clean
Enjoy and please let me know any issues.
Check out my released snake game using Cegui!
Just noticed a problem. If you select a static text box and then try to resize by clicking on one of the handles then the font colour selector opens up and you cannot deselect the resizing handle.
p.s. I have to comment out those COMPILE_ macros to get it to compile? It's been that way for a while though, nothing to do with this latest revision.
p.s. I have to comment out those COMPILE_ macros to get it to compile? It's been that way for a while though, nothing to do with this latest revision.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Thanks for posting, i'll have a look. No, the compile macros are fine, they form a rather intrusive 'todo' list
Check out my released snake game using Cegui!
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
A few issues have been resolved. The colouring is a nice option (it was a patch), but needs to be triggered somewhere else. Maybe by clicking the colour option in the grid or something.
Also, the ability to set a background image was broken. It's fixed. The aformentioned download page contains a link to an updated zip file.
Also, the ability to set a background image was broken. It's fixed. The aformentioned download page contains a link to an updated zip file.
Check out my released snake game using Cegui!
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
A new version has be uploaded, and is accessible from the download page (scroll down): http://www.cegui.org.uk/wiki/index.php/ ... oads_0.6.0
Changes:
-Layouts are loaded from the set path (INI) file
-Root window is now optional
-Widescreen canvas mode
-Fixed a crash bug
Changes:
-Layouts are loaded from the set path (INI) file
-Root window is now optional
-Widescreen canvas mode
-Fixed a crash bug
Check out my released snake game using Cegui!
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
we are, but we cannot use the earlier apprauch anymore because of SF restrictions. We have to upload them as file releases. 0.6.1b was the latest.
http://sourceforge.net/project/showfile ... _id=194684
I will modify the download page, cause the info should be there as well. Thanks for the heads-up. Btw not much (besides the multiple layout extension support) has been added yet.
[EDIT]
There you go: http://www.cegui.org.uk/wiki/index.php/ ... nloads_Dev
[/EDIT]
we are, but we cannot use the earlier apprauch anymore because of SF restrictions. We have to upload them as file releases. 0.6.1b was the latest.
http://sourceforge.net/project/showfile ... _id=194684
I will modify the download page, cause the info should be there as well. Thanks for the heads-up. Btw not much (besides the multiple layout extension support) has been added yet.
[EDIT]
There you go: http://www.cegui.org.uk/wiki/index.php/ ... nloads_Dev
[/EDIT]
Check out my released snake game using Cegui!
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 0 guests