Page 1 of 1

Trouble with Layout Editor using AquaLook Skin

Posted: Sun Apr 04, 2010 06:49
by lymantok
Hi,

I have an odd problem with an a gap in the frame window, and a missing close button using the AquaLook Skin in the layout editor.

Images and descriptions of the problem are here:

http://www.flickr.com/photos/22251599@N ... 765279640/

I'd like to eliminate the gap and have the top portion of my window displayed along with the close button. Yes, closebuttonenabled is set to true in the layout editor.

Am I missing something basic here? Or is there a problem with the AquaLook imageset. If the later, what do I need to look for in the Skin and/or imageset to try and fix this gap and make the window look correct?

Many Thx!

Re: Trouble with Layout Editor using AquaLook Skin

Posted: Mon Apr 05, 2010 16:22
by Jamarr
Hi, first off I cannot answer this question. However, if you can provide additional information, more then likely CE or ScriptKid will be able to assist you. If you take a moment to review the Forum Guidelines, in particular: posting your log file, and including as much information as possible; this will help get your question answered sooner rather than later.

In this particular instance, you should provide: the CEGUI.log and/or CELayoutEditor.log file, and the relevant xml in the .layout file you are using.

In this particular case, I would guess that you are mixing the older v0.6.2 layout files with a v0.7 version of CEGUI. From what has been discussed on these boards, I do not think that these are compatible; there was a client-area change in v0.7 which requires the layout files accompanying the v0.7 release.

Re: Trouble with Layout Editor using AquaLook Skin

Posted: Tue Apr 06, 2010 01:53
by lymantok
Hi Thx,

Sorry about that...

I'll search the forum for client area changes to see if there is any info on how and what to fix.

Layout editor log:

