The Fl_Shared_Image class supports caching, loading,
and drawing of image files. Most applications will also want to
link against the
fltk_images library and call the
function to support standard image formats such as BMP, GIF, JPEG, and PNG.
The constructors create a new shared image record in the
The constructors are protected and cannot be used directly
from a program. Use the get() method instead.
The destructor free all memory and server resources that are
used by the image. The destructor is protected and cannot be
used directly from a program. Use the release() method
From Belgiansteve, 09:17 Dec 15, 2009 (score=3)
The add_handler function is not described on this page. Can someone please explain the purpose of this function. I noticed it in the file_chooser example. I understand it registers some type of callback function, but I'm not sure I understand how and when this callback gets called. Thanks!
[ Reply ]