/usr/share/cegui-0.8.4/looknfeel/HUDDemo.looknfeel is in libcegui-mk2-doc 0.8.4+dfsg-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | <?xml version="1.0" ?>
<!--
Generic.looknfeel by Lukas E. Meindl
This looknfeel was created for the HUDDemo to provide it with a score popup widget, it uses an animation defined
in this looknfeel file
-->
<Falagard version="7">
<WidgetLook name="HUDDemo/PopupLabel">
<PropertyDefinition redrawOnWrite="true" initialValue="FFFF0000" type="Colour" name="NormalTextColour"/>
<PropertyDefinition redrawOnWrite="true" initialValue="FFFF0000" type="Colour" name="DisabledTextColour"/>
<PropertyDefinition redrawOnWrite="true" initialValue="CentreAligned" type="VerticalTextFormatting" name="VertFormatting"/>
<PropertyDefinition redrawOnWrite="true" initialValue="LeftAligned" type="HorizontalTextFormatting" name="HorzFormatting"/>
<Property name="Size" value="{{0.1, 0}, {0.08, 0}}" />
<Property name="MousePassThroughEnabled" value="true" />
<ImagerySection name="Label">
<TextComponent>
<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>
<VertFormatProperty name="VertFormatting"/>
<HorzFormatProperty name="HorzFormatting"/>
</TextComponent>
</ImagerySection>
<StateImagery name="Enabled">
<Layer>
<Section section="Label">
<ColourProperty name="NormalTextColour"/>
</Section>
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="Label">
<ColourProperty name="DisabledTextColour"/>
</Section>
</Layer>
</StateImagery>
<AnimationDefinition autoStart="false" duration="2.5" name="PopupAnimation" replayMode="once">
<Affector property="Position" interpolator="UVector2" applicationMethod="relative">
<KeyFrame position="0.0" value="{{0, 0}, {0, 0}}" />
<KeyFrame position="2.5" progression="linear" value="{{0, 0}, {-0.2, 0}}" />
</Affector>
<Affector property="Alpha" interpolator="float" applicationMethod="absolute">
<KeyFrame position="0.8" value="1.0" />
<KeyFrame position="2.5" progression="linear" value="0.0" />
</Affector>
<Subscription event="StartAnimation" action="Start" />
</AnimationDefinition>
</WidgetLook>
<WidgetLook name="HUDDemo/ProgressBar">
<Property name="Size" value="{{0, 256}, {0, 32}}" />
<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="background">
<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 name="HUDDemo/LifeBarBG"/>
<VertFormat type="Stretched"/>
<HorzFormat type="Stretched"/>
</ImageryComponent>
</ImagerySection>
<ImagerySection name="progress">
<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 name="HUDDemo/LifeBarFill"/>
<VertFormat type="Stretched"/>
<HorzFormat type="Stretched"/>
</ImageryComponent>
</ImagerySection>
<StateImagery name="Enabled">
<Layer>
<Section section="background"/>
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="background"/>
</Layer>
</StateImagery>
<StateImagery name="EnabledProgress">
<Layer>
<Section section="progress"/>
</Layer>
</StateImagery>
<StateImagery name="DisabledProgress">
<Layer>
<Section section="progress" />
</Layer>
</StateImagery>
</WidgetLook>
</Falagard>
|