nanogui: Mouse pointer does not change in FLTK + nxlib + nano-X


Previous by date: 24 Feb 2006 19:10:10 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas
Next by date: 24 Feb 2006 19:10:10 +0000 Need Help, Rajan Singh
Previous in thread: 24 Feb 2006 19:10:10 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas
Next in thread:

Subject: RE: [nanogui] Mouse pointer does not change in FLTK + nxlib + nano-X
From: "Martin Kajdas" ####@####.####
Date: 24 Feb 2006 19:10:10 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914E0@mkmail.MKPROD.COM>

I agree that a new API call (GrRecolorCursor?) would be a best solution and then the XRecolorCursor (nxlib) would be a one line fix.
This should be an easy addition for someone familiar with microwindows API development.
Let's add this to ToDo list.
Martin


-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Friday, February 24, 2006 9:54 AM
To: Martin Kajdas; ####@####.####
Subject: Re: [nanogui] Mouse pointer does not change in FLTK + nxlib + nano-X


> What would be the easiest way to change foreground/background color of a
cursor in microwindows?

The cursor color is specified with GrNewCursor,
and stored in the cursor.fgcolor/bgcolor member.

To just change cursor colors, you will need a new
API call to change just the above members, unless
you want to just call GrNewCursor again with the
original cursor bitmap and new colors.  However,
this could possibly have a negative effect for
windows that are using the older cursor id.

Regards,

Greg


Previous by date: 24 Feb 2006 19:10:10 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas
Next by date: 24 Feb 2006 19:10:10 +0000 Need Help, Rajan Singh
Previous in thread: 24 Feb 2006 19:10:10 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas
Next in thread:


Powered by ezmlm-browse 0.20.