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 
More Windows problems
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
Rolleyes  More Windows problems

Testing the widgets demo some more in Windows, I found a few more things not working that had worked fine in Linux.

1) FL_PUSH and FL_RELEASE seem to be completely ignored.
Rather than using "if Fl:event() == fltk.FL_PUSH", what seems to work is "if Fl:event_buttons() > 0", and optionally "if Fl:buttons() > 0 and Fl:event_button() == 1" if you're testing specifically for a left click.

2) saveAsPng() seems to save a blank image, at least in the draw_freehand demo (using fl_line() to create the image data). I haven't tested it with other image data.

3) Certain XPM files do not properly display transparency, such as the one in image-xpm.lua (xpm_image.xpm). I'm thinking it may have to do with the characters used to represent colors, but that's just guessing. XPM files that were created or edited in mtpaint don't seem to have this trouble. Mtpaint uses alphanumeric characters only, and that's the only difference I can see. I'm going to edit xpm_image.xpm in mtpaint later to see if it fixes the problem.

03-04-2008 04:46 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
More Windows problems - mikshaw - 03-04-2008 04:46 AM
RE: More Windows problems - JohnMurga - 03-04-2008, 05:00 AM
RE: More Windows problems - mikshaw - 03-04-2008, 07:15 AM
RE: More Windows problems - mikshaw - 03-04-2008, 03:01 PM
RE: More Windows problems - mikshaw - 03-05-2008, 11:12 AM
RE: More Windows problems - JohnMurga - 03-05-2008, 11:19 AM
RE: More Windows problems - mikshaw - 03-05-2008, 11:26 AM

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

Forum Jump: