mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-19 15:39:49 +00:00
New look for fps counter
This commit is contained in:
parent
a653716e2c
commit
fb0fdf0312
2 changed files with 12 additions and 10 deletions
|
@ -127,35 +127,35 @@
|
|||
</Widget>
|
||||
|
||||
<!-- Basic FPSCounter box -->
|
||||
<Widget type="Widget" skin="HUD_Box" position="12 12 32 26" align="Left Top" name="FPSBox">
|
||||
<Widget type="Widget" skin="" position="12 12 32 26" align="Left Top" name="FPSBox">
|
||||
<Property key="Visible" value="false"/>
|
||||
<Widget type="TextBox" skin="NumFPS" position="3 3 25 17" align="Center" name="FPSCounter"/>
|
||||
</Widget>
|
||||
|
||||
<!-- Advanced FPSCounter box -->
|
||||
<Widget type="Widget" skin="HUD_Box" position="12 12 165 64" align="Left Top" name="FPSBoxAdv">
|
||||
<Widget type="Widget" skin="" position="12 12 135 64" align="Left Top" name="FPSBoxAdv">
|
||||
<Property key="Visible" value="false"/>
|
||||
|
||||
<Widget type="Widget" skin="" position="0 0 110 60" align="Left Top">
|
||||
<Widget type="Widget" skin="" position="0 0 80 60" align="Left Top">
|
||||
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 0 110 32" align="Left Top">
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 0 80 32" align="Left Top">
|
||||
<Property key="Caption" value="FPS: "/>
|
||||
<Property key="TextAlign" value="Right"/>
|
||||
</Widget>
|
||||
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 16 110 32" align="Left Top">
|
||||
<Property key="Caption" value="Tri Count: "/>
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 16 80 32" align="Left Top">
|
||||
<Property key="Caption" value="Triangles: "/>
|
||||
<Property key="TextAlign" value="Right"/>
|
||||
</Widget>
|
||||
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 32 110 32" align="Left Top">
|
||||
<Property key="Caption" value="Batch Count: "/>
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 32 80 32" align="Left Top">
|
||||
<Property key="Caption" value="Batches: "/>
|
||||
<Property key="TextAlign" value="Right"/>
|
||||
</Widget>
|
||||
|
||||
</Widget>
|
||||
|
||||
<Widget type="Widget" skin="" position="110 0 55 60" align="Left Top">
|
||||
<Widget type="Widget" skin="" position="80 0 55 60" align="Left Top">
|
||||
|
||||
<Widget type="TextBox" skin="NumFPS" position="0 0 55 32" align="Left Top" name="FPSCounterAdv">
|
||||
<Property key="TextAlign" value="Left"/>
|
||||
|
|
|
@ -19,9 +19,11 @@ color_misc=0,205,205 # ????
|
|||
</Resource>
|
||||
|
||||
<Resource type="ResourceSkin" name="NumFPS" size="16 16">
|
||||
<Property key="FontName" value="Default"/>
|
||||
<Property key="FontName" value="MonoFont"/>
|
||||
<Property key="TextAlign" value="HCenter Bottom"/>
|
||||
<Property key="TextColour" value="1 1 1"/>
|
||||
<Property key="TextShadow" value="true"/>
|
||||
|
||||
<BasisSkin type="SimpleText" offset="0 0 16 16" align="Stretch"/>
|
||||
</Resource>
|
||||
|
||||
|
|
Loading…
Reference in a new issue