[squeak-dev] Re: Fullscreen UI

Udo Schneider Udo.Schneider at homeaddress.de
Fri Aug 22 21:09:32 UTC 2008


Yoshiki Ohshima wrote:
>   Yes, it does.  You certainly don' thave to try to hook your UI up
> with the Projects and Processes, etc. at first.  Just define a method
> at your new class that would look like:
> 
> doCycles
> 
>    [true] whileTrue: [
> 	   self processEvents.  "handle user events and route them to widgets."
> 	   self updateDisplay.  "write stuff to Display, with a proper 
> 	                         fiddling of #deferUpdates:."
>    ]
> 
> and from a Morphic workspace, execute:
> 
> m := MyUI new.
> m doCycles.
> 
> Especially because it will be in full-screen, it just looks like a
> native-fullscreen UI.
Thanks for those pointers. I think I can see at least some light now.

Thanks,

Udo




More information about the Squeak-dev mailing list