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.


Post Reply  Post Thread 
Fluid to lua converter
Author Message
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #1
RE: Fluid to lua converter

Hi,

I was playing with the fluid_parser and I was wondering how easy it would be to change it so that it is able to cope with menu entries, as murgaLua 0.6 can now has all the same functionality as FLTK.

The same is true for images, which fluid embeds by default, and can now be mime encoded and then decoded for use in FL_Image creation.

Also, why does fluidtolua define so many variables at the start ?

Anyway, what would be REALLY cool would be to be able to integrate this into murgaLua in a way that you could do something like :

Code:
-- Loads .fl file, converts to lua and runs it (without the show/run)
  murgaLua.loadFluidGUI("test.fl")
  -- Assign callbacks to be used
  myFirstButton:callback(something) -- myFirstButton is name from .fl file.
  window:show()
  Fl:run()


Then, when developing an app you could just change the layout of your window without having to change your code ... Separating presentation from application logic :-)

What do you think ?

Cheers
JohnM

02-06-2008 08:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Fluid to lua converter - Tobi - 12-19-2007, 07:55 AM
RE: Fluid to lua converter - iGame3D - 12-19-2007, 12:33 PM
RE: Fluid to lua converter - Tobi - 12-20-2007, 01:38 AM
RE: Fluid to lua converter - xleitex - 12-24-2007, 07:06 AM
RE: Fluid to lua converter - iGame3D - 12-26-2007, 11:16 AM
RE: Fluid to lua converter - Tobi - 12-27-2007, 09:52 PM
RE: Fluid to lua converter - Tobi - 01-29-2008, 08:14 AM
Fluid to lua converter update - iGame3D - 02-06-2008, 09:33 AM
RE: Fluid to lua converter - JohnMurga - 02-06-2008 08:15 PM
RE: Fluid to lua converter - Tobi - 02-08-2008, 01:50 AM
RE: Fluid to lua converter - Juergen - 02-08-2008, 03:40 AM
RE: Fluid to lua converter - mikshaw - 02-08-2008, 07:23 AM
RE: Fluid to lua converter - Juergen - 02-08-2008, 09:15 AM
RE: Fluid to lua converter - mikshaw - 02-08-2008, 10:55 AM
RE: Fluid to lua converter - iGame3D - 02-15-2008, 02:30 PM
RE: Fluid to lua converter - Tobi - 04-23-2008, 04:35 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: