FLTK logo

Re: [fltk.general] Re: FLUID: how can I have SVG icons embedded in the code?

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 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: FLUID: how can I have SVG icons embedded in the code? Gonzalo Garramulo 13:40 Apr 17  
 


El 17/4/24 a las 13:57, 'Matthias Melcher' via fltk.general escribió:

Tha Data Node type also improved quite a bit. You can choose if you want your data to be stored as text, binary, or zlib compressed. If you like, you can use Fl_PNG_Image("myImage", binaryData, binaryDataSze); to read an image that way instead of using the "Image" fields.

Yes.  I get the options and I added the image, but the output is an Fl_RGB_Image() not an Fl_SVG_Image() without having touched any of the options.  I am using a pretty recent branch on Linux:

265e5cd77b30581e7701927930d8fa887e0361df

As options, I get:

Scale     - Width/Height  set to 0,0
Storage   - compressed: ticked
          - bind to widget: off


No inactive image options.

BTW... have you thought of adding a version switch to fluid?  So it becomes easier to know if I am using the same version as yours?

-- 
Gonzalo Garramuño
ggarra13@gmail.com

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/7364fc13-8364-4340-8010-7bddae8451ae%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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'.