[Applet] 3WClock

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

[Applet] 3WClock

Post by newdep »

Another new clocking device..

(load "http://www.nodep.nl/downloads/newlisp/3wclock.lsp")

Norman.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

You don't need 3 processes for this. You can have all three windows opened in one program, much faster and less resources. Here is a much simpler modified version:

to run: (load "http://newlisp.org/code/clock.lsp")

source: http://newlisp.org/syntax.cgi?code/clock.lsp.txt

Lutz

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

yes lutz your right, but you just got there befor me ;-)
The example would have been extended with interconnection options ;-)

ill post the final deal on this later on..
-- (define? (Cornflakes))

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Hi Lutz,

There where 2 reasons why i used PROCESS for different windows

1 was because i wanted IO communication between the three..

but the most important was that I was unable to intercept individual
window closing from the main-program using your example i.e...


When i close 1 windows out of X started from the Main gs:init
they all close..instead of only 1..

How to work around this?


PS: I think you will be getting bussy, but i sure do hope its still fun ;-)


Norman.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

just posted the a response to the gs:listen stuff in the other thread.

About the windows closing stuff later.

Lutz

Locked