New GUI for newLisp

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

New GUI for newLisp

Post by pjot »

Hi everybody,

For some other purposes I have been looking into the old XForms library for Linux/Unix, and I realized that it can easily be used by newLisp. :-)

No external software is needed, you can use XForms directly, out-of-the-box, straight from the library, including a fully functional callback mechanism.

Below the XForms context, a demoprogram and screenshot.


Context: http://www.turtle.dds.nl/newlisp/xf.lsp
Program: http://www.turtle.dds.nl/newlisp/clock.lsp

Image


Cheers
Peter

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

Post by newdep »

Another great GUI from the garage from Pjot ;-)

Thanks !
-- (define? (Cornflakes))

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

Actually, we have quite some GUI toolkits available for newLisp now:

- TK (Linux/Win32)
- GTK (Linux/Win32)
- MUI (Linux/Win32)
- XForms (Linux)

:-)

Peter

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

Another one:

- Neobook (Win32)

;-)
Hans-Peter

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

Post by newdep »

Hi HPW,

Im very currious about the NeoBook applications you have actualy ;-) But i dont have NeoBook, Do you have some screenshots around perhaps??

Greetings, Norman.
-- (define? (Cornflakes))

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

There are some screenshots from the 2005 contest app:

http://hpwsoft.de/anmeldung/html1/newLI ... ontest.php

And of cource you can download the 30 day Trial-package:

http://www.neosoftware.com/

(For me and newLISP fellow 'Sam' it is the real powerfull combination, easy but powerfull GUI powered by the wonderfull newLISP)
(Not free but worth every $/€)

Just my 2 cents (€)
Hans-Peter

m i c h a e l
Posts: 394
Joined: Wed Apr 26, 2006 3:37 am
Location: Oregon, USA
Contact:

newTk

Post by m i c h a e l »

- TK (Linux/Win32)
- GTK (Linux/Win32)
- MUI (Linux/Win32)
- XForms (Linux)
- Neobook (Win32)
I notice a distinct absence of a certain OS of the fruit family :-)

I've imagined a few times what a newTk for newLISP could be about. Something in the same spirit as newLISP (simple, small, agile, cooperative, and adapting). Based on OpenGL, perhaps? (Have you seen Blender's interface? It convinced me powerful GUIs can be implemented in OpenGL.) And the best part is, we could get the Tk people mad at us, too! Just like the oldLISPers ;-)

m i c h a e l

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

I notice a distinct absence of a certain OS of the fruit family :-)
GTK works on MacOSX, and I would not be surprised if XForms runs on MacOSX as well, as it is compatible with BSD.

Peter

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

Another proof that newLisp actually is running in 64-bit on Tru64Unix. The Xforms library runs well with newLisp. Screenshot:

http://www.turtle.dds.nl/newlisp/forum/demo.jpg

Only one change was needed to get it running. Since we are using 64bit now, the (address) also should be pointed to in 64bit format.

Change

Code: Select all

(main 1 (pack "ld" (address "demo.lsp") ))
to

Code: Select all

(main 1 (pack "Ld" (address "demo.lsp") ))
...and there is full GUI functionality for newLisp, also in Tru64Unix.

Peter

Locked