STR #1350

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 #1350

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Summary:Fluid2 problem with image inlining
Created By:Reimar
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 Reimar
03:36 Jul 12, 2006
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 Reimar
03:36 Jul 12, 2006
I'm using fluid2 from FLTK 2.0.x Weekly Snapshot, r5253
under windoze.

Inlining images in Fluid2 seems to produce incorrect code.
The data-lines of the image is placed inside the *cpp-code,
but the image-variable is not further used for initialistion.

Example: Here's an extract from the *.cpp:

// generated by Fast Light User Interface Designer (fluid) version 2.1000

#include "Test.hpp"

#include <fltk/SharedImage.h>
static const unsigned char datas_TestImage[14454] = {
0,0 [...] 138,107,155,138,143,181,169,158,196,184,147,190,177,147,188,

fltk::Window* make_window() {
  fltk::Window* w;
   {fltk::Window* o = new fltk::Window(118, 84);
    w = o;
     {fltk::Group* o = new fltk::Group(3, 7, 96, 75);
  return  w;


So the defined Byte array 'datas_TestImage' is not further used
in the code. Am I wrong?


PS:  What sense has the menu-item: "Set images root directory" in
     fluid2? I can not figure out any effects.
PSS: Is it possible to define local paths (under windows)?
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 ''.