News for hackers. Stuff that matters.
Re:IUP Portable User Interface: Multi-Platform Toolkit for B... by netghost on Sunday August 14, 2016 @11:23PM (#12288435)
> It offers a simple API in three basic languages: C, Lua and LED

I haven't been able to find any reference to LED as a language, anyone have a link? Just curious.

Re:IUP Portable User Interface: Multi-Platform Toolkit for B... by hatfieej on Monday August 15, 2016 @12:15AM (#12288595)
I think it was a language they developed to be used with IUP. Original research paper: http://webserver2.tecgraf.puc-rio.br/iup/download/spe95.pdf Under "Resources->LED" on the site there is some more information: http://webserver2.tecgraf.puc-rio.br/iup/en/led.html
Re:IUP Portable User Interface: Multi-Platform Toolkit for B... by eggy on Monday August 15, 2016 @07:59AM (#12289845)
Check the site. There's a nice example there. It is basically a script-like way of building interfaces. The cool thing is that it is loaded as a resource, so you can edit the LED script after compiling, and as long as you haven't changed any of the identifier names, you can modify the GUI.

I am going to try that this week. Sounds like a nice compromise between the newer 'Immediate-Mode GUIs' and the standard event-based one. I can see it as a way to let the user skin your app within your control of how much they can modify.

Re:IUP Portable User Interface: Multi-Platform Toolkit for B... by wrp on Monday August 15, 2016 @02:05PM (#12292210)
IUP is great, but there is very little tutorial information. You have to learn from the reference and source examples. For LED, just look at the listings alongside the C and Lua. It's a simple language to figure out.

Although LED allows GUI modification without recompilation, it seems hardly anyone uses it. IUP is so well designed that GUIs in Lua or C are quite simple to hand code. A C version will be more verbose than Lua, but if I'm writing a logic in C, I find it more convenient to stick with C for the GUI.