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: (3) </ 1 2 [3] >/

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

reply to topic new topic new poll
Topic: murgaLua FLTK Menu System Problems, Problems with murga Lua fltk menu system< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 23 2007,05:33 QUOTE

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.
Back to top
Profile PM WEB 
mav_it Offline





Group: Members
Posts: 7
Joined: Mar. 2007
Posted: Nov. 24 2007,14:20 QUOTE

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
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 24 2007,14:30 QUOTE

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()


Edited by roberts on Nov. 24 2007,14:31
Back to top
Profile PM WEB 
12 replies since Oct. 29 2007,17:38 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: murgaLua FLTK Menu System Problems

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