Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions resources/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<property id="multiplier" type="float">1.0</property>
<property id="slope" type="string">100:100,300:300,400:400,600:600,800:800</property>
<property id="purePower_prop" type="boolean">false</property>
<property id="altFont_prop" type="boolean">false</property>
</properties>

<strings>
Expand All @@ -17,28 +18,32 @@
<string id="purePower_title">Show Pure Power</string>
<string id="homeElevation_title">Home altitude</string>
<string id="myZones_title">My Zones, comma separated thresholds</string>
<string id="altFont_title">Use alternative font over power chart</string>
</strings>

<settings>
<setting propertyKey="@Properties.duration" title="duration_title">
<setting propertyKey="@Properties.duration" title="@Strings.duration_title">
<settingConfig type="numeric" min="1" max="1800"/>
</setting>
<setting propertyKey="@Properties.myZones_prop" title="myZones_title">
<setting propertyKey="@Properties.myZones_prop" title="@Strings.myZones_title">
<settingConfig type="alphaNumeric" />
</setting>
<setting propertyKey="@Properties.altPower_prop" title="altPower_title">
<setting propertyKey="@Properties.altPower_prop" title="@Strings.altPower_title">
<settingConfig type="boolean" />
</setting>
<setting propertyKey="@Properties.homeElevation_prop" title="homeElevation_title">
<setting propertyKey="@Properties.homeElevation_prop" title="@Strings.homeElevation_title">
<settingConfig type="numeric" min="0" max="9000" />
</setting>
<setting propertyKey="@Properties.multiplier" title="multiplier_title">
<setting propertyKey="@Properties.multiplier" title="@Strings.multiplier_title">
<settingConfig type="numeric" />
</setting>
<setting propertyKey="@Properties.slope" title="slope_title">
<setting propertyKey="@Properties.slope" title="@Strings.slope_title">
<settingConfig type="alphaNumeric" />
</setting>
<setting propertyKey="@Properties.purePower_prop" title="purePower_title">
<setting propertyKey="@Properties.purePower_prop" title="@Strings.purePower_title">
<settingConfig type="boolean" />
</setting>
<setting propertyKey="@Properties.altFont_prop" title="@Strings.altFont_title">
<settingConfig type="boolean" />
</setting>
</settings>
Expand Down
62 changes: 46 additions & 16 deletions resources/resources.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,48 @@
<resources>
<bitmaps>
<bitmap id="id_pc" filename="images/pc.png" />
</bitmaps>
<font id="outline_fnt" filename="fonts/font.fnt"/>
<font id="outline2_fnt" filename="fonts/font_2.fnt"/>
<layout id="PowerFieldLayout">
<label id="label" x="left" y="bottom"
font="Graphics.FONT_SYSTEM_XTINY"
justification="Graphics.TEXT_JUSTIFY_LEFT"/>
<label id="value" x="center" y="center"
font="Graphics.FONT_SYSTEM_NUMBER_THAI_HOT"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
<label id="mark" x="center" y="top"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

font="Graphics.FONT_SYSTEM_XTINY"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
</layout>
<bitmaps>
<bitmap id="id_pc" filename="images/pc.png" />
</bitmaps>
<font id="outline_fnt" filename="fonts/font.fnt"/>
<font id="outline2_fnt" filename="fonts/font_2.fnt"/>
<layout id="PowerFieldEdgeLayout">
<label id="label" x="center" y="top"
font="Graphics.FONT_SMALL"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
<label id="value" x="center" y="bottom"
font="Graphics.FONT_SYSTEM_NUMBER_MEDIUM"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
</layout>
<layout id="PowerFieldEdgeChartLayout">
<label id="label" x="center" y="top"
font="Graphics.FONT_SMALL"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
<label id="value" x="center" y="center"
font="Graphics.FONT_SYSTEM_NUMBER_THAI_HOT"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
<label id="chart" x="0" y="bottom"
font="Graphics.FONT_NUMBER_MEDIUM"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
</layout>
<layout id="PowerFieldWatchLayout">
<label id="label" x="center" y="top"
font="Graphics.FONT_TINY"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
<label id="value" x="center" y="center"
font="Graphics.FONT_NUMBER_MEDIUM"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
</layout>
<layout id="PowerFieldWideWatchLayout">
<label id="label" x="center" y="top"
font="Graphics.FONT_TINY"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
<label id="value" x="230" y="top"
font="Graphics.FONT_NUMBER_MEDIUM"
justification="Graphics.TEXT_JUSTIFY_RIGHT"/>
<label id="cadence" x="10" y="top"
font="Graphics.FONT_NUMBER_MEDIUM"
justification="Graphics.TEXT_JUSTIFY_LEFT"/>
<label id="chart" x="0" y="bottom"
font="Graphics.FONT_NUMBER_MEDIUM"
justification="Graphics.TEXT_JUSTIFY_CENTER"/>
</layout>
</resources>
Loading