[squeak-dev] Re: Fullscreen UI
Yoshiki Ohshima
yoshiki at vpri.org
Fri Aug 22 16:38:04 UTC 2008
At Fri, 22 Aug 2008 14:49:01 +0200,
Udo Schneider wrote:
>
> Edgar J. De Cleene wrote:
> > Look at Form , Display, Sensor.
> > But you don't have a way to avoid MVC, Morphic, Tweak, GTK or some other
> > implemented or in development GUI.
> > At less you plan is made your own.
> Thanks for the pointers. Is it possible to create Projects with a
> non-MVC/Morphic UI.
>
> I'm just thinking of using the regular Morphic based tools to develop
> something and then switch into a "MyUI" Project testing things out. Does
> this make sense?
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.
-- Yoshiki
More information about the Squeak-dev
mailing list
|