STR #2033

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]

STR #2033

Application:FLTK Library
Status:5 - New
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Summary:Troubles while loading png images with fluid2
Created By:diegodibert
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
#1 bgbnbigben
01:27 Jul 12, 2010
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 diegodibert
06:37 Sep 02, 2008
Using fluid2 under Windows 2000 Professional I'm not able to
assign an image to a widget (like Button or InvisibleBox).
Also the navigation dialog is not able to show the preview.
Debuggin fluid2 with Microsoft Visual Studio 2005 I found
out that the function

const char* SharedImage::get_filename(const char* name)

in file SharedImage.cxx returns a wron pathname. To be able
to use fluid2 I modified such function as follow:

const char* SharedImage::get_filename(const char* name)
#ifndef WIN32

        // original code here

        return name;

All works properly under Linux.

Best Regards.
#2 bgbnbigben
01:27 Jul 12, 2010
From what I could tell, just about all of the library worked fine. The only grievance that could still exist is the broken absolute path test. On a windows machine, / seems to be interpreted as a relative path instead of an absolute. Attached patch fixes this  
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2023 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.