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
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #1
RE: More Windows problems

mikshaw Wrote:
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.

I found some of these, unfortunately it's an FLTK issue I can't really do much about :-(

mikshaw Wrote:
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.

Have you tried displaying the image data to another control before saving it ? This should really always work.

It was tested under Windows ... Let me try it.

mikshaw Wrote:
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.

I think it will, I had a similar problem a while ago.

Cheers
John de Murga

03-04-2008 05:00 AM
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
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: