Programming and Scripting :: murgaLua FLTK Menu System Problems
I added a few simple changes, started it at 800x600 and made it resizable, added support for command line arguments, which allows drag-n-drop. Going to add it to DSL as our simple notepad.
Wow ! Tank You!
How do you make the windows resizable in murgaLua ? I have read documentation but didn't get how to to it.
Cheers, Mauro
Mauro, Thank you for your efforts and sharing.
Like I said it is very impressive.
These are the simple changes I added.
11 -- Main window
12 w = fltk:Fl_Double_Window(ww,wh,title)
13 w:resizable(w)
------------------
324 -- MAIN PROGRAM
325 if #arg == 1 then
326 filename = arg[1]
327 tb:loadfile(filename)
328 w:label(title .. filename)
329 saved=false
330 end
331 w:show()
332 Fl:run()
original here.