08-07-2023, 05:44 PM
(08-07-2023, 03:34 PM)TerryRitchie Wrote:(08-07-2023, 02:36 PM)bplus Wrote: Yeah this is essential functionality, it is core of my GUI stuff and just about any game I've done.Thanks for pointing that out. I'm going to investigate SdlBasic's commands related to this and see if I can replicate a library. There have been a few times I've coded something similar to the example I posted for projects over the years. It would be nice to have a library to call upon instead.
SdlBasic called these MouseZones and had a function for IDing which you were in.
Update:
Ah, ok, I see, it's a function that returns the status of the mouse pointer in a defined area.
https://www.sdlbasic.altervista.org/main...one().html
Functionality I've created thousands of times over the years. A command like this added to QB64 would be very helpful hint...hint...
+1 Definitely wouldn't be bloat
b = b + ...