Changeset 2cea4c58 in mainline


Ignore:
Timestamp:
2018-10-19T07:51:49Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4db05ea
Parents:
4fff3c7
git-author:
Maurizio Lombardi <mlombard@…> (2018-10-18 22:33:54)
git-committer:
Jakub Jermar <jakub@…> (2018-10-19 07:51:49)
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

    r4fff3c7 r2cea4c58  
    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.