Blitz (64/81)

From:David McMinn
Date:16 Mar 2001 at 11:31:36
Subject:Re: Hires wpointer?

Hi Torgeir

> I want to use an own pointer-shape for my screen/window, but it seems that i am
> only able to do a low res shape for the pointer. Surely it must be possible to
> display the pointer shape in normal hires resolution? Can someone help me?

You need to open your screen with some tags, so use ScreenTags if you are not
using the NewCommandSet.

The tag you need to add is a pointer to another taglist for use by
graphics.library/VideoControl(). You will need OS3+ and amigalibs.res for this
to work. The code might look something like this:

Dim screentags.TagItem(10)
Dim vctags.TagItem(2)

vctags(0)\ti_Tag = #VTAG_SPRITERESN_SET,#SPRITERESN_70NS
; In case the #SPRITERESN_70NS constant doesn't work, it's
; value is 2. For other tags, see the OS includes graphics/view.h
vctags(1)\ti_Tag = #TAG_DONE

screentags(0)\ti_Tag = #SA_VideoControl,&vctags(0)
... ; Rest of tags for opening screen here
ScreenTags 0,"Screen title",&screentags(0)



|) /\ \/ ][ |) |\/| c |\/| ][ |\| |\| | dave@blitz-2000.co.uk
http://members.nbci.com/david_mcminn | ICQ=16827694
Beauty is in the eye of the beer holder.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie