dermont
03-06-2006 13:48:31
@rastaman just downloaded and tried out dotnet, just wanted to say good job.
For pyCegui I encountered similar problems updating the menu related demos to WindowsLookSkin as reported for DemoCeguiMenus in this thread:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1239
The Windowslook CEGUI theme stuff in cegui's source distro (0.4.1) under Samples/datafiles, and there doesn't appear to be any mappings for WindowsLookSkin / MenubarItem, though I did have it working for pyCegui using WindowsLook only.
Here's the steps I took to get it running on dotnet:
To your Samples/Media dir copy across:
Edit:
Exit causes a seg fault but I'll leave that to you.
Hope any of the above was of any assistance.
For pyCegui I encountered similar problems updating the menu related demos to WindowsLookSkin as reported for DemoCeguiMenus in this thread:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1239
The Windowslook CEGUI theme stuff in cegui's source distro (0.4.1) under Samples/datafiles, and there doesn't appear to be any mappings for WindowsLookSkin / MenubarItem, though I did have it working for pyCegui using WindowsLook only.
Here's the steps I took to get it running on dotnet:
To your Samples/Media dir copy across:
cegui/Samples/datafiles/schemes
WindowsLookSkin.scheme
WindowsLookWidget.scheme
cegui/Samples/datafiles/imagesets
WindowsLook.imageset
WindowsLook.tga
cegui/Samples/datafiles/looknfeel
WindowsLook.looknfeel
Edit:
[list=] 1) WindowsLook.imageset:
//Imagefile="../datafiles/imagesets/WindowsLook.tga"
Imagefile="WindowsLook.tga"
2) WindowsLookSkin.scheme:
//Filename="../datafiles/imagesets/WindowsLook.imageset"
Filename="WindowsLook.imageset"
<Font Name="BlueHighway-12" Filename="bluehighway-12.font" />
<Font Name="BlueHighway-10" Filename="bluehighway-10.font" />
<Font Name="BlueHighway-8" Filename="bluehighway-8.font" />
//LookNFeel Filename="../datafiles/looknfeel/WindowsLook.looknfeel"
LookNFeel Filename="WindowsLook.looknfeel"
3) CeguiApplication.cs:
//SchemeManager.Instance.LoadScheme("TaharezLook.scheme");
SchemeManager.Instance.LoadScheme("WindowsLookSkin.scheme");
- replace instances of TaharezLook with WindowsLook
//MenuItem mnuFile = WindowManager.Instance.CreateMenuItem("WindowsLook/MenubarItem", "mnuFile");
MenuItem mnuFile = WindowManager.Instance.CreateMenuItem("WindowsLook/MenuItem", "mnuFile");
[/list]
Exit causes a seg fault but I'll leave that to you.
Hope any of the above was of any assistance.