mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Shared_Image.cxx
Fl_Shared_Image::Fl_Shared_Image(const char *n,		// I - Filename
                                 Fl_Image   *img)	// I - Image
  : Fl_Image(0,0,0) {
  name_ = new char[strlen(n) + 1];
  strcpy((char *)name_, n);

  refcount_    = 1;
  image_       = img;
  alloc_image_ = !img;
  original_    = 1;

  if (!img) reload();
  else update();
}
/** 
  Creates a shared image from its filename and its corresponding Fl_Image* img.
  The constructors create a new shared image record in the image cache.
  
  <P>The constructors are protected and cannot be used directly
  from a program. Use the get() method instead.
*/
Creates a shared image from its filename and its corresponding Fl_Image* img.
The constructors create a new shared image record in the image cache.

The constructors are protected and cannot be used directly
from a program. Use the get() method instead.
Creates a shared image from its filename and its corresponding Fl_Image * img . The constructors create a new shared image record in the image cache . The constructors are protected and cannot be used directly from a program . Use the get () method instead .
Fl_Shared_Image::Fl_Shared_Image(const char *n,		
                                 Fl_Image   *img)	
  : Fl_Image(0,0,0) {
  name_ = new char[strlen(n) + 1];
  strcpy((char *)name_, n);
  refcount_    = 1;
  image_       = img;
  alloc_image_ = !img;
  original_    = 1;
  if (!img) reload();
  else update();
}
Fl_Shared_Image :: Fl_Shared_Image ( const char * n , Fl_Image * img ) : Fl_Image ( 0 , 0 , 0 ) { name_ = new char [ strlen ( n ) + 1 ] ; strcpy ( ( char * ) name_ , n ) ; refcount_ = 1 ; image_ = img ; alloc_image_ = ! img ; original_ = 1 ; if ( ! img ) reload ( ) ; else update ( ) ; }
Creates a shared image from its filename and its corresponding Fl_Image* img.
Creates a shared image from its filename and its corresponding Fl_Image * img .
// I - Filename // I - Image