amiga.org
     
iconAll times are GMT -6. The time now is 09:18 PM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Operating System Specific Discussions » Amiga OS » Amiga OS -- Development » os frendly cursor hiding

Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS.

Reply
 
Thread Tools Display Modes
Old 02-03-2005, 04:38 PM   #1
kas1e
Technoid
Points: 9,145, Level: 64 Points: 9,145, Level: 64 Points: 9,145, Level: 64
Activity: 27% Activity: 27% Activity: 27%
 
Join Date: Feb 2003
Posts: 414
Default os frendly cursor hiding

hi all. how i can hide/show mouse pointer by aos3.x functions (what fucntion exactly need it) ? and how i can setup from my C code new mouse pointer ? (it must be system frendly way).



kas1e is offline   Reply With Quote
Old 02-03-2005, 04:46 PM   #2
Daedalus
Cult Member
Points: 9,252, Level: 64 Points: 9,252, Level: 64 Points: 9,252, Level: 64
Activity: 22% Activity: 22% Activity: 22%
 
Daedalus's Avatar
 
Join Date: Feb 2002
Location: Dublin, Ireland
Posts: 880
Send a message via ICQ to Daedalus Send a message via MSN to Daedalus
Default Re: os frendly cursor hiding

Hmmm... Would it not be an easier approach to attach your own mage to the mouse pointer and then control it with the OS functions for setting the mouse position? It's a while since I've done it, but there are functions for setting the pointer position. Failing that, attach a 1x1 bitmap in colour 0 to the pointer, and it will effectively be hidden for your application. No idea about writing your own code though, would involve using blitting functions and a buffer to replace the parts of the screen you draw on with your custom pointer...
Daedalus is offline   Reply With Quote
Old 02-03-2005, 06:45 PM   #3
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: os frendly cursor hiding

Lookup the documentation for intuition.library/ClearPointer() and intuition.library/SetPointer(). These functions allow you to change the pointer definition (and install your own) for a given Window.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Reply

Bookmarks

Tags
cursor , frendly , hiding

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse cursor colors under Voodoo3/CGX d0pefish Amiga Hardware Issues and discussion 1 02-02-2007 01:50 PM
The first dual cursor mouse blobrana CH / General 2 03-08-2006 11:25 AM
Hiding behind the seti blobrana CH / Science and Technology 15 12-05-2005 03:02 AM
dopus 4.x cursor mooving from keyboard kas1e Amiga Software Issues and Discussion 0 10-01-2005 04:33 AM
trailing cursor in WinUAE 8.22R1 Glaucus Amiga Emulation 3 10-27-2002 10:58 AM