Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: LuaFLTK Tutorial< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: July 20 2006,23:54 QUOTE

Now posted in the documentation section:

luaFLTK_reference.uci  

Created by our very own, mikshaw.
   A very cool Lua 4.0 / FLTK live demo, reference, template like system to help fill the need for the "missing Lua/FLTK manual"
Use the standard method, mydsl-load. Enjoy. Thanks, mikshaw.
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 21 2006,02:10 QUOTE

:D

I'm still eternally tweaking it, of course.
Some things I'm presently attempting to deal with....

1) The display window is a multiline input so that it can be edited, but input apparently does not allow you to jump automatically back to the first line, so it initially displays the bottom portion of the script. Input also does not allow keyboard use of buttons (input always retains focus for some reason), so there is currently little keyboard support. I'm working to fix both of these issues by using a Hold_Browser instead of Multiline_Input. This will just make saving an edited file a little more complicated (for me, not you), and editing itself will be done in a separate field, which may seem unnatural for some people.

2) Currently overwrites any existing file without confirmation during a save, and doesn't let you know when the target file is not writeable...these will be fixed eventually.

3) I don't like the idea of using a wrapper of one language to manage a script of another language...hope to get that sorted out soon so i can reduce and simplify.

4) I have a need to make applications as keyboard-friendly as possible.  Lua-FLTK is not the keyboardiest thing available, but it's not too shabby.  I still have a lot of work to do here.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
MaxiJavi Offline





Group: Members
Posts: 2
Joined: Aug. 2006
Posted: Aug. 17 2006,10:01 QUOTE

Have you guys seen murgaLua ?

http://www.murga.org/devPages/murgaLua/index.html

It is based on recent versions of Lua and Fltk and seems to be a little nicer than luaFltk.

The downside is that it comes bundled with an old (?) version of SqLite.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 17 2006,12:59 QUOTE

I had never heard of it.  Thanks. I'm definitely going to check it out.  I've been hoping that lua-fltk would be in continuing development (using newer fltk, implementing more widgets and completing some of the unfinished ones), but so far no changes since the first release in 2001.
The inclusion of sqlite is something i could do without, but 500k isn't bad at all.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 18 2006,13:10 QUOTE

My initial impressions....

It needs a little work, but overall is much more flexible than lua-fltk while being only slightly larger.
It should be rebuilt for DSL, to work with the older xft and png libraries, and maybe to use the existing sqlite.

It also has what appears to be a bug, which should have been obvious to the developer.  In both DSL and Suse (haven't tested in Slackware yet) the examples which include "murgaLua.*" fail with a message attempt to index global 'murgaLua' (a nil value).  Maybe there's something else that needs to be done, but I haven't seen any mention of it.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
8 replies since July 20 2006,23:54 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: LuaFLTK Tutorial

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code