newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: pjot on August 18, 2006, 03:19:36 PM

Title: New GUI for newLisp
Post by: pjot on August 18, 2006, 03:19:36 PM
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



(//%3C/s%3E%3CURL%20url=%22http://www.turtle.dds.nl/newlisp/clock.jpg%22%3Ehttp://www.turtle.dds.nl/newlisp/clock.jpg%3C/URL%3E%3Ce%3E)





Cheers

Peter
Title:
Post by: newdep on August 19, 2006, 12:25:26 AM
Another great GUI from the garage from Pjot ;-)  



Thanks !
Title:
Post by: pjot on August 19, 2006, 02:33:24 AM
Actually, we have quite some GUI toolkits available for newLisp now:



- TK (Linux/Win32)

- GTK (Linux/Win32)

- MUI (Linux/Win32)

- XForms (Linux)



:-)



Peter
Title:
Post by: HPW on August 19, 2006, 02:52:34 AM
Another one:



- Neobook (Win32) (//http)



;-)
Title:
Post by: newdep on August 19, 2006, 03:28:59 AM
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.
Title:
Post by: HPW on August 19, 2006, 04:35:10 AM
There are some screenshots from the 2005 contest app:



http://hpwsoft.de/anmeldung/html1/newLISP/newLISP_contest.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 (€)
Title: newTk
Post by: m i c h a e l on August 19, 2006, 09:31:21 AM
Quote- 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
Title:
Post by: pjot on August 19, 2006, 01:31:01 PM
Quote
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
Title:
Post by: pjot on January 17, 2007, 02:38:09 AM
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

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

to

(main 1 (pack "Ld" (address "demo.lsp") ))


...and there is full GUI functionality for newLisp, also in Tru64Unix.



Peter