|
Register or have you forgotten your password?
|
|
|
| Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Technoid
![]()
Join Date: Feb 2003
Posts: 414
|
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).
|
||||||||
|
|
|
|
|
#2 | ||||||||
|
Cult Member
![]()
|
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...
|
||||||||
|
|
|
|
|
#3 | ||||||||
|
Sockologist
![]()
|
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 |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| cursor , frendly , hiding |
| Thread Tools | |
| Display Modes | |
|
|
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 |