|
From: | Adam Fedor |
Subject: | Re: JXTA for ObjC (was: Re: a simple program) |
Date: | Fri, 17 Aug 2001 03:15:04 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.2) Gecko/20010630 |
Aurelien wrote:
I'm not sure I understand this very well. The front-end thus calls the back-end's drawing routine and the back-end makes callbacks on the front-end's event handling routines ? So the back-end is just an abstract layer to the native OS ? I mean, do you have routines like drawRect (), fillOval, and the like in the back-end, which in turn call native routines to do it ?
That's essentailly correct. To be clear: Any GUI toolkit implements 'widgets', which have three basic layers: the high-level interface, the look and feel (drawing/event response), and the low-level implementation.
In GNUstep the first two are in the front-end, the third is in the backend. Toolkits like GTK (and I assume QT), have similar layouts (perhaps it's all done in one library). In any case it's very difficult to separate the layers and use some from one toolkit and some from another.
[Prev in Thread] | Current Thread | [Next in Thread] |