Mouse drawing directly to fb0
Carsten Haitzler
raster at rasterman.com
Mon Feb 17 09:49:07 UTC 2025
On Sat, 15 Feb 2025 21:41:37 -0500 Zinful <zinfulpersonal at gmail.com> said:
> I'm working on a project currently for college making a shitty GUI. I'm
> having trouble getting the proper color values for around the mouse so it
> overwrites drawn pixels on the screen with black. I was wondering if anyone
> could peek at my code and point to where I'm going wrong
You seem to not like the project. :)
I suggest you stop worrying about how to draw the mouse and instead work out
how to fill in the fb from a backing buffer where you composite an existing
set of content and a mouse sprite. I suggest you google on what sprites are and
how to draw your own in software on top of an existing array of pixels.
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - raster at rasterman.com
More information about the xorg
mailing list