From: "Gillepileptic" Newsgroups: comp.os.msdos.djgpp Subject: Hotspots and mouse. Date: Sat, 2 May 1998 23:05:47 +0100 Message-ID: <894150254.19440.0.nnrp-04.c1edaebc@news.demon.co.uk> NNTP-Posting-Host: not-very-clever.demon.co.uk Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I hope someone can help me with Allegro: I'm hoping to set up hotspots on a static screen (no animation at this stage) Pretty basic stuff, just point and click to call a function. I've already got the bitmap routines sorted, and I'll figure out the mouse stuff from the docs. I'd just like to know what's the most flexible and productive way of checking whether a mouse has clicked a 'hotspot'? My program probably only needs "...if(((x>100) && (x<120)) &&... " etc, but this seems pretty hackish. No offence to Shawn Hargreaves (top geezer by the way...Allegro is unbelievable. ), but I don't want to use his GUI functions...I was an Amiga man myself! -- Gillepileptic