Hi all, first post, be gentle :) .
I've developed a watch face that looks like the old Amiga 500 clock app for Workbench 1.3. Yes, I'm getting old!
The watch face is dynamically generated by drawing 2 circles, then rotating and drawing 12 polygons for the hour marks, rotating and drawing 48 lines for the minute marks, and finally drawing the hands.
I've tried to reduce the amount of calc and drawing in OnUpdate, by simply clearing the centre of the watch face and drawing hands, meaning I don't redraw all the ornamentation. OnLayout still draws everything.
Problem: when I get a notification appearing (eg phone disconnected, meeting notification) then the watchface does not draw over the bits that need refreshing. When I switch to another screen and back, it works fine as onLayout gets called.
I had a brainflash to test a pixel colour at the top of the screen to see if it was not the colour I set it to, but there's no way of testing pixel colour...
Any recommendations here, as I don't really want to push drawing all the clockface back into OnUpdate()...