News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Pages (27): « First [1] 2 3 4 5 Next > Last »
Search Results
Post Author [] Forum Replies Views Posted
  Thread: New murgaLua 0.5.5 release !!
Post: RE: New murgaLua 0.5.5 release !!

On Slackware Linux i see what faughanvale sees. 0.5 sleeps milliseconds 0.5.5 sleeps seconds I might also mention that they are both apparently written with milliseconds in mind, as I get this er...
mikshaw MurgaLua - General 14 22,842 08-01-2007, 12:22 AM
  Thread: Lua editor
Post: RE: Lua editor

I've been hacking at Vim's Lua syntax file over the last few months, adding FLTK and murgaLua obejcts to it in pieces (and now lua filesystem is needed). Vim provides more editing power than I'll eve...
mikshaw MurgaLua - General 19 38,254 08-01-2007, 12:05 AM
Question Thread: possible to use io.popen?
Post: possible to use io.popen?

Lua has this handy alternative to os.execute which grabs the output of a shell command: mycmd = io.popen("some_command") myoutput = mycmd:read("*a") mycmd:close() Is this possible with MurgaLu...
mikshaw MurgaLua - General 2 22,555 04-26-2007, 03:41 PM
  Thread: possible to use io.popen?
Post: RE: possible to use io.popen?

Thank you! I know there will be other people pleased with this feature as well.
mikshaw MurgaLua - General 2 22,555 04-27-2007, 02:48 AM
  Thread: Fl_File_Chooser callback
Post: RE: Fl_File_Chooser callback

I've found that fl_file_chooser is easier to work with than Fl_File_Chooser [code]choose=fltk.fl_file_chooser("a title","*.{jpg,png}","/usr/share",0); if choose then print(choose) end[/code] I ca...
mikshaw MurgaLua - General 4 11,701 05-14-2007, 01:07 AM
  Thread: possible callback inconsistency?
Post: possible callback inconsistency?

I'm not sure if I'm just misunderstanding the logic in using callbacks, if there's something I'm overlooking, or if there is an inconsistency. Let's assume you have the following pseudo function: ...
mikshaw MurgaLua - General 1 18,280 05-17-2007, 09:13 AM
  Thread: Fl_File_Chooser callback
Post: RE: Fl_File_Chooser callback

The zero (last parameter) specifies whether the filename returned is relative or absolute. A non-zero number would return a relative filename
mikshaw MurgaLua - General 4 11,701 05-20-2007, 08:06 AM
  Thread: io.popen not supported?
Post: RE: io.popen not supported?

popen support was added in version 0.4.1 That was one of the things I had been looking forward to myself.
mikshaw MurgaLua - General 6 13,364 05-27-2007, 03:03 PM
  Thread: io.popen not supported?
Post: RE: io.popen not supported?

It apparently does have something to do with how it's built, although I can only point you to another thread and hope you understand it, because I didn't =o) http://www.murga-projects.com/forum/showt...
mikshaw MurgaLua - General 6 13,364 05-27-2007, 09:49 PM
  Thread: Windows position
Post: RE: Windows position

Depending on what you want to do, the documentation you need might be Lua, FLTK, or other (the official docs from the individual applications combined to build murgaLua). In this case, since you want ...
mikshaw MurgaLua - General 17 27,976 05-30-2007, 07:09 AM
  Thread: Windows position
Post: RE: Windows position

second_window=fltk:Fl_Window(width,height,label) second_window:position(x_position,y_position) first_window:hide() second_window:show()
mikshaw MurgaLua - General 17 27,976 05-29-2007, 01:57 PM
  Thread: animations in murgalua
Post: RE: animations in murgalua

This is a groovy test. I'm wondering if I'm seeing it the way it's supposed to be, though. Rather than gradually moving across the window as I expected, the car appears to leap very quickly between a...
mikshaw MurgaLua - General 10 25,549 05-29-2007, 09:52 PM
  Thread: Windows position
Post: RE: Windows position

It took me a long time to really begin to understand how the FLTK documentation is organized. I started using it with Lua-FLTK a couple of years ago, and I still have trouble understanding parts of it...
mikshaw MurgaLua - General 17 27,976 05-30-2007, 09:23 AM
  Thread: Different redraw behaviors with different box types
Post: RE: Different redraw behaviors with different box ...

Interesting. It looks like it might be an FLTK bug, but I don't know enough about it to say more than that guess. You could emulate no box by using FL_FLAT_BOX and set its color according to what ...
mikshaw MurgaLua - General 6 11,684 06-03-2007, 01:52 PM
  Thread: Rotate Fl_Box
Post: RE: Rotate Fl_Box

Unfortunately that set of documents is for the 2.0 version of FLTK, which is currently under development separately from 1.1.x. MurgaLua uses FLTK 1.1.7, which is the latest stable release.
mikshaw MurgaLua - General 2 5,256 06-06-2007, 01:50 AM
  Thread: drawing graphics in murgaLua
Post: RE: drawing graphics in murgaLua

I tried the same thing several months ago, and it didn't do anything =o) You're probably right about it not being implemented. There is a list in the murgaLua distribution archive, doc/other fl_d...
mikshaw MurgaLua - General 16 29,853 06-06-2007, 02:00 AM
  Thread: group demo
Post: RE: group demo

Please note that my scripts are part of the learning process for myself as well. Anything I put in a script, whether or not it has been released as "official learning material", should be assumed to b...
mikshaw MurgaLua - General 3 6,299 06-06-2007, 02:25 AM
  Thread: Different redraw behaviors with different box types
Post: RE: Different redraw behaviors with different box ...

wow! Skinning murgaLua apps is something that had never occured to me. I assume the clock is a unique situation, and you wouldn't need to force redraw on most interactive widgets? Nice work, doc!
mikshaw MurgaLua - General 6 11,684 06-06-2007, 02:34 AM
  Thread: CGI work in progress
Post: CGI work in progress

It was really cold and yucky yesterday, so I stayed in and messed around with some mrgaLua CGI. This script uses a specific file structure to generate pages containing a jpeg image followed by one or ...
mikshaw MurgaLua - General 1 5,875 06-06-2007, 02:54 AM
  Thread: Subwindows
Post: RE: Subwindows

I haven't done anything with embedded windows, but this seems to work: [code] ww=300; wh=180 w = fltk:Fl_Window(ww,wh,"Hello") w2 = fltk:Fl_Window(ww/2,wh/2,"Hello x2"); w2:box(fltk.FL_UP_BOX) w:...
mikshaw MurgaLua - General 3 6,728 06-07-2007, 02:45 AM
Pages (27): « First [1] 2 3 4 5 Next > Last »