[UI] We haven't discussed Host windows yet

Gary Chambers gazzaguru2 at btinternet.com
Thu Sep 6 17:32:22 UTC 2007


Indeed.
A framework that would allow you choose to interact using host or Squeak
windows without much effort was what I was getting at. Call it in-platform
support maybe. Do your domain model, then the UI then choose how to present
at the host/squeak level (with a simple switch).

-----Original Message-----
From: ui-bounces at lists.squeakfoundation.org
[mailto:ui-bounces at lists.squeakfoundation.org] On Behalf Of tim Rowledge
Sent: 06 September 2007 6:20 pm
To: Squeak's User Interface
Subject: Re: [UI] We haven't discussed Host windows yet



On 6-Sep-07, at 9:34 AM, Gary Chambers wrote:

> Welsh, of course, for "Platform Windows"...

Ho-ho.

No, the bit I'd like restated more clearly is what
>> but found it tricky to
>> choose how to
>> present (in-squeak or hosted).
means.
I'm not sure what you mean about 'choosing how to present', for  
example. Nor can I understand why it may be tricky until I have some  
idea what choice you refer to and what it affects.

Ffenestri simply provides the lowest level of support in the image  
and VM to allow creation and manipulation of host windows. We left it  
as open ended as possible so that later users could choose what use  
to make of them. For example, using an undecorated window might be a  
good way to allow proper popup menus even in OS/UIs where they  
haven't advanced to that capability yet. To make meaningful use of  
Ffenestri someone will need to do quite a bit of work in the image in  
order to avoid the current assumptions about there being a single  
global object called Display that is a bitmap. Tweak has some of that  
already worked out; perhaps it can be used as an exemplar for that  
change. Another good possibility in my opinion would be to leverage  
the work the Sophie project has done to use Cairo as a reasonably  
portable backend for rendering the graphics.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim Klingon Code
Warrior:- 7) "You question the worthiness of my Code?! I  
should kill you where you stand!"


_______________________________________________
UI mailing list
UI at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/ui



More information about the UI mailing list