Add icon positions for 144x168 watches

This commit is contained in:
2026-07-19 15:41:21 -04:00
parent fa00f92884
commit e9a0c43190
2 changed files with 9 additions and 5 deletions
+5 -1
View File
@@ -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
+4 -4
View File
@@ -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);