Hello,

I am learning FLTK, and I'm trying to create a GUI.
I manage to insert a picture on my interface, but I'm not able to resize the 
picture (JPEG picture) in my window.
Here is the code I developped :
*-----------------------------------------------------------
  fl_register_images();
  Fl_JPEG_Image *Tool_FSW = new 
Fl_JPEG_Image("/disk3/home/lefebvre/MorfeoGUI/Tool.jpeg");
  Fl_Box *Tool_FSW_Box = new Fl_Box(2 * WB, voffset + 3*WB, 27 * WB, 20 * WB);
  Tool_FSW_Box->box(FL_UP_BOX);
  Tool_FSW_Box->image(Tool_FSW);
*-----------------------------------------------------------

Do you have some idea about how resizing a picture ?

Thanks a lot in advance for your help,

JP.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to