summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2014-10-14 11:53:51 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2014-10-14 11:53:51 +0000
commitd24a6b2633664959d0b0ab5fd1ab3aa140ab877f (patch)
tree91f87cbc88b4909cee27ba1c6644d6cd278d2df1 /examples
parentf1bf759c646501707def7a27bc2ca76c30947ba4 (diff)
Move RGB image scaling algorithm methods in base class Fl_Image.
See also discussion in fltk.coredev of Sept 07, 2014 and later with subject "Fixing the nearest-neighbour scaling". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples')
-rw-r--r--examples/clipboard.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/clipboard.cxx b/examples/clipboard.cxx
index 6518ff308..f72eaabf5 100644
--- a/examples/clipboard.cxx
+++ b/examples/clipboard.cxx
@@ -162,6 +162,8 @@ int main(int argc, char **argv)
clip_callback(1, tabs); // use clipboard content at start
#endif
Fl::add_clipboard_notify(clip_callback, tabs); // will update with new clipboard content immediately or at application activation
+
+ Fl_Image::RGB_scaling(FL_RGB_SCALING_BILINEAR); // set bilinear image scaling method
return Fl::run();
}