[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3225.0. "Unusual Pointer Shape" by GLASS::VORCE (Ca n'empeche pas d'exister) Fri Aug 17 1990 18:14

    
A recent article in DEC Professional  (August 1990), mentioned something 
neat for windows (page 118).  It says to modify the file DECW$SM_GENERAL.DAT 
to change the value of ms.pointer_shape to -142.  Supposedly doing this changes 
one of the pointers to the Starship Enterprise.  Its the digit-shaped pointer, 
whichever that one is.
	Well, I modified the file, and rebooted, but alas - no starship.
  Is there anything else I need to do (like compile something) to make this 
take effect?

Regards,
Tim Vorce
    
T.RTitleUserPersonal
Name
DateLines
3225.1wrong resource nameDECWIN::BROUILLETTEFri Aug 17 1990 21:433
    
    try sm.pointer_shape
    
3225.2DEMON3::CLEVELANDNotes - fun or satanic cult?Mon Aug 20 1990 13:176
    See note 3180.
    
    Also, you don't need to reboot, just change the file and select "use
    last saved settings" from the Session Manager Customize menu.
    
    Tim
3225.3nothing really magical here...GSRC::WESTSCARY : A programmer with a screwdriver.Wed Aug 22 1990 19:3029

  To be a bit more specific about the pointer shapes...there are 76 predefined
pointer shapes or X Font Cursors as some call them.  These are defined by
MIT (and company).

  I'm not sure that I've ever seen them in any of the Digital documentation
but you have a copy of 'the red book' then they are show in appendix B.


  Some of the more interesting shapes are:

	XC_coffee_mug	28
	XC_gobbler	54
	XC_gumby	56 (Which doesn't work anymore...hmmm)
	XC_pirate	88
	XC_spraycan	124
	XC_umbrella	146


  When you use these you do need to put the minus sign in front of the
number for the session manager to know about which shape your looking
for.

  Try some...and have fun.  ;^)


					-=> Jim <=-

3225.4Pointer_Shapes? nyah nyah... hmmm... cute... HOO78C::APPELSCaroline on 558kHzFri Aug 24 1990 13:0038
	Okay, Here are some more pointer_shapes

	finger_up	 	2
	waiting_watch		4  	
	no_entry_sign		6
	open_square   		8
	boat		   	-8		(Yes, - or + differs)
	star			+20	
	square_labyrinth	-20
	white_donut		-24
	junction		-34
	circle_white		-38
	arrow_up_down		-42
	hand_back_north		+42
	hand_back_north_east	+44
	finger_pointing_west	+45
	circle_arrows		-50
	a_bird			-54
	hand_pointing_left_1	-55
	hand_pointing_left_2	-60		(Similar as -55)
	little_man		-80
	skull_&_crossbones	-88
	rectangle_mouse		-100
	yet_another_square	-102
	little_ship		-104
	various_arrows		-105 up to -110
	starship_enterprise_top	-142
	umbrella_4_white_backgr	-146
	chimney_4_black_backgr	-147	
	wrist_watch		-150	

	Okay, I'll quit. Who's next.

	Regards,

	Eddy & Floris :-D

3225.5some invalid numbers maybe ??GSRC::WESTSCARY : A programmer with a screwdriver.Fri Aug 24 1990 20:3213
RE: .-1

  I noticed that you posted some cursor ID's as odd (147).  I can't
recall offhand where I read it (maybe Ollie's book) but if you use
these numbers you need to use the even number.

  Cursors are built with two pixmaps, a source and a mask.  So all you need
to give is the even number associated with the cursor so X knows which source
and which mask pixmap to get to set the cursor.

						-=> Jim <=-