Skip to content

BlitBuffer: add partial support for paintRoundedRect using RGB colours#2047

Merged
Frenzie merged 3 commits into
koreader:masterfrom
ReneeIbeji:SupportColorRoundedRect
Apr 13, 2025
Merged

BlitBuffer: add partial support for paintRoundedRect using RGB colours#2047
Frenzie merged 3 commits into
koreader:masterfrom
ReneeIbeji:SupportColorRoundedRect

Conversation

@ReneeIbeji

@ReneeIbeji ReneeIbeji commented Mar 29, 2025

Copy link
Copy Markdown
Contributor

Add RGB32 variants for paintBorder and paintRoundedRect functions, currently the paintborder variant doesn't have support to rounded corners.

Allows for framecontainers with coloured backgrounds to be used io statistics plugin calendar view.
See: koreader/koreader#13453 (comment)


This change is Reviewable

Comment thread ffi/blitbuffer.lua Outdated
Comment thread ffi/blitbuffer.lua Outdated
Comment thread ffi/blitbuffer.lua
Make it clear that `paintRoundedRectRGB32` is here because we need it to be, but that it in no way, shape, or form, does it actually do what it says on the tin ;p.

@NiLuJe NiLuJe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, thanks!

@Frenzie Frenzie merged commit 6e02e33 into koreader:master Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants