nanogui: about draw on GR_ROOT_WINDOW_ID


Previous by date: 11 Nov 2001 02:42:50 -0000 How To display a BMP file from a BMP file, tsialpha3i.voila.fr
Next by date: 11 Nov 2001 02:42:50 -0000 Questions from Newbie, Geiger Ho
Previous in thread:
Next in thread:

Subject: about draw on GR_ROOT_WINDOW_ID
From: ####@####.####
Date: 11 Nov 2001 02:42:50 -0000
Message-Id: <000a01c16a5b$53b12110$2b64a8c0@rdcenter.com>

Hi,I have modified the nanowm.c,when I execute some examples,it always reports
segment error,the error came from the functions of container_buttonup or container_mousemoved,the code as followd:
   GrSetGCMode(gc, GR_MODE_XOR|GR_MODE_EXCLUDECHILDREN);

   GrGetWindowInfo(window->wid, &info);

   GrRect(GR_ROOT_WINDOW_ID,gc,info.x, info.y, pos->width, pos->height);
when execute GrRect,the error occurs.
   Thanks a lot!

Previous by date: 11 Nov 2001 02:42:50 -0000 How To display a BMP file from a BMP file, tsialpha3i.voila.fr
Next by date: 11 Nov 2001 02:42:50 -0000 Questions from Newbie, Geiger Ho
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.