| [ 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 |
Subsystem: | Unassigned |
Summary: | Troubles while loading png images with fluid2 |
Version: | 2.0-current |
Created By: | diegodibert |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#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
#else return name; #endif }
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 | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |