Page 1 of 1

Property named "Area" ?

Posted: Sat Aug 20, 2011 14:34
by Ivian
I'm trying to compile AfliskoSkin.scheme but I'm recieving this error:

Code: Select all

20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'AlfiskoSkin/Button' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/ImageButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' Look'N'Feel 'AlfiskoSkin/ImageButton' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/RadioButton' using base type 'CEGUI/RadioButton', window renderer 'Falagard/ToggleButton' Look'N'Feel 'AlfiskoSkin/RadioButton' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Checkbox' using base type 'CEGUI/Checkbox', window renderer 'Falagard/ToggleButton' Look'N'Feel 'AlfiskoSkin/Checkbox' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' Look'N'Feel 'AlfiskoSkin/Titlebar' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' Look'N'Feel 'AlfiskoSkin/FrameWindow' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' Look'N'Feel 'AlfiskoSkin/Editbox' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'AlfiskoSkin/VerticalScrollbarThumb' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'AlfiskoSkin/VerticalScrollbar' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'AlfiskoSkin/HorizontalScrollbarThumb' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' Look'N'Feel 'AlfiskoSkin/HorizontalScrollbar' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' Look'N'Feel 'AlfiskoSkin/MultiLineEditbox' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/ProgressBar' using base type 'CEGUI/ProgressBar', window renderer 'Falagard/ProgressBar' Look'N'Feel 'AlfiskoSkin/ProgressBar' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalSliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'AlfiskoSkin/HorizontalSliderThumb' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/HorizontalSlider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'AlfiskoSkin/HorizontalSlider' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalSliderThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' Look'N'Feel 'AlfiskoSkin/VerticalSliderThumb' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/VerticalSlider' using base type 'CEGUI/Slider', window renderer 'Falagard/Slider' Look'N'Feel 'AlfiskoSkin/VerticalSlider' and RenderEffect ''. (0014CF2C)
20/08/2011 16:28:17 (Std)    Creating falagard mapping for type 'AlfiskoSkin/MenuItem' using base type 'CEGUI/MenuItem', window renderer 'Falagard/MenuItem' Look'N'Feel 'AlfiskoSkin/MenuItem' and RenderEffect ''. (0014CF2C)
[b]20/08/2011 16:28:17 (Error)   CEGUI::UnknownObjectException in file c:\cegui-0.7.5\cegui\src\ceguipropertyset.cpp(124) : There is no Property named 'Area' available in the set.[/b]


Which element need the "Area" Property?

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 14:45
by Kulik
AlfiskoSkin is CEGUI 0.8 only, it won't work in its current form in 0.7.5

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 14:56
by Ivian
I've tried to change it, to get it work with 0.7.5, and I'm recieving exception with expression :

Code: Select all

d_left.getDimensionType() == DT_LEFT_EDGE || d_left.getDimensionType() == DT_X_POSITION


When i'm trying to create an object with CELayout Editor.


But the question is, from where can i take the 0.8?

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 15:23
by Kulik
From Mercurial (http://crayzedsgui.hg.sourceforge.net:8 ... /cegui_mk2)

The skin would be quite hard to convert to 0.7 because it uses looknfeel inheritance, you would have to copy base widgetlook to the widgetlook that inherits it. However it is possible. Once I get the looknfeel compat layers done it should be possible to migrate it to 0.7.5 automatically.

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 18:06
by Ivian
Ok. I have downloaded 0.8, but I'm recieving exception:

Code: Select all

CEGUI was compiled without freetype support.


I guess I'm missing a config.h right? But why I didn't get it from CMake?

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 18:56
by Kulik
You are probably missing the new 0.8 source based dependencies - http://sourceforge.net/projects/crayzed ... p/download

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 20:18
by Ivian
Oh, i didn't saw the dependencies.

I've used Unified Editor, to create a layout, but I'm recieving message:

Code: Select all

GUILayout_xmlHandler::elementGUILayoutStart - You are attempting to load a layout of version 'unknown' but this CEGUI version is only meant to load layouts of version '4'. Consider using the migrate.py script bundled with CEGUI Unified Editor to migrate your data.


What does that might mean? In Unified editor I'm loading it with version 4, and there are no problems.

// SOLVED

Problem witch .scheme

<GUILayout version="4"> instead of <GUILayout> and it works!

Re: Property named "Area" ?

Posted: Sat Aug 20, 2011 20:32
by Kulik
Yes, this is caused by the latest changes, if you are using snapshot3 of the editor it will output layouts that need version="4" added to them. This will be fixed in snapshot4 (it is already fixed in the repository).