It proceeded not to work. It was always shown as full.
So we put the Property line back in. and it worked. changed the value to "False". didnt work.
We then set it to ReversedProgress and left it (so we have a working indicator) and it worked but we want it to go left to right if possible.
the widget looknfeel looks as such.
Code: Select all
<WidgetLook name="bbUI/HUD/HeatBar">
<Property name="ReversedProgress" value="True"/>
<NamedArea name="ProgressArea">
<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>
</NamedArea>
<ImagerySection name="bg">
<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="bbHUD"
image="HeatBarBG"
/>
<VertFormat type="TopAligned"/>
<HorzFormat type="CenterAligned"/>
</ImageryComponent>
</ImagerySection>
<ImagerySection name="fg">
<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="bbHUD"
image="HeatBarFG"
/>
<VertFormat type="TopAligned"/>
<HorzFormat type="CenterAligned"/>
</ImageryComponent>
</ImagerySection>
<StateImagery name="Enabled">
<Layer>
<Section section="bg"/>
</Layer>
</StateImagery>
<StateImagery name="Disabled"/>
<StateImagery name="EnabledProgress">
<Layer>
<Section section="fg"/>
</Layer>
</StateImagery>
<StateImagery name="DisabledProgress"/>
</WidgetLook>
unfortunately I am unable to say which version the project is using and i dont have a working build to produce a log. (and the layouteditor one wouldnt give you quite the right info.)
i can say that the copyright line in the comment headers of CEGUI.h says 2006.....
oh wait.
CEGUIVersion.h
Code: Select all
//////////////////////////////////////////////////////////////////////////
// Define CEGUI version
//////////////////////////////////////////////////////////////////////////
#define CEGUI_VERSION_MAJOR 0
#define CEGUI_VERSION_MINOR 5
#define CEGUI_VERSION_PATCH 1
so what? 0.5.1?
anyway. thanks in advance.