git.cappig.dev / apheleiaOS.git master

f92a8ecde5999d480f5c18833f8251b103668458 master
cappig <[email protected]> ยท 4 months ago
Add clock app and expand draw primitives

* Add a new  user program with an analog face, second/minute/hour hands, resize-aware redraw, and clean event handling

* Expand  with reusable primitives (, , , ) and a shared color palette enum

* Wire PSF font loading into draw text rendering so simple UI apps can render labels without WM-private helpers

* Simplify user build FP flags by applying SSE/SSE2 userspace defaults through common user CFLAGS on x86_64

* Keep console header and draw API surface tidy while preserving framebuffer/stride-aware clipping behavior
5 files changed, 597 insertions, 9 deletions
kernel/sys/console.h +1 -0
libs/gui/draw.c +286 -0
libs/gui/draw.h +50 -0
user/build.mk +4 -9
user/clock/main.c created