Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Mouse Pointer Help Required Message-ID: <40895@sun.uucp> Date: 3 Feb 88 19:27:58 GMT References: <168@gould.doc.ic.ac.uk> <644@applix.UUCP> <645@applix.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 44 Keywords: Help,Mouse Pointer In article <645@applix.UUCP> scott@applix.UUCP (Scott Evernden) writes: >You dummy; he said he wasn't using Intuition, so this is pretty worthless >information. (Maybe I should actually READ the messages I reply to). >-scott (This is Scott correcting himself by the way.) I too said, "Oops, he said he is 'ignoring' Intuition." but then it became clear that it doesn't really matter in this case. Because 'ignoring Intuition' does not make it go away! If you can move the mouse around, then Intuition is being called by the input.device to move the mouse, if you can hit LeftAmiga-M and bring the workbench to the front then Intuition is there. And even if neither of these cases is true, Intuition is ALWAYS in the ROM patiently waiting for you. And if you call SetPointer() all it is *Really* doing is fixing up the sprite data! So think of the code like this : main() ... initializing some variables what have you. GoAwayPointer(); /* tell Intuition to make sprite 0 invisible */ ... Stomp(); /* do you're worst, the pointer will still be gone */ Stomp(); Hack(); Slash(); ... Patch(); Patch(); Restore(); UnStomp(); ClearPointer(); /* Poof! The mouse reappears */ exit(0); } The point is that you can use little pieces of Intuition with out buying into the whole window system. And it is really just some code that lies around dormant until someone talks to it, you can't really make it go away. If you are totally ignoring Intuition (you know makeing your own screens by stuffing values in to the copper list) then you just make the screen to be 'sprite less'. But that is not necessary. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.