Horizontal slider?
Posted: Wed Nov 12, 2008 00:42
Is there a horizontal slider control (i know there is a vertical) or is there a way of transforming the vertical to horizontal?
The official forum for CEGUI
http://cegui.org.uk/forum/
Code: Select all
<Property name="VertFree" value="True" />
Code: Select all
<Property name="HorzFree" value="True" />
Code: Select all
<Property name="VerticalSlider" value="True" />
Code: Select all
<Property name="VerticalSlider" value="False" />
Code: Select all
<Child type="TaharezLook/SliderThumb" nameSuffix="__auto_thumb__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
<Dim type="Height" ><ImageDim imageset="TaharezLook" image="VertSliderThumbNormal" dimension="Height" /></Dim>
</Area>
</Child>
Code: Select all
<Child type="TaharezLook/SliderThumb" nameSuffix="__auto_thumb__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><ImageDim imageset="TaharezLook" image="VertSliderThumbNormal" dimension="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
</Area>
</Child>
eugen wrote:One other problem we have here is with the CheckBox from the TaharezLook. When we want to create a CEGUI/Checkbox type of window but we get this error message "'Window::setLookNFeel - There must be a window renderer assigned to the window 'GUICheckButton0' to set its look'n'feel". The thing is i believe it has the renderer assigned since is the default lookandfeel and scheme. What can it be, what should i be checking to have this working?
[edit]
It seems i can only create the check button if i create it as TaharezLook/CheckBox instead of CEGUI