Closed lc-soft closed 4 years ago
@lc-soft has funded $5.00 to this issue.
hi, @lc-soft can you describe further what you mean by "improve" the highlighting, can you show some examples?
@lc-soft has funded $5.00 to this issue.
@lc-soft do you have any design/style in mind?
@anshulxyz This is a low priority task and I will update the description as soon as possible.
Alright :pray:
@anshulxyz The issue description has been updated. Maybe the implementation of this feature is a bit complicated.
@lc-soft has rewarded $8.00 to @vbalyasnyy. See it on IssueHunt
Is your feature request related to a problem? Please describe. https://github.com/lc-soft/LCUI/blob/4a9516e8eb3bc23b681575653ac31468093d8a2c/src/display.c#L173-L184
Describe the solution you'd like
Remove DrawBorder() function and use
FlashPaintArea()
instead, this function should do the following:Fill the repainted area with the corresponding transparency color based on the current time:
mask
:Graph_Init(&mask); mask.color_type = LCUI_COLOR_TYPE_ARGB; Graph_Create(&mask, record.rect.width, record.rect.height);
mask
. Refer the DrawBorder() functionmask
opacity:mask
into the canvas:The final effect should be the same as the paint flashing of Google Chrome:
Describe alternatives you've considered None.
Additional context None.
IssueHunt Summary
#### [ vbalyasnyy](https://issuehunt.io/u/vbalyasnyy) has been rewarded. ### Backers (Total: $10.00) - [ lc-soft](https://issuehunt.io/u/lc-soft) ($10.00) ### Submitted pull Requests - [#190 feat(gui): flashing rendered rects (#180)](https://issuehunt.io/r/lc-soft/LCUI/pull/190) --- ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/lc-soft/LCUI/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds. --- IssueHunt has been backed by the following sponsors. [Become a sponsor](https://issuehunt.io/membership/members)