Commit graph

19 commits

Author SHA1 Message Date
bunnie
19f3221417 final changes to make ux-api platform-independent 2025-02-21 17:44:54 +08:00
bunnie
30c5876ad4 add missing apis/derives to minigfx to make it precursor-compatible 2025-02-21 17:43:50 +08:00
bunnie
07563c44db add precursor as a platform to ux-api 2025-02-21 17:43:23 +08:00
bunnie
5e258916da migrate graphics library API to a platform-neutral service crate
this kicks off an enormous set of refactoring changes...
2025-02-21 17:42:39 +08:00
bunnie
2235f7a3f1 clean up ux-api to be no-std clean
ux-api can't do rkyv derives and rely on std items in a
no-std environment. This is necessary because some of the
base layer APIs (frame buffers, points, etc.) are relied
upon in a no-std loader environment to render diagnostics
to the screen. Thus ux-api needs to have a baseline of
primitives available without a std flag.
2025-02-20 13:32:52 +08:00
bunnie
4872bbcee1 remove useless name argument in this version of the api 2025-02-18 23:20:48 +08:00
bunnie
73114f8d8d clean up ux-api integration with blitstr2
a bunch of imports were in here that should be in blitstr2
let's test this out and see how well these abstractions hold up
as we configure the rest of the OS around it.
2025-02-17 18:27:55 +08:00
bunnie
e1bc6eac56 remove copy of blitstr2 from ux-api; move blitstr2 to lib location 2025-02-13 17:41:07 +08:00
bunnie
ae856ecc82 start to add in skeletons of trait implementations for ux elements 2025-02-13 17:28:56 +08:00
bunnie
0bfb864873 add boasec to font feature selection; prepare for moving blitstr crate 2025-02-13 17:26:54 +08:00
bunnie
c2c1c8bc91 update top level libs and cargo for all the ported-in files 2025-02-11 16:24:51 +08:00
bunnie
f7193ae29c port in more helper routines 2025-02-11 16:24:30 +08:00
bunnie
3890008af1 make platform directory for graphics
trying to keep it as platform neutral as possible but it seems
we need to be able to know the size of the framebuffer at least
2025-02-11 16:23:45 +08:00
bunnie
5ed3f41bea add blitstr to the minigfx lib 2025-02-11 16:23:26 +08:00
bunnie
2a4d91d9be expand primitives in minigfx library 2025-02-11 16:23:06 +08:00
bunnie
79fae48bd8 add widget scaffolds 2025-02-11 16:22:50 +08:00
buncram
9cdb967741 add widgets to ux-api 2025-02-11 08:33:42 +08:00
buncram
69baf0f6e8 some initial notions of what widgets might look like 2025-02-11 08:33:09 +08:00
bunnie
19de313067 add ux-api
ux-api is meant to be a platform-independent set of APIs for
elements involving UX interchange in xous. In particular, it
sets up the path for portability of the gfx/minigfx crates and modals.
2025-02-02 07:00:24 +08:00