Hi,
I'm using the precompiled version of the layout editor, and I can't seem to get it to let me create WindowsLook widgets. They don't show up in the drop down list, any ideas?
Thanks.
Windows Look?
Moderators: CEGUI MVP, CEGUI Team
Windows Look?
There are 10 types of people in the world: those that understand binary and those that don't.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Windows Look?
I'll let Scriptkid give the official word on this, though I think currently loading other schemes / widget sets in still on the TODO list.
What you might try is laying things out in TaharezLook and then doing a global search/replace of "TaharezLook" for "WindowsLook" on the layout, this would give reasonable results for most widgets (the slider being an exception). I understand that this is not ideal, and I could very well be talking a load of rubbish
Just a suggestion.
CE.
What you might try is laying things out in TaharezLook and then doing a global search/replace of "TaharezLook" for "WindowsLook" on the layout, this would give reasonable results for most widgets (the slider being an exception). I understand that this is not ideal, and I could very well be talking a load of rubbish

CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Windows Look?
That will work...I was hoping to get a good idea of what my screen would look like, but this will provide a general feel for what I can expect.
Thanks.
Thanks.
There are 10 types of people in the world: those that understand binary and those that don't.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Re: Windows Look?
Hi,
sorry for the late reply! I guess i wasn't that sharp the past few days
What you can try is to overwrite your TaharezLook.scheme file with the following contents (because the editor hard-codes to this scheme):
<?xml version="1.0" ?>
<GUIScheme Name="WindowsLook">
<Imageset Name="WindowsLook" Filename="../datafiles/imagesets/WindowsLook.imageset" />
<Font Name="Tahoma-12" Filename="../datafiles/fonts/tahoma-12.font" />
<WindowSet Filename="CEGUIWindowsLook">
<WindowFactory Name="WindowsLook/Button" />
<WindowFactory Name="WindowsLook/Checkbox" />
<WindowFactory Name="WindowsLook/CloseButton" />
<WindowFactory Name="WindowsLook/Combobox" />
<WindowFactory Name="WindowsLook/ComboDropList" />
<WindowFactory Name="WindowsLook/Editbox" />
<WindowFactory Name="WindowsLook/FrameWindow" />
<WindowFactory Name="WindowsLook/HorizontalScrollbar" />
<WindowFactory Name="WindowsLook/HorizontalScrollbarThumb" />
<WindowFactory Name="WindowsLook/Listbox" />
<WindowFactory Name="WindowsLook/ListHeader" />
<WindowFactory Name="WindowsLook/ListHeaderSegment" />
<WindowFactory Name="WindowsLook/MultiColumnList" />
<WindowFactory Name="WindowsLook/MultiLineEditbox" />
<WindowFactory Name="WindowsLook/ProgressBar" />
<WindowFactory Name="WindowsLook/RadioButton" />
<WindowFactory Name="WindowsLook/Slider" />
<WindowFactory Name="WindowsLook/SliderThumb" />
<WindowFactory Name="WindowsLook/StaticImage" />
<WindowFactory Name="WindowsLook/StaticText" />
<WindowFactory Name="WindowsLook/TabButton" />
<WindowFactory Name="WindowsLook/TabControl" />
<WindowFactory Name="WindowsLook/TabPane" />
<WindowFactory Name="WindowsLook/Titlebar" />
<WindowFactory Name="WindowsLook/VerticalScrollbar" />
<WindowFactory Name="WindowsLook/VerticalScrollbarThumb" />
</WindowSet>
</GUIScheme>
From that point, the available widgets are dynamically determined. I did a quick test and it seemed to work fine...
sorry for the late reply! I guess i wasn't that sharp the past few days

What you can try is to overwrite your TaharezLook.scheme file with the following contents (because the editor hard-codes to this scheme):
<?xml version="1.0" ?>
<GUIScheme Name="WindowsLook">
<Imageset Name="WindowsLook" Filename="../datafiles/imagesets/WindowsLook.imageset" />
<Font Name="Tahoma-12" Filename="../datafiles/fonts/tahoma-12.font" />
<WindowSet Filename="CEGUIWindowsLook">
<WindowFactory Name="WindowsLook/Button" />
<WindowFactory Name="WindowsLook/Checkbox" />
<WindowFactory Name="WindowsLook/CloseButton" />
<WindowFactory Name="WindowsLook/Combobox" />
<WindowFactory Name="WindowsLook/ComboDropList" />
<WindowFactory Name="WindowsLook/Editbox" />
<WindowFactory Name="WindowsLook/FrameWindow" />
<WindowFactory Name="WindowsLook/HorizontalScrollbar" />
<WindowFactory Name="WindowsLook/HorizontalScrollbarThumb" />
<WindowFactory Name="WindowsLook/Listbox" />
<WindowFactory Name="WindowsLook/ListHeader" />
<WindowFactory Name="WindowsLook/ListHeaderSegment" />
<WindowFactory Name="WindowsLook/MultiColumnList" />
<WindowFactory Name="WindowsLook/MultiLineEditbox" />
<WindowFactory Name="WindowsLook/ProgressBar" />
<WindowFactory Name="WindowsLook/RadioButton" />
<WindowFactory Name="WindowsLook/Slider" />
<WindowFactory Name="WindowsLook/SliderThumb" />
<WindowFactory Name="WindowsLook/StaticImage" />
<WindowFactory Name="WindowsLook/StaticText" />
<WindowFactory Name="WindowsLook/TabButton" />
<WindowFactory Name="WindowsLook/TabControl" />
<WindowFactory Name="WindowsLook/TabPane" />
<WindowFactory Name="WindowsLook/Titlebar" />
<WindowFactory Name="WindowsLook/VerticalScrollbar" />
<WindowFactory Name="WindowsLook/VerticalScrollbarThumb" />
</WindowSet>
</GUIScheme>
From that point, the available widgets are dynamically determined. I did a quick test and it seemed to work fine...

- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Re: Windows Look?
Hi again saetrum,
just to let you know that the editor does now support the WindowsLook (in CVS)
But before adding it to the pre-compiled installer i was thinking about the following: at this moment, the editor just loads both schemes, so that the "addWindow" dialog will show both the Taharez- and the Windows look widgets. You can even create a layout containing widgets from both looks
This might however be confusing and even "blinding", especially when you consider that even more "looks" might be available in the future.
I want to stick with the hard-coded loading of schemes, and condider their "not-found" as a warning, not a show-stopper. Then, on adding or opening a layout, let the user choose from the available (found) looks, so that the "addWindow" dialog becomes look-sensitive and stays clean.
Maybe, to support multiple looks in one layout (for whatever reason), this pre-set ("primary"?) value might be the default in the "addWindow" dialog, but leave an option (combobox?) in case you want to add a window from another look.
Sounds like good ideas?
SC.
just to let you know that the editor does now support the WindowsLook (in CVS)

But before adding it to the pre-compiled installer i was thinking about the following: at this moment, the editor just loads both schemes, so that the "addWindow" dialog will show both the Taharez- and the Windows look widgets. You can even create a layout containing widgets from both looks

This might however be confusing and even "blinding", especially when you consider that even more "looks" might be available in the future.
I want to stick with the hard-coded loading of schemes, and condider their "not-found" as a warning, not a show-stopper. Then, on adding or opening a layout, let the user choose from the available (found) looks, so that the "addWindow" dialog becomes look-sensitive and stays clean.
Maybe, to support multiple looks in one layout (for whatever reason), this pre-set ("primary"?) value might be the default in the "addWindow" dialog, but leave an option (combobox?) in case you want to add a window from another look.
Sounds like good ideas?
SC.
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Re: Windows Look?
A new installer (windows only) is available from Crazy Eddie's download area:
http://www.cegui.org.uk/modules/mydownloads/
Both Taharez- and Windows look are now supported. You can even use both schemes in one layout. When adding a window, you can select a scheme so the application filters the available window types for you. This avoids a flood of types, especially when more schemes are available in the future.
Have fun
,
scriptkid.
[EDIT] for reasons mentioned by CE in the news section, i could not commit the changes to CVS yet, so please be a little patient. [/EDIT]
http://www.cegui.org.uk/modules/mydownloads/
Both Taharez- and Windows look are now supported. You can even use both schemes in one layout. When adding a window, you can select a scheme so the application filters the available window types for you. This avoids a flood of types, especially when more schemes are available in the future.
Have fun

scriptkid.
[EDIT] for reasons mentioned by CE in the news section, i could not commit the changes to CVS yet, so please be a little patient. [/EDIT]
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 1 guest