Trouble using WindowsLook in Demo 4

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Trouble using WindowsLook in Demo 4

Postby Legolas1681 » Fri Jan 28, 2005 00:43

I changed all instances of 'TaharezLook' to 'WindowsLook' in the source file and compile, but it crashes on execute and the log file has this in it:

Code: Select all

28/01/2005 00:27:17 (InfL1)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
28/01/2005 00:27:17 (InfL1)   +                     Crazy Eddie's GUI System - Event log                    +
28/01/2005 00:27:17 (InfL1)   +                     (http://crayzedsgui.sourceforge.net)                    +
28/01/2005 00:27:17 (InfL1)   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

28/01/2005 00:27:17 (InfL1)   CEGUI::Logger singleton created.
28/01/2005 00:27:17 (InfL1)   ---- Begining CEGUI System initialisation ----
28/01/2005 00:27:17 (InfL1)   CEGUI::ImagesetManager singleton created
28/01/2005 00:27:17 (InfL1)   CEGUI::FontManager singleton created.
28/01/2005 00:27:17 (InfL1)   CEGUI::WindowFactoryManager singleton created
28/01/2005 00:27:17 (InfL1)   CEGUI::WindowManager singleton created
28/01/2005 00:27:17 (InfL1)   CEGUI::SchemeManager singleton created.
28/01/2005 00:27:17 (InfL1)   CEGUI::MouseCursor singleton created.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'DefaultWindow' windows added.
28/01/2005 00:27:17 (InfL1)   Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
28/01/2005 00:27:17 (InfL1)   CEGUI::System singleton created.
28/01/2005 00:27:17 (InfL1)   ---- CEGUI System initialisation completed ----
28/01/2005 00:27:17 (InfL1)   Attempting to load Scheme from file '../datafiles/schemes/WindowsLook.scheme'.
28/01/2005 00:27:17 (InfL2)   Started creation of Scheme 'WindowsLook' via XML file.
28/01/2005 00:27:17 (InfL2)   Finished creation of Scheme 'WindowsLook' via XML file.
28/01/2005 00:27:17 (InfL2)   Loaded GUI scheme 'WindowsLook' from data in file '../datafiles/schemes/WindowsLook.scheme'.
28/01/2005 00:27:17 (InfL2)   ---- Begining resource loading for GUI scheme 'WindowsLook' ----
28/01/2005 00:27:17 (InfL1)   Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/WindowsLook.imageset'.
28/01/2005 00:27:17 (InfL2)   Started creation of Imageset 'WindowsLook' via XML file.
28/01/2005 00:27:17 (InfL2)   Finished creation of Imageset 'WindowsLook' via XML file.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Button' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Checkbox' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/CloseButton' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Combobox' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/ComboDropList' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Editbox' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/FrameWindow' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/HorizontalScrollbar' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/HorizontalScrollbarThumb' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Listbox' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/ListHeader' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/ListHeaderSegment' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/MultiColumnList' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/MultiLineEditbox' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/ProgressBar' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/RadioButton' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Slider' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/SliderThumb' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/StaticImage' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/StaticText' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/TabButton' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/TabControl' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/TabPane' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/Titlebar' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/VerticalScrollbar' windows added.
28/01/2005 00:27:17 (InfL1)   WindowFactory for 'WindowsLook/VerticalScrollbarThumb' windows added.
28/01/2005 00:27:17 (InfL2)   ---- Resource loading for GUI scheme 'WindowsLook' completed ----
28/01/2005 00:27:17 (Error)   Exception: FontManager::getFont - A Font object with the specified name 'Commonwealth-10' does not exist within the system
28/01/2005 00:27:17 (Error)   Exception: WindowManager::getWindow - A Window object with the name 'MiniHorzScroll 1' does not exist within the system


It says it failed to get the window 'MiniHorzScroll1', but I don't see any messages about it failing to create the window (or even that it successfully created it for that matter).

I have no clue about font error...

Also, I did copy the WindowsLook resource files into the appropriate directories.

User avatar
walaber
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun Jan 23, 2005 10:20
Contact:

Re: Trouble using WindowsLook in Demo 4

Postby walaber » Fri Jan 28, 2005 03:25

for the font error, you need to add the font definition to the WindowsLook scheme file... open up the TaharezLook.scheme, and copy the font line into WindowsLook, that will fix it.

as for the other error, I don't think WindowsLook has that object type, so you'll have to probably change up the layout a little bit...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Trouble using WindowsLook in Demo 4

Postby CrazyEddie » Fri Jan 28, 2005 10:08

The other error is a side effect of the missing font. The exception handling in the demos is very lame and so you get the double-whammy and a crash ;)

Fixing the font issue as described by walaber should fix the other issue too.

HTH

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests