[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
How the server start to draw a window?
From: wangxq ####@####.#### Date: 14 Feb 2003 21:01:52 -0000 Message-Id: <001001c1b537$9e33fb00$d41ea8c0@ronnie> hi I insert a printf sentence into the GrNewWindow in the srvfunc.c and the client.c,after make I run the demo2 and the sentence in the function GrNewWindow of the srvfunc.c print before.But I cann't find the code about starting draw a window of the server. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] How the server start to draw a window?
From: "Greg Haerr" ####@####.#### Date: 15 Feb 2003 21:34:31 -0000 Message-Id: <0eff01c2d538$f497d030$6401a8c0@gregnewport> > I insert a printf sentence into the GrNewWindow in the srvfunc.c and the client.c,after make I run the demo2 and the sentence in the function GrNewWindow of the srvfunc.c print before.But I cann't find the code about starting draw a window of the server. > The GrNewWindow function only creates a window structure in the server. When GrMapWindow is called, the server calculates the exposed areas by using the position of the window z-order in the window list, and then generally clears the background area and generates an expose event. The expose event, when processed by the client, results in any additional draw code for that window. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |