nanogui: learning microwindows


Previous by date: 31 Aug 2004 15:03:38 +0100 Re: Touchscreen response in 0.90 seems slower than 0.89pre11, Rizzo Davide
Next by date: 31 Aug 2004 15:03:38 +0100 About Touch on Innovator 1510, Jeffery Huang
Previous in thread: 31 Aug 2004 15:03:38 +0100 learning microwindows, tian tao
Next in thread: 31 Aug 2004 15:03:38 +0100 Re: learning microwindows, Greg Haerr

Subject: Re: [nanogui] learning microwindows
From: Hinko Kocevar ####@####.####
Date: 31 Aug 2004 15:03:38 +0100
Message-Id: <41348536.3070303@iskramedical.si>

tian tao wrote:
> Hi all,
>  I am new to microwindows. I hope to learn how the nano-x client/server 
> model works. Is there any detailed resource about it?

Just read the source is the most comprehensive resource currently available.

>  A general process of the c/s model of microwindows in my understanding 
> is that: the server running nano-x server, handle the request of client 
> and use the graphics core to process it and use the drivers to show it 
> out on the server. the application runs on client, the client produce 
> the require structure of the function of application, and send the 
> requires to the server.
>  Can anyone tell me my understanding is wrong or right, thank you! and 
> then i hope to deep into the working of microwindows c/s model.

Basicly thats that. Nano-X sets up underlying hardware, like mouse,
keyboard,
display, etc. and creates socket for client apps to connect to. After
that it just spins
forever waiting (in GsSelect()) for somekind of event to happen (eg. mouse
movement, mouse click, keyboard read, client request via socket, etc.).
See nanox/srvmain.c main().

After event occurs it dispatches it to appropriate handler - driver, or
window if event
is for client app.

This is rough rundown, to get better insight I suggest you hook up
debugger and
step through the code (server and/or client).

regards,
h

-- 
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

	"Aì rén"	|	[Analects XII:22]

Previous by date: 31 Aug 2004 15:03:38 +0100 Re: Touchscreen response in 0.90 seems slower than 0.89pre11, Rizzo Davide
Next by date: 31 Aug 2004 15:03:38 +0100 About Touch on Innovator 1510, Jeffery Huang
Previous in thread: 31 Aug 2004 15:03:38 +0100 learning microwindows, tian tao
Next in thread: 31 Aug 2004 15:03:38 +0100 Re: learning microwindows, Greg Haerr


Powered by ezmlm-browse 0.20.