08-07-2023, 03:34 PM
(This post was last modified: 08-07-2023, 03:44 PM by TerryRitchie.)
(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...