Murga-Projects Forums

Full Version: Gui Settings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to pass the Fluid gui settings on to the murgaLua script?

iGame3D Wrote:
How to pass the Fluid gui settings on to the murgaLua script?


What do you mean ? If you want to know how to get the GUI into the script, you save your layout in fluid, and generate the .cxx file. Once you have done that you run converted :

Code:
bin/murgaLua tools/convertFluidToMurgaLua.lua test.cxx > test.lua


However, there are some things, like menu layouts, embedded images and others that aren't converted yet (and will just get stripped out), if you look at the examples directory you'll see how to get those back in (which in most cases is pretty easy).

Let me know if this is not what you mean.

Cheers
JohnM

The GUI style that runs in MurgaLua doesn't match the one in Fluid.
Note how Fluid looks almost Mac-like, and the MurgaLua one
looks more like windows 95.

Is there any way to have MurgaLua use the other GUI styles?

iGame3D Wrote:
s there any way to have MurgaLua use the other GUI styles?


Yup ...

Just add

Code:
Fl:scheme("plastic")


Before the

Code:
window:show()


Cheers
JohnM

Sweet thanks!
Reference URL's