nanogui: GrmoveCursor()!


Previous by date: 9 Jul 2002 05:10:45 -0000 Re: Problem with Nano-X, Greg Haerr
Next by date: 9 Jul 2002 05:10:45 -0000 about chinese fonts, xgzhang
Previous in thread:
Next in thread: 9 Jul 2002 05:10:45 -0000 Re: GrmoveCursor()!, Alex Holden

Subject: GrmoveCursor()!
From: "wangzhenyuan" ####@####.####
Date: 9 Jul 2002 05:10:45 -0000
Message-Id:

Hello,erveryone:
   I'm reading the code of srvmain.c,in the 
fuction Gsinitialize() there are (0.89pre8):

    GrMoveCursor(psd->xvirtres / 2, psd->yvirtres / 2);
	cid = GrNewCursor(16, 16, 0, 0, WHITE, BLACK, cursorbits, cursormask);
	GrSetWindowCursor(GR_ROOT_WINDOW_ID, cid);
	stdcursor = GsFindCursor(cid);
 
  After GdShowCursor(psd) to position a curcor 
on the screen ,I don't understand the next
step it does ,psd->xvirtres and psd->yvirtres 
stand what? 
  And I find two version of GrnewCursor() and
Grsetwindowcursor() ,in srvfunc.c and client.c,
which one can I read here?
  Do anyone can give a explanation on uper code?

  Thanks in advance!
        wangzhenyuan
####@####.####
          2002-07-09




Previous by date: 9 Jul 2002 05:10:45 -0000 Re: Problem with Nano-X, Greg Haerr
Next by date: 9 Jul 2002 05:10:45 -0000 about chinese fonts, xgzhang
Previous in thread:
Next in thread: 9 Jul 2002 05:10:45 -0000 Re: GrmoveCursor()!, Alex Holden


Powered by ezmlm-browse 0.20.