fix font alpha channel

This commit is contained in:
Alessandro Mauri 2024-12-16 13:54:53 +01:00
parent bca29c537c
commit 2e60e4c5b8
3 changed files with 38 additions and 8 deletions

16
TODO
View file

@ -1,32 +1,38 @@
# TODOs, semi-random sorting
[x] Implement glyph draw command
[x] Implement div.view and scrollbars
[ ] Port font system from C to C3 (rewrite1)
[x] Port font system from C to C3 (rewrite1)
[ ] Update ARCHITECTURE.md
[ ] Write a README.md
[ ] Use an arena allocator for cache
[ ] Do not redraw if there was no update (no layout and no draw)
[ ] Better handling of the active and focused widgets, try
to maintain focus until mouse release (fix scroll bars)
to maintain focus until mouse release (fix scroll bars)
## Commands
[x] rect commads should have:
* border width
* border radius
_ border width
_ border radius
[x] add a command to update an atlas
## Atlases
[ ] Add an interface to create, destroy, update and get atlases based on their ids
[ ] Implement multiple font atlases
## Fonts
[ ] Fix the missing alpha channel
[x] Fix the missing alpha channel
[x] Fix the alignment
## Raylib
[ ] Implement type (Rect, Color, Point) conversion functions between rl:: and ugui::
[x] Implement pixel radius rounding for border radius
## Widgets
[ ] Dynamic text box to implement an fps counter
[ ] Button with label