Changeset 14ad75c in mainline


Ignore:
Timestamp:
2018-10-18T22:33:54Z (6 years ago)
Author:
Maurizio Lombardi <mlombard@…>
Parents:
d723a80
Message:

gui: use the over composer in the button repaint function

When repainting a button, the foreground and background colors
should be properly mixed by using the over composer.
The default src composer is not good enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/button.c

    rd723a80 r14ad75c  
    6161        drawctx_init(&drawctx, surface);
    6262
     63        drawctx_set_compose(&drawctx, compose_over);
    6364        drawctx_set_source(&drawctx, &btn->background);
    6465        drawctx_transfer(&drawctx, widget->hpos, widget->vpos,
Note: See TracChangeset for help on using the changeset viewer.