05/04/2010 18:41:39 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
05/04/2010 18:41:39 (Std) ********************************************************************************
05/04/2010 18:41:39 (Std) ---- Version 0.7.1 (Build: Dec 27 2009 Microsoft Windows MSVC++ 9.0 32 bit) ----
05/04/2010 18:41:39 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support is not available :( ----
05/04/2010 18:41:39 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
05/04/2010 18:41:39 (Std) ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
05/04/2010 18:41:39 (Std) ---- Scripting module is: None ----
05/04/2010 18:41:39 (Std) ********************************************************************************
05/04/2010 18:41:39 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *

...

171k of text not posted, but can if really needed. No errors in the log, just (std) and (info).

...

Last lines in the editor log are:

05/04/2010 18:41:40 (Std) ---- Successfully completed loading of GUI layout from 'gbb-AquaLook.layout' ----
05/04/2010 18:41:41 (Std) Display resize: w=640 h=480
05/04/2010 18:41:42 (Std) Display resize: w=640 h=480
05/04/2010 18:41:43 (Std) Display resize: w=640 h=480
05/04/2010 18:41:44 (Std) Display resize: w=640 h=480
05/04/2010 18:41:44 (Std) Attempting to create Imageset 'BlueHighway-10_auto_glyph_images_ ' with texture only.
05/04/2010 18:41:44 (Std) Attempting to create Imageset 'BlueHighway-10_auto_glyph_images_û' with texture only.
05/04/2010 18:41:44 (Std) Attempting to create Imageset 'BlueHighway-12_auto_glyph_images_ ' with texture only.
05/04/2010 18:41:44 (Std) Attempting to create Imageset 'BlueHighway-12_auto_glyph_images_ÿ' with texture only.

Layout file (not modified at all from the original AquaLook skin zip file):

<?xml version="1.0" encoding="UTF-8"?>

<GUILayout >
<Window Type="DefaultWindow" Name="Root" >
<Property Name="InheritsAlpha" Value="False" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0,640},{0,480}}" />
<Window Type="AquaLook/FrameWindow" Name="Root/Frame" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="FrameWindow" />
<Property Name="TitlebarFont" Value="BlueHighway-10" />
<Property Name="RollUpEnabled" Value="False" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="TitlebarEnabled" Value="True" />
<Property Name="UnifiedAreaRect" Value="{{0,14},{0,10},{0,288},{0,446}}" />
<Window Type="AquaLook/Button" Name="Root/Frame/ButtonOK" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="OK" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,39},{0,393},{0,102},{0,419}}" />
</Window>
<Window Type="AquaLook/Button" Name="Root/Frame/ButtonCancel" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="Cancel" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,161},{0,394},{0,224},{0,420}}" />
</Window>
<Window Type="AquaLook/Slider" Name="Root/Frame/VertSlider" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="CurrentValue" Value="0" />
<Property Name="MaximumValue" Value="1" />
<Property Name="ClickStepSize" Value="0.01" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,15},{0,25},{0,31},{0,119}}" />
</Window>
<Window Type="AquaLook/StaticText" Name="Root/Frame/StaticText" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="StaticText" />
<Property Name="TextColours" Value="tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,35},{0,26},{0,127},{0,50}}" />
</Window>
<Window Type="AquaLook/Listbox" Name="Root/Frame/Listbox" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" >Listbox
</Property>
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,138},{0,26},{0,259},{0,87}}" />
<Property Name="ForceVertScrollbar" Value="True" />
</Window>
<Window Type="AquaLook/Checkbox" Name="Root/Frame/Checkbox0" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="Checkbox0" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,139},{0,106},{0,209},{0,126}}" />
</Window>
<Window Type="AquaLook/Checkbox" Name="Root/Frame/Checkbox1" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="Checkbox1" />
<Property Name="Selected" Value="True" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,139},{0,90},{0,209},{0,110}}" />
</Window>
<Window Type="AquaLook/RadioButton" Name="Root/Frame/RadioButton0" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="RadioButton0" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,39},{0,91},{0,120},{0,111}}" />
</Window>
<Window Type="AquaLook/RadioButton" Name="Root/Frame/RadioButton1" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="RadioButton1" />
<Property Name="Selected" Value="True" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,39},{0,109},{0,120},{0,129}}" />
</Window>
<Window Type="AquaLook/Combobox" Name="Root/Frame/Combobox" >
<Property Name="Font" Value="BlueHighway-10" />
<Property Name="Text" Value="Combobox" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,36},{0,55},{0,126},{0,197}}" />
<Property Name="MaxEditTextLength" Value="1073741823" />
</Window>
<Window Type="AquaLook/SliderHoriz" Name="Root/Frame/HorizSlider" >
<Property Name="CurrentValue" Value="0" />
<Property Name="MaximumValue" Value="1" />
<Property Name="ClickStepSize" Value="0.01" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,14},{0,130},{0,257},{0,150}}" />
</Window>
<Window Type="AquaLook/HorizontalScrollbar" Name="Root/Frame/HorizScrollbar" >
<Property Name="PageSize" Value="0" />
<Property Name="StepSize" Value="1" />
<Property Name="OverlapSize" Value="0" />
<Property Name="DocumentSize" Value="1" />
<Property Name="ScrollPosition" Value="0" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,31},{0,369},{0,234},{0,390}}" />
</Window>
<Window Type="AquaLook/VerticalScrollbar" Name="Root/Frame/VertScrollbar" >
<Property Name="PageSize" Value="0" />
<Property Name="StepSize" Value="1" />
<Property Name="OverlapSize" Value="0" />
<Property Name="DocumentSize" Value="1" />
<Property Name="ScrollPosition" Value="0" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,241},{0,236},{0,261},{0,385}}" />
</Window>
<Window Type="AquaLook/Spinner" Name="Root/Frame/Spinner" >
<Property Name="StepSize" Value="1" />
<Property Name="CurrentValue" Value="0" />
<Property Name="MaximumValue" Value="32767" />
<Property Name="MinimumValue" Value="-32768" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,17},{0,192},{0,60},{0,230}}" />
</Window>
<Window Type="AquaLook/Editbox" Name="Root/Frame/Editbox" >
<Property Name="Text" Value="Editbox" />
<Property Name="MaxTextLength" Value="1073741823" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,68},{0,194},{0,252},{0,224}}" />
</Window>
<Window Type="AquaLook/ProgressBar" Name="Root/Frame/ProgressBar" >
<Property Name="StepSize" Value="0.01" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="CurrentProgress" Value="0" />
<Property Name="UnifiedAreaRect" Value="{{0,14},{0,153},{0,257},{0,192}}" />
</Window>
</Window>
</Window>
</GUILayout>

Re: Trouble with Layout Editor using AquaLook Skin

Posted: Tue Apr 06, 2010 16:54
by Jamarr
Make sure to surround your xml/code in [code][/code] tags.

If you are indeed using the correct v0.7 resource files, then you will probably have to wait until CE returns from his break for more help.

Re: Trouble with Layout Editor using AquaLook Skin

Posted: Wed Apr 07, 2010 09:20
by CrazyEddie

Re: Trouble with Layout Editor using AquaLook Skin

Posted: Thu Apr 08, 2010 01:22
by lymantok
That fixed it. Many thx!