summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-15 21:58:24 +0300
committerPaul Buetow <paul@buetow.org>2026-04-15 21:58:24 +0300
commitf1b99fb255cf006bacecfbb16a8143cf4ad463ea (patch)
tree95de3275995eddd77443d3181d949d71795f72d0 /Justfile
parent5b0654e957c28a72957c88921bb6a785b09b08e9 (diff)
feat: polish all screens for round display (gabbro/chalk)
Add a content_rect() helper that computes a safe inset origin and width for the current display shape: - Round platforms (chalk 180px, gabbro 260px): inset = display_width/6 (~30px on chalk, ~43px on gabbro) keeps all text within the circle. - Rectangular platforms: inset = 0, no change in behavior. Apply the inset to every window_load function: - SimpleMenuLayer/MenuLayer windows (menu, presets, history): use inset bounds so items are never clipped by the circular frame. - Menu windows use GColorWhite background on round so the area outside the inset menu rectangle blends seamlessly with the menu cells. - All text-layer windows (timer, goal, edit-running, history-edit, stats, settings, detail): offset all GRect positions by (ox, oy) and use content width cw instead of bounds.size.w. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Justfile')
0 files changed, 0 insertions, 0 deletions