From e9a0c43190e67b6d9675e752709a6912bd5b4e02 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 19 Jul 2026 15:41:21 -0400 Subject: [PATCH] Add icon positions for 144x168 watches --- README.md | 6 +++++- src/c/neat_bar.c | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e6e1494..4797788 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,12 @@ A customizable replacement for the built-in Pebble action bar. - Custom animations - Use built-in presets - Move up/down/left/right (same as stock) +- Round style + - Using a rectangular bar on a round watch saves space and IMO looks way better ### Pending Features +- Custom icon x offset +- Match move animation distance to stock per-platform +- Match move animation duration to stock - Built-in haptics -- Round-style (currently only rectangular, even on round watches) - Legacy (background invert) animations support - Teardown/destroy/deinit helper diff --git a/src/c/neat_bar.c b/src/c/neat_bar.c index cd594f0..9c1225c 100644 --- a/src/c/neat_bar.c +++ b/src/c/neat_bar.c @@ -19,11 +19,11 @@ const int8_t ICON_X_OFFSET = -1; const uint16_t UP_Y = 53; const uint16_t SELECT_Y = 81; const uint16_t DOWN_Y = 109; -#else +#else // all 144x168 watches const int8_t ICON_X_OFFSET = 0; -const uint16_t UP_Y = 50; -const uint16_t SELECT_Y = 90; -const uint16_t DOWN_Y = 120; +const uint16_t UP_Y = 24; +const uint16_t SELECT_Y = 75; +const uint16_t DOWN_Y = 126; #endif static const GRect s_base_grect_rect = GRect(PBL_DISPLAY_WIDTH - ACTION_BAR_WIDTH, 0, ACTION_BAR_WIDTH, PBL_DISPLAY_HEIGHT);