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 
Initial build of version 0.6.0
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: Initial build of version 0.6.0

I'm here =o)
Unfortunately, I have piles of snow to clear out today, so won't get a chance to look at it much until later. But I definitely wanted to see how the pixmap embedding works, and I gotta say THANK YOU very much for this!
It doesn't work exactly as I thought it would, but I figured it out after a few segfaults =o)
Important thing to note is that it doesn't accept the comments that you would typically see in an XPM file, including the initial /* XPM */
So the format is:

Code:
my_xpm={"width height number_of_colors characters_per_pixel",
"color 1 definition",
"color 2 definition",
...
"color n definition",
"first line of pixels",
"second line of pixels",
...
"last line of pixels"}

xpm_data=fltk:Fl_Pixmap(my_xpm)
my_widget:image(xpm_data)
--or: my_widget:image(fltk:Fl_Pixmap(my_xpm))


I'm really looking forward to seeing how user data works.

I also got the same error message on Linux (DSL 4) as xleitex did on XP when opening murgaLua with no argument.

This post was last modified: 01-20-2008 02:42 AM by mikshaw.

01-20-2008 02:37 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Initial build of version 0.6.0 - JohnMurga - 01-19-2008, 08:30 PM
RE: Initial build of version 0.6.0 - znarf - 01-20-2008, 12:07 AM
RE: Initial build of version 0.6.0 - mikshaw - 01-20-2008 02:37 AM

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

Forum Jump: