metric => decimal rename

This commit is contained in:
Gyuri Horák 2025-11-03 19:33:56 +01:00
parent a54a66c419
commit 683569dca5
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 4993F07B3EAE8D38
7 changed files with 27 additions and 23 deletions

View File

@ -1,7 +1,9 @@
# Metric Day Watchface - Improvement Ideas # Decimal Day Watchface - Improvement Ideas
This document contains potential enhancements and features to improve the decimal day progress watchface. This document contains potential enhancements and features to improve the decimal day progress watchface.
**Note:** This watchface implements French Revolutionary/Decimal Time, not "metric time" which is a different concept.
## Visual Enhancements ## Visual Enhancements
### 1. Better Graphics & Styling ### 1. Better Graphics & Styling
@ -20,16 +22,16 @@ This document contains potential enhancements and features to improve the decima
### 2. Lean Into the Joke ### 2. Lean Into the Joke
Make it more obviously a "metric time" parody: Make it more obviously a "decimal time" novelty:
- **Metric branding** - Labels like "decidays" or "centidays" for units - **Decimal branding** - Labels like "decidays" or "centidays" for units
- **Display branding** - "METRIC TIME™" or "DECIMAL STANDARD TIME" - **Display branding** - "DECIMAL TIME™" or "REVOLUTIONARY TIME"
- **Conversion helper** - Small text showing "5.2 metric = 12:28 traditional" - **Conversion helper** - Small text showing "5.2 decimal = 12:28 traditional"
- **Easter eggs at specific times** - **Easter eggs at specific times**
- At exactly 5.0: "PEAK EFFICIENCY" or "HALFWAY THERE" - At exactly 5.0: "PEAK EFFICIENCY" or "HALFWAY THERE"
- At 0.0/10.0: "METRIC MIDNIGHT" - At 0.0/10.0: "DECIMAL MIDNIGHT"
- At 2.5: "METRIC BREAKFAST TIME" - At 2.5: "DECIMAL BREAKFAST TIME"
- At 7.5: "METRIC EVENING" - At 7.5: "DECIMAL EVENING"
- **Motivational messages** - "You're 73.4% through the day!" - **Motivational messages** - "You're 73.4% through the day!"
## Functional Improvements ## Functional Improvements
@ -139,7 +141,7 @@ Create alternative interpretations of the concept:
15. 📋 Easter eggs and branding 15. 📋 Easter eggs and branding
### Fun Additions ### Fun Additions
- Better "metric time" branding/labels - Better "decimal time" branding/labels
- Easter eggs at specific decimal times - Easter eggs at specific decimal times
- Conversion helper text - Conversion helper text
- Motivational messages - Motivational messages

View File

@ -1,5 +1,7 @@
# Decimal Day Progress Watchface - Implementation Plan # Decimal Day Progress Watchface - Implementation Plan
**Note:** This watchface implements French Revolutionary/Decimal Time, not "metric time" which is a different concept.
## Concept Overview ## Concept Overview
Create a joke/novelty Garmin watchface that displays time as a decimal day progress meter instead of traditional 12/24 hour format. Create a joke/novelty Garmin watchface that displays time as a decimal day progress meter instead of traditional 12/24 hour format.
@ -32,8 +34,8 @@ MetricWatchFace/
│ └── settings/ │ └── settings/
│ └── settings.xml # User settings (if needed) │ └── settings.xml # User settings (if needed)
└── source/ └── source/
├── MetricWatchFaceApp.mc # Application entry point ├── DecimalWatchFaceApp.mc # Application entry point
└── MetricWatchFaceView.mc # Main watchface view logic └── DecimalWatchFaceView.mc # Main watchface view logic
``` ```
### Core Calculation ### Core Calculation
@ -70,7 +72,7 @@ handAngle = (decimalTime / 10.0) * 360.0 - 90.0 // -90 to start at top (12 o'cl
### Key Methods ### Key Methods
**MetricWatchFaceView.mc:** **DecimalWatchFaceView.mc:**
- `initialize()` - Set up initial state - `initialize()` - Set up initial state
- `onUpdate(dc)` - Main rendering method (called periodically) - `onUpdate(dc)` - Main rendering method (called periodically)
- `computeDecimalTime()` - Calculate current decimal time - `computeDecimalTime()` - Calculate current decimal time

View File

@ -1,6 +1,6 @@
# Metric Day Progress Watchface # Decimal Day Progress Watchface
A novelty Garmin watchface that displays time as decimal day progress instead of traditional 12/24 hour format! A novelty Garmin watchface that displays time as decimal day progress (French Revolutionary Time style) instead of traditional 12/24 hour format!
## Concept ## Concept
@ -47,7 +47,7 @@ If you have the SDK installed and `$SDK_PATH` set:
```bash ```bash
# Build for simulator # Build for simulator
$SDK_PATH/bin/monkeyc \ $SDK_PATH/bin/monkeyc \
-o MetricWatchFace.prg \ -o DecimalWatchFace.prg \
-f monkey.jungle \ -f monkey.jungle \
-y $SDK_PATH/bin/developer_key -y $SDK_PATH/bin/developer_key
@ -77,8 +77,8 @@ MetricWatchFace/
├── manifest.xml # App configuration ├── manifest.xml # App configuration
├── monkey.jungle # Build configuration ├── monkey.jungle # Build configuration
├── source/ ├── source/
│ ├── MetricWatchFaceApp.mc # Application entry point │ ├── DecimalWatchFaceApp.mc # Application entry point
│ └── MetricWatchFaceView.mc # Main watchface logic │ └── DecimalWatchFaceView.mc # Main watchface logic
└── resources/ └── resources/
├── drawables/ ├── drawables/
│ ├── drawables.xml # Drawable resources │ ├── drawables.xml # Drawable resources

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- Metric Day Progress Watchface Manifest --> <!-- Decimal Day Progress Watchface Manifest -->
<iq:manifest xmlns:iq="http://www.garmin.com/xml/connectiq" version="3"> <iq:manifest xmlns:iq="http://www.garmin.com/xml/connectiq" version="3">
<iq:application entry="MetricWatchFaceApp" id="350d1be0-5312-40bf-bf4d-fffcbd227484" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.2.0" name="@Strings.AppName" type="watchface" version="1.0.0"> <iq:application entry="DecimalWatchFaceApp" id="350d1be0-5312-40bf-bf4d-fffcbd227484" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.2.0" name="@Strings.AppName" type="watchface" version="1.0.0">
<iq:products> <iq:products>
<!-- Fenix Series --> <!-- Fenix Series -->
<!-- Forerunner Series --> <!-- Forerunner Series -->

View File

@ -1,3 +1,3 @@
<strings> <strings>
<string id="AppName">Metric Day</string> <string id="AppName">Decimal Day</string>
</strings> </strings>

View File

@ -1,7 +1,7 @@
using Toybox.Application; using Toybox.Application;
using Toybox.WatchUi; using Toybox.WatchUi;
class MetricWatchFaceApp extends Application.AppBase { class DecimalWatchFaceApp extends Application.AppBase {
function initialize() { function initialize() {
AppBase.initialize(); AppBase.initialize();
@ -17,7 +17,7 @@ class MetricWatchFaceApp extends Application.AppBase {
// Return the initial view of your application here // Return the initial view of your application here
function getInitialView() { function getInitialView() {
return [ new MetricWatchFaceView() ]; return [ new DecimalWatchFaceView() ];
} }
} }

View File

@ -5,7 +5,7 @@ using Toybox.Lang;
using Toybox.Time; using Toybox.Time;
using Toybox.Time.Gregorian; using Toybox.Time.Gregorian;
class MetricWatchFaceView extends WatchUi.WatchFace { class DecimalWatchFaceView extends WatchUi.WatchFace {
function initialize() { function initialize() {
WatchFace.initialize(); WatchFace.initialize();