Mouse drawing directly to fb0
Zinful
zinfulpersonal at gmail.com
Mon Feb 17 21:07:56 UTC 2025
It's not that I don't like it, but the mouse issue has been a thing for a
few weeks and Im pretty over the mouse lol. The rest of the project so far
is honestly going smoothly. Executing programs, resource management,
displaying text/erasing it properly and y'know whatever else is pretty
relaxed.
Debugging those is also streamlined since the code is pretty organized. But
this mouse has been an absolute nightmare lmao especially in comparison to
the rest. But thank you for your response! I'm going to look into your
suggestion and chances are pretty high I'm just gonna commit to it. Have a
good rest of your week!
On Mon, Feb 17, 2025, 4:49 AM Carsten Haitzler <raster at rasterman.com> wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20250217/aeb53347/attachment.htm>
More information about the xorg
mailing list