[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Seeking larger mouse pointer? (DECwindows)

» close window

The Question is:

 
I have an internal customer that is having difficulties with the mouse
pointer on his OpenVMS machine.  We have tried changing the color of the
pointer, but the simple problem is that the pointer simply isn't large
enough.  I have searched for utilities a
nd the like to modify the pointers included with OpenVMS but to no avail.
How can I enlarge the existing mouse pointers or add addtional pointers to
the library of pointers (hopefully some larger ones!)?  Thanks in advance.
 
 


The Answer is :

 
  The pointer bitmap can be created with the provided bitmap tool, with
  a paint program, or with various other tools.  Look in DECW$UTILS: as
  a starting point.
 
  After creating the pointer, you may need to tweak the location of the
  hotspot manually by resetting the hotspot as listed below -- this is
  the point that the pointer responds at -- manually in the bitmap.  In
  the attached example, this is 2,2.
 
  The Wizard has tested bitmaps as large as 64x64, and these worked
  correctly, providing a larger than normal pointer.  You will want to
  create (or locate) your own bitmaps -- the bitmap used in the example
  below is extremely ill-suited for use as a mouse pointer.
 
$ xsetroot :== $decw$utils:xsetroot
$ xsetroot -cursor sys$input: sys$input:
$ deck
#define HATCH_1_width 32
#define HATCH_1_height 32
#define HATCH_1_x_hot 2
#define HATCH_1_y_hot 2
static char HATCH_1_bits[] = {
   0x00, 0x00, 0x00, 0x7f, 0xcc, 0x0f, 0xcc, 0x03, 0xf0, 0x03, 0xf0, 0x00,
   0xfc, 0x00, 0xfc, 0x01, 0x9e, 0x01, 0x1e, 0x02, 0x06, 0x04, 0x06, 0x00,
   0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x7f, 0xcc, 0x0f, 0xcc, 0x03, 0xf0, 0x03, 0xf0, 0x00,
   0xfc, 0x00, 0xfc, 0x01, 0x9e, 0x01, 0x1e, 0x02, 0x06, 0x04, 0x06, 0x00,
   0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x7f, 0xcc, 0x0f, 0xcc, 0x03, 0xf0, 0x03, 0xf0, 0x00,
   0xfc, 0x00, 0xfc, 0x01, 0x9e, 0x01, 0x1e, 0x02, 0x06, 0x04, 0x06, 0x00,
   0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x7f, 0xcc, 0x0f, 0xcc, 0x03, 0xf0, 0x03, 0xf0, 0x00,
   0xfc, 0x00, 0xfc, 0x01, 0x9e, 0x01, 0x1e, 0x02, 0x06, 0x04, 0x06, 0x00,
   0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00
};
$ eod
$ deck
#define HATCH_0_width 32
#define HATCH_0_height 32
#define HATCH_0_x_hot 2
#define HATCH_0_y_hot 2
static char HATCH_0_bits[] = {
   0x00, 0x7f, 0xcc, 0xff, 0xfe, 0x7f, 0xfe, 0x0f, 0xfc, 0x07, 0xfc, 0x03,
   0xfe, 0x01, 0xfe, 0x03, 0xff, 0x03, 0xbf, 0x07, 0x1f, 0x0e, 0x0f, 0x0c,
   0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x02, 0x00,
   0x00, 0x7f, 0xcc, 0xff, 0xfe, 0x7f, 0xfe, 0x0f, 0xfc, 0x07, 0xfc, 0x03,
   0xfe, 0x01, 0xfe, 0x03, 0xff, 0x03, 0xbf, 0x07, 0x1f, 0x0e, 0x0f, 0x0c,
   0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x02, 0x00,
   0x00, 0x7f, 0xcc, 0xff, 0xfe, 0x7f, 0xfe, 0x0f, 0xfc, 0x07, 0xfc, 0x03,
   0xfe, 0x01, 0xfe, 0x03, 0xff, 0x03, 0xbf, 0x07, 0x1f, 0x0e, 0x0f, 0x0c,
   0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x02, 0x00,
   0x00, 0x7f, 0xcc, 0xff, 0xfe, 0x7f, 0xfe, 0x0f, 0xfc, 0x07, 0xfc, 0x03,
   0xfe, 0x01, 0xfe, 0x03, 0xff, 0x03, 0xbf, 0x07, 0x1f, 0x0e, 0x0f, 0x0c,
   0x07, 0x00, 0x07, 0x00, 0x07, 0x00, 0x02, 0x00
};
$ eod

answer written or last revised on ( 12-NOV-1998 )

» close window