-
Notifications
You must be signed in to change notification settings - Fork 46
fw: black notification banner with inverted icon on black and white watches #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fba1108
to
0e48841
Compare
I saw your comment and put it on my list for Tuesday. |
We really need to make clang-format stop making so much noise. I like this, though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am skeptical about the (ab-)use of the context pointer to capture state – please see my inline comments for the reasoning and an alternative proposal.
Made a few other minor suggestions.
Would love to see tests for the inversion behavior!
src/fw/applib/ui/kino/kino_layer.c
Outdated
.command = prv_invert_pdc_colors, | ||
}; | ||
|
||
KinoReelProcessor invert_processor = {.draw_command_processor = &gdraw_inv_processor}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will similarly require values for bitmap_processor
. Of course, this could happen at a follow-up PR. My recommendation would be to not solve with via GBitmapProcessor.pre
or .post
but a new field composite_mode
for a lot of orthogonal power.
0e48841
to
c150bd4
Compare
did most of the things you pointed out @HBehrens, will look into tests and inversion logic for full color soon! |
Signed-off-by: Joshua Jun <[email protected]>
c150bd4
to
7632efc
Compare
rebased to remove all the clang-format changes and make more obvious what my changes are :) |
Signed-off-by: Joshua Jun <[email protected]>
small change to make notification banners on bw watches a bit nicer
(design wise signed off by @lavglaab )