fltk/FL
Manolo Gouy 916b44e361 New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image.
Each image has now two sizes implemented as follows:
   - the pixel size is stored in private members pixel_w_ and pixel_h_
    with public accessors pixel_w() and pixel_h()
   - the FLTK size is stored in private members w_ and h_ and read by w() and h()
   - when the image is constructed, the two sizes have the same value
   - the protected w(int) and h(int) member functions set both FLTK and pixel sizes.
   - the public scale(int, int) member function is essentially nothing but
   set the FLTK size and don't change the pixel size.
   - when the image is drawn, its FLTK size determines how big it is drawn, its pixel
   size determines how much data are available to draw it.

FLTK 1.3.4 with FL_ABI_VERSION=10304 contained an equivalent member function
but only for the Fl_Shared_Image class.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-19 17:43:18 +00:00
..
android.H Android: added support for Fl::add_timeout() and friends. 2018-03-12 20:10:49 +00:00
Enumerations.H Android: move Android specific platform events to FL/android.H 2018-03-09 21:21:23 +00:00
filename.H Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Adjuster.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fl_ask.H Avoid the expression "foreign language" in comments. 2016-04-20 07:19:19 +00:00
Fl_Bitmap.H New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
Fl_BMP_Image.H STR #2873: new function Fl_Image::fail() that returns 0, ERR_NO_IMAGE, ERR_FORMAT, or ERR_FILE_ACCESS to make life easier when loading images. 2015-05-23 23:42:26 +00:00
Fl_Box.H Corrected typo in doc. 2012-08-17 09:18:06 +00:00
Fl_Browser_.H Reverting to previous; apparently this was a bug in doxygen 1.7.4's support of header markdown. 2017-09-14 00:50:36 +00:00
Fl_Browser.H Fix Fl_Browser::textsize(int) to adjust the scrollbars (STR #3057). 2016-03-29 11:54:44 +00:00
Fl_Button.H Update docs related to buttons and update Fl_Check_Button.png. 2014-10-19 20:17:17 +00:00
Fl_Cairo_Window.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Cairo.H [Cairo] Remove part of the dependency of FL/Fl.H on config.h. 2016-02-13 18:02:17 +00:00
Fl_Chart.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Check_Browser.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Check_Button.H Update docs related to buttons and update Fl_Check_Button.png. 2014-10-19 20:17:17 +00:00
Fl_Choice.H Documentation clarification for all menu oriented widgets 2015-01-10 22:05:15 +00:00
Fl_Clock.H Fix typo. 2017-05-15 15:35:30 +00:00
Fl_Color_Chooser.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Copy_Surface.H Documentation: make code examples use Fl_Surface_Device::push_current()/pop_current() 2018-02-25 06:53:34 +00:00
Fl_Counter.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Device.H Add an argument to the private, virtual member function void Fl_Surface_Device::end_current_(). 2017-04-25 12:42:22 +00:00
Fl_Dial.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Double_Window.H Fixed 'flush()' code for single, double, and overlay buffering 2016-03-13 22:16:37 +00:00
fl_draw.H Android: crude graphics clipping 2018-03-10 00:46:12 +00:00
Fl_Export.H Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_File_Browser.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_File_Chooser.H Update dependencies. 2016-09-20 13:35:44 +00:00
Fl_File_Icon.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_File_Input.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Fill_Dial.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Fill_Slider.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Float_Input.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_FormsBitmap.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_FormsPixmap.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Free.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_GIF_Image.H STR #2873: new function Fl_Image::fail() that returns 0, ERR_NO_IMAGE, ERR_FORMAT, or ERR_FILE_ACCESS to make life easier when loading images. 2015-05-23 23:42:26 +00:00
Fl_Gl_Window_Driver.H STR#3450: Draw text with OpenGL using textures on all platforms. 2018-02-07 15:34:44 +00:00
Fl_Gl_Window.H Android: crude graphics clipping 2018-03-10 00:46:12 +00:00
Fl_Graphics_Driver.H New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
Fl_Group.H Introduce Fl_Group::bounds(), deprecate Fl_Group::sizes(). 2017-07-07 19:16:40 +00:00
Fl_Help_Dialog.H Bump version numbers for next minor release: FLTK 1.4.0. 2016-01-30 00:56:42 +00:00
Fl_Help_View.H Remove unnecessary #include files from Fl_Help_View.H 2017-08-18 15:46:20 +00:00
Fl_Hold_Browser.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Hor_Fill_Slider.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Hor_Nice_Slider.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Hor_Slider.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Hor_Value_Slider.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Image_Surface.H Documentation: make code examples use Fl_Surface_Device::push_current()/pop_current() 2018-02-25 06:53:34 +00:00
Fl_Image.H New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
Fl_Input_.H Documentation updates (part of STR #2751). 2015-07-21 13:55:13 +00:00
Fl_Input_Choice.H Separated Fl_Input_Choice.H and Fl_Input_Choice.cxx (STR #2750). 2017-03-11 23:26:32 +00:00
Fl_Input.H Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Int_Input.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_JPEG_Image.H STR #2873: new function Fl_Image::fail() that returns 0, ERR_NO_IMAGE, ERR_FORMAT, or ERR_FILE_ACCESS to make life easier when loading images. 2015-05-23 23:42:26 +00:00
Fl_Light_Button.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Line_Dial.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Menu_.H Documentation fixes and clarifications. 2016-07-09 17:14:22 +00:00
Fl_Menu_Bar.H Converted class Fl_Sys_Menu_Bar to the driver model. 2017-12-02 16:20:30 +00:00
Fl_Menu_Button.H Documentation clarification for all menu oriented widgets 2015-01-10 22:05:15 +00:00
Fl_Menu_Item.H Add missing Fl_Labeltype and Fl_Boxtype definitions. 2017-09-11 18:54:10 +00:00
Fl_Menu_Window.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Menu.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fl_message.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Multi_Browser.H Changed Fl_Multi_Browser behaviour on the Mac OS platform so multiple selection 2015-11-05 17:54:16 +00:00
Fl_Multi_Label.H Small doc simplification/shortening 2017-09-27 03:30:13 +00:00
Fl_Multiline_Input.H Escape '\n' ('\\n') in doxygen comment. 2014-10-09 11:45:02 +00:00
Fl_Multiline_Output.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Native_File_Chooser.H Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Nice_Slider.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Object.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Output.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Overlay_Window.H Rewrite Fl_Overlay_Window class under the driver model. 2016-03-27 06:58:54 +00:00
Fl_Pack.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Paged_Device.H Beginning of Albrecht's plan for Fl_Window and Fl_Window_Driver classes. 2016-03-18 18:20:11 +00:00
Fl_Pixmap.H New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
Fl_Plugin.H Set missing svn properties. 2017-03-13 23:31:38 +00:00
Fl_PNG_Image.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_PNM_Image.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Positioner.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_PostScript.H Complete DOxygen documentation of the Fl_Graphics_Driver class. 2016-04-24 16:22:38 +00:00
Fl_Preferences.H Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Printer.H Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Progress.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Radio_Button.H Update docs related to buttons and update Fl_Check_Button.png. 2014-10-19 20:17:17 +00:00
Fl_Radio_Light_Button.H Update docs related to buttons and update Fl_Check_Button.png. 2014-10-19 20:17:17 +00:00
Fl_Radio_Round_Button.H Update docs related to buttons and update Fl_Check_Button.png. 2014-10-19 20:17:17 +00:00
Fl_Rect.H Android: fixed Fl_Rect.H commit. 2018-03-12 20:54:27 +00:00
Fl_Repeat_Button.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Return_Button.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_RGB_Image.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Roller.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Round_Button.H Update docs related to buttons and update Fl_Check_Button.png. 2014-10-19 20:17:17 +00:00
Fl_Round_Clock.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Screen_Driver.H More Android changes. 2018-03-02 20:03:04 +00:00
Fl_Scroll.H Remove FL_ABI_VERSION directives 2016-04-24 19:39:27 +00:00
Fl_Scrollbar.H STR 2714: remove lint (variables that have the same name as a function in the same scope). 2011-10-02 06:25:13 +00:00
Fl_Secret_Input.H Mac OS text input: defined a small API that user-defined text editing widgets can use to signal marked text. 2012-12-24 11:45:07 +00:00
Fl_Select_Browser.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Shared_Image.H New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
fl_show_colormap.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
fl_show_input.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Simple_Counter.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Simple_Terminal.H Changed Fl_Simple_Terminal::draw() public -> protected 2017-10-17 00:38:38 +00:00
Fl_Single_Window.H Fixed 'flush()' code for single, double, and overlay buffering 2016-03-13 22:16:37 +00:00
Fl_Slider.H Fixed doc typo 2012-05-28 15:39:12 +00:00
Fl_Spinner.H Fix Visual Studio shared library build (STR #3389). 2017-07-12 21:51:42 +00:00
Fl_SVG_Image.H New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
Fl_Sys_Menu_Bar_Driver.H STR#3437 : Support display of windows in tabbed form as in MacOS 10.12 Sierra 2017-12-18 15:19:15 +00:00
Fl_Sys_Menu_Bar.H Document that fl_mac_set_about() is deprecated, MacOS-specific and replaced by cross-platform Fl_Sys_Menu_Bar::about(). 2018-02-22 17:04:37 +00:00
Fl_System_Driver.H Move xxx_also_windowless member functions from Fl_System_Driver to Fl_Screen_Driver. 2018-02-08 12:47:40 +00:00
Fl_Table_Row.H Avoid #include's of unrelated system headers in Fl_Table*.H. 2017-08-18 15:16:08 +00:00
Fl_Table.H Avoid #include's of unrelated system headers in Fl_Table*.H. 2017-08-18 15:16:08 +00:00
Fl_Tabs.H Code formatting only. No significant changes. 2017-06-21 20:00:28 +00:00
Fl_Text_Buffer.H Added printf() and vprintf() to Fl_Text_Buffer 2017-10-08 20:38:36 +00:00
Fl_Text_Display.H Fixes issued raised in STR #3422; Fl_Text_Display constructor order issues; 2017-11-23 19:34:33 +00:00
Fl_Text_Editor.H Removed ABI guards that snuck in with r11819. 2016-07-19 23:19:16 +00:00
Fl_Tile.H Fix documentation of Fl_Tile (STR #3303). 2016-05-09 11:29:59 +00:00
Fl_Tiled_Image.H Add missing default values for virtual member functions. 2017-08-30 17:44:09 +00:00
Fl_Timer.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Toggle_Button.H STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. 2012-07-24 04:37:22 +00:00
Fl_Toggle_Light_Button.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Toggle_Round_Button.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Tooltip.H Removed warning for Android. Fixed "FIXME" in Fl_Tooltip. Removed tab characters. 2018-03-15 09:34:20 +00:00
Fl_Tree_Item_Array.H Remove #if FLTK_ABI_VERSION >= xxx directives. 2016-04-23 04:30:39 +00:00
Fl_Tree_Item.H Add non-const version of Fl_Tree_Item::tree(). 2016-10-17 12:51:05 +00:00
Fl_Tree_Prefs.H Remove #if FLTK_ABI_VERSION >= xxx directives. 2016-04-23 04:30:39 +00:00
Fl_Tree.H Fl_Tree documentation fixes and two missing statements. 2016-09-24 23:15:48 +00:00
fl_types.h Fix spelling errors and improve documentation. 2015-06-15 20:24:41 +00:00
fl_utf8.h Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Valuator.H Improve documentation of Fl_Valuator class. 2016-03-08 13:51:01 +00:00
Fl_Value_Input.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Value_Output.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Value_Slider.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_Widget_Surface.H Set missing svn properties. 2017-03-13 23:31:38 +00:00
Fl_Widget.H Improve docs of Fl_Widget::callback() and do_callback(). 2017-07-20 15:16:37 +00:00
Fl_Window_Driver.H More Android changes. 2018-03-02 20:03:04 +00:00
Fl_Window.H Android: crude graphics clipping 2018-03-10 00:46:12 +00:00
Fl_Wizard.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_XBM_Image.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl_XPM_Image.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
Fl.H Fix a doxygen warning, update copyright. 2018-03-18 15:25:08 +00:00
forms.H Export fl_gettime forms function 2014-10-29 20:17:38 +00:00
gl2opengl.h Initial revision 1998-10-06 18:21:25 +00:00
gl_draw.H Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
gl.h Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
glu.h Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
glut.H Fix for Brain Davis' bug report in fltk.general on 12/20/16. 2016-12-20 23:27:29 +00:00
mac.H MacOS: add more detail to the doc of global variable fl_mac_os_version 2018-03-07 10:12:50 +00:00
Makefile.in Modifications to all LGPL headers for STR #2685. 2011-07-19 04:49:30 +00:00
math.h Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
names.h Finally remove FLTK_ABI_VERSION preprocessor macro from code. 2016-11-19 01:20:53 +00:00
platform_types.h Android: adding and fixing to the graphics clipping code 2018-03-10 13:17:41 +00:00
platform.H Adding crude Android native screen driver 2018-03-02 16:34:43 +00:00
porting.H Fix remaining issue in FL/porting.H. 2018-01-31 22:49:52 +00:00
README.Xcode Added and removed silly files 2010-10-24 20:54:08 +00:00
win32.H Windows: remove necessity to compile with -DFLTK_HIDPI_SUPPORT to make WIN32 FLTK apps DPI-aware. 2018-03-09 16:27:27 +00:00
x.H Replace FL/x.H with FL/platform.H - step 1. 2018-01-31 17:46:48 +00:00

All FLTK header files are in the FL subdirectory of the fltk.framework.
Image header files are located in "fltk.framework/Headers/FL/images/".