My looknfeel is:
Code: Select all
<WidgetLook name="TFLook/ProgressBar">
<NamedArea name="ProgressArea">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="8" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="4" /></Dim>
<Dim type="RightEdge" >
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract"><AbsoluteDim value="8" /></DimOperator>
</UnifiedDim>
</Dim>
<Dim type="BottomEdge" >
<UnifiedDim scale="1" type="BottomEdge">
<DimOperator op="Subtract"><AbsoluteDim value="4" /></DimOperator>
</UnifiedDim>
</Dim>
</Area>
</NamedArea>
<ImagerySection name="frame">
<FrameComponent>
<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 type="LeftEdge" imageset="TFLook" image="lvlProgContainerLeft" />
<Image type="RightEdge" imageset="TFLook" image="lvlProgContainerRight" />
<Image type="Background" imageset="TFLook" image="lvlProgContainerMiddle" />
</FrameComponent>
</ImagerySection>
<ImagerySection name="bar" >
<!--
<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="TaharezLook" image="lvlProgBarMiddle" />
<VertFormat type="Stretched" />
<HorzFormat type="Stretched" />
</ImageryComponent>
-->
<FrameComponent>
<Area>
<AreaProperty name="ProgressArea" />
</Area>
<Image type="LeftEdge" imageset="TFLook" image="progCtrlBarLeft" />
<Image type="RightEdge" imageset="TFLook" image="progCtrlBarRight" />
<Image type="Background" imageset="TFLook" image="progCtrlBarMiddle" />
</FrameComponent>
</ImagerySection>
<StateImagery name="Enabled">
<Layer>
<Section section="frame" />
<Section section="bar" />
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="frame">
<Colours topLeft="7FFFFFFF" topRight="7FFFFFFF" bottomLeft="7FFFFFFF" bottomRight="7FFFFFFF" />
</Section>
<Section section="bar" />
</Layer>
</StateImagery>
<StateImagery name="EnabledProgress">
<Layer>
<Section section="bar" />
</Layer>
</StateImagery>
<StateImagery name="DisabledProgress">
<Layer>
<Section section="bar">
<Colours topLeft="7FFFFFFF" topRight="7FFFFFFF" bottomLeft="7FFFFFFF" bottomRight="7FFFFFFF" />
</Section>
</Layer>
</StateImagery>
</WidgetLook>
I see no errors in the CEGUI log file. The progress bar's frame does show up, just not the bar inside.