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 
[WIP] MurgaLua Reference Tool
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: [WIP] MurgaLua Reference Tool - a little help?

I got another segfault today, and decided it would be best if I stuck with only one menu for now. So I deleted the dropdown menu from the align sample and just left it with the numeric slider (the constants are now listed in the notes file for that sample).

Still adding more stuff. I got into reading about system fonts and decided to get something about that included. Finally figured out how to get a reliable font string for truetype fonts, so that was cool.

Your fix for the demo_appdir variable is what I originally had done. I changed it because I wanted to be able to run it from any directory, regardless of where the program is located. Your fix requires that you cd to the application directory before running it.
I thought OSX was based on BSD, which would mean that it has the same directory separator as Linux. What do you get when you print(arg[0]) or print(demo_appdir)? does it include a full path to the script?

This post was last modified: 08-19-2007 09:43 AM by mikshaw.

08-19-2007 09:38 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
[WIP] MurgaLua Reference Tool - mikshaw - 07-10-2007, 05:00 PM
RE: [WIP] MurgaLua Reference Tool - a little help? - mikshaw - 08-19-2007 09:38 AM

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

Forum Jump: