FLTK logo

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 | SVN ⇄ GIT ]

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
 
#1 bgbnbigben
01:27 Jul 12, 2010
windowspatch.patch
1k
 
     

Trouble Report Comments:

Post Text ]
Name/Time/Date 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 ]

 
 

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