szupie / gauge-geometry

An analog-digital Pebble watch face designed for legibility and simplicity
The Unlicense
5 stars 0 forks source link

Support Quick Views #5

Open lolrepeatlol opened 3 years ago

lolrepeatlol commented 3 years ago

Love the watchface, but unfortunately it still doesn't seem to support Quick Views, so whenever one shows up, it blocks the time.

szupie commented 3 years ago

Thanks for the notice! I’ll put this on my to-do list for a future release.

nytpu commented 3 years ago

I believe the only change you'd need to make would be to change calls to layer_get_bounds to layer_get_unobstructed_bounds, assuming all your positioning and sizing is using relative values. There's more details on working with the "unobstructed area" API for quick views here, in case this face uses custom rendering. I could attempt to make a PR if you'd like.

szupie commented 3 years ago

I think the biggest challenge to solve is in the design: this watch face is designed to use the full space available to make the digits as large and legible as possible, so there are no white space or decorative elements that can be cropped away without losing information (compare the example faces shown in the Unobstructed Area usage guide, which all trim away spacing while keeping digit sizes the same). I did a quick mock up of how it would look with smaller font sizes, and I’m not happy with the balance of the time, date, and watch hands without a lot more work fine-tuning their scales and positions. And the use of additional type sizes will increase resource usage, as font resources are tied to specific sizes. However, if anyone comes up with a good design I would love to see it and potentially implement it.

For now, I prefer having the quick view partially obscure the minute display. The hour is still fully visible, as are the watch hands, which provide a redundant display of the exact time. And in fact, the minute digits are still fairly distinguishable (besides 2 and 9, which could be confused for 3 and 8 respectively) since the obstruction does not completely reach the x-height.