Code: Select all
04/08/2008 11:00:15 (Std) CEGUI::System singleton created.
04/08/2008 11:00:15 (Std) ---- CEGUI System initialisation completed ----
04/08/2008 11:00:15 (Std) ---- Version 0.6.0 ----
04/08/2008 11:00:15 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based renderer module for CEGUI ----
04/08/2008 11:00:15 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
04/08/2008 11:00:15 (Std) ---- Scripting module is: None ----
..............
04/08/2008 11:00:29 (Std) EditorDocument::addWindow - parent: 'IPAdd'(DefaultWindow), new child: 'IPAdd/'(bbUI/StaticText).
04/08/2008 11:00:29 (Std) ParentClass: 'DefaultWindow', newClass: 'bbUI/StaticText'
04/08/2008 11:00:29 (Info) Window 'IPAdd/' of type 'bbUI/StaticText' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/StaticText' to the window 'IPAdd/'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/StaticText' to window 'IPAdd/'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_hscrollbar__' of type 'bbUI/hscroll' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Scrollbar' to the window 'IPAdd/__auto_hscrollbar__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/hscroll' to window 'IPAdd/__auto_hscrollbar__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_hscrollbar____auto_thumb__' of type 'bbUI/hscroll/thumb' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Button' to the window 'IPAdd/__auto_hscrollbar____auto_thumb__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/hscroll/thumb' to window 'IPAdd/__auto_hscrollbar____auto_thumb__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_hscrollbar____auto_incbtn__' of type 'bbUI/hscroll/right' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Button' to the window 'IPAdd/__auto_hscrollbar____auto_incbtn__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/hscroll/right' to window 'IPAdd/__auto_hscrollbar____auto_incbtn__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_hscrollbar____auto_decbtn__' of type 'bbUI/hscroll/left' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Button' to the window 'IPAdd/__auto_hscrollbar____auto_decbtn__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/hscroll/left' to window 'IPAdd/__auto_hscrollbar____auto_decbtn__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_vscrollbar__' of type 'bbUI/vscroll' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Scrollbar' to the window 'IPAdd/__auto_vscrollbar__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/vscroll' to window 'IPAdd/__auto_vscrollbar__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_vscrollbar____auto_incbtn__' of type 'bbUI/vscroll/down' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Button' to the window 'IPAdd/__auto_vscrollbar____auto_incbtn__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/vscroll/down' to window 'IPAdd/__auto_vscrollbar____auto_incbtn__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_vscrollbar____auto_decbtn__' of type 'bbUI/vscroll/up' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Button' to the window 'IPAdd/__auto_vscrollbar____auto_decbtn__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/vscroll/up' to window 'IPAdd/__auto_vscrollbar____auto_decbtn__'.
04/08/2008 11:00:29 (Info) Window 'IPAdd/__auto_vscrollbar____auto_thumb__' of type 'bbUI/vscroll/thumb' has been created.
04/08/2008 11:00:29 (Info) Assigning the window renderer 'Falagard/Button' to the window 'IPAdd/__auto_vscrollbar____auto_thumb__'
04/08/2008 11:00:29 (Info) Assigning LookNFeel 'bbUI/vscroll/thumb' to window 'IPAdd/__auto_vscrollbar____auto_thumb__'.
04/08/2008 11:00:29 (Error) CEGUI::InvalidRequestException in file \Projects\CEGUI\cegui_mk2-v0-6-2003\src\falagard\CEGUIFalDimensions.cpp(273) : ImageDim::getValue - unknown or unsupported DimensionType encountered.
04/08/2008 11:00:33 (Error) CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: Error
Exception Location: EditorDocument::AddWindow
Exception Message: ImageDim::getValue - unknown or unsupported DimensionType encountered.
Exception Filename: \Projects\CEGUI\cegui_mk2-v0-6-2003\src\falagard\CEGUIFalDimensions.cpp
Exception Line: 273
so i went and copied my hscroll thumb stuff over my vscroll thumb stuff as the hscroll thumb stuff seems to be working and changed a couple of values (the image referenced, nothing in a dim) and its still broken.
looks something along the lines of
Code: Select all
<WidgetLook name="bbUI/vscroll">
...
<Child type="bbUI/vscroll/thumb" nameSuffix="__auto_thumb__">
<Area>
<Dim type="LeftEdge" >
<AbsoluteDim value="0" />
</Dim>
<Dim type="TopEdge" >
<AbsoluteDim value="0" />
</Dim>
<Dim type="Width" >
<UnifiedDim scale="1" value="0"
type="Width"
/>
</Dim>
<Dim type="Height" >
<UnifiedDim scale="0.1"
type="Height"
/>
</Dim>
</Area>
</Child>
...
</WidgetLook>
...
<!--
bbUI/vscroll/thumb
-->
<WidgetLook name="bbUI/vscroll/thumb">
<ImagerySection name="norm">
<ImageryComponent>
<Area>
<Dim type="LeftEdge">
<AbsoluteDim value="0"/>
</Dim>
<Dim type="TopEdge">
<AbsoluteDim value="0"/>
</Dim>
<Dim type="Width">
<UnifiedDim scale="1" type="Width"/>
</Dim>
<Dim type="Height">
<UnifiedDim scale="1" type="Height"/>
</Dim>
</Area>
<Image imageset="bbButtons"
image="vThumb"
/>
<HorzFormat type="CentreAligned" />
</ImageryComponent>
</ImagerySection>
<ImagerySection name="hov">
<ImageryComponent>
<Area>
<Dim type="LeftEdge">
<AbsoluteDim value="0"/>
</Dim>
<Dim type="TopEdge">
<AbsoluteDim value="0"/>
</Dim>
<Dim type="Width">
<UnifiedDim scale="1" type="Width"/>
</Dim>
<Dim type="Height">
<UnifiedDim scale="1" type="Height"/>
</Dim>
</Area>
<Image imageset="bbButtons"
image="vThumbHov"
/>
<HorzFormat type="CentreAligned" />
</ImageryComponent>
</ImagerySection>
<ImagerySection name="pre">
<ImageryComponent>
<Area>
<Dim type="LeftEdge">
<AbsoluteDim value="0"/>
</Dim>
<Dim type="TopEdge">
<AbsoluteDim value="0"/>
</Dim>
<Dim type="Width">
<UnifiedDim scale="1" type="Width"/>
</Dim>
<Dim type="Height">
<UnifiedDim scale="1" type="Height"/>
</Dim>
</Area>
<Image imageset="bbButtons"
image="vThumbPre"
/>
<HorzFormat type="CentreAligned" />
</ImageryComponent>
</ImagerySection>
<StateImagery name="Normal">
<Layer>
<Section section="norm"/>
</Layer>
</StateImagery>
<StateImagery name="Hover">
<Layer>
<Section section="hov"/>
</Layer>
</StateImagery>
<StateImagery name="Pushed">
<Layer>
<Section section="pre"/>
</Layer>
</StateImagery>
</WidgetLook>
any idea why that works for my horisontal bar and not my vertical?
thanks again in advance.