Open leomike opened 8 years ago
Thanks for the fixes! There is one issue which needs to be addressed. I was testing your changes, and I found that on Aplite, the center control (play/pause) no longer displays as greyscale. It is solid black now. This will need to be addressed before I merge.
When I compile the current version from your repo it also displays as black. I don't have an Aplite device so I can't test it with a real device but I'm thinking this might be an issue with the emulator in the latest firmware. I've been seeing strange behavior with Aplite on other projects (e.g.: bitmaps randomly disappearing).
Hmm... Interesting! In that case, I will take a look at it and see if there is something I need to update for the latest SDK. Perhaps something changed which affects only Aplite. If you happen to find out, let me know as well.
Looks to me like graphics_context_set_compositing_mode with GCompOpOr is broken.
It seems like using a color of GColorLightGray works to display the lighter gray, but I can't seem to get the darker gray used during the breaks.
Sorry, meant to push this fix to a separate branch. It partially fixes the issue by displaying as light gray in all cases (although the if statement could be removed). I can re-commit to a separate branch and request a new pull to have a clean commit history.
Edit: Confirmed that both Light and Dark gray map to 50/50: Pebble Blog
I've been playing with it for a little while, and I have come to about the same point as you. I am not sure if there is any way to easily generate a darker grayscale without being able to set the compositing mode.
However, I actually don't think it is too bad to have the button stay as a light grey and the background turn to dark. It is not optimal, but I don't dislike it... I will have to play with it and see how I feel about it. Unless I figure out a better way, this may be the way I publish it.
Chalk only:
Aplite only:
appinfo.json was automatically reformatted by CloudPebble