From 3a0fe7916436b5ce5f4ba252f4078dd649b67c6b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 3 Dec 2001 18:29:49 +0000 Subject: Bug fixes and doco updates care of Sebastian. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Shared_Image.html | 68 +++++++++++++++++++++++++++++--------- 1 file changed, 53 insertions(+), 15 deletions(-) (limited to 'documentation/Fl_Shared_Image.html') diff --git a/documentation/Fl_Shared_Image.html b/documentation/Fl_Shared_Image.html index 010fcc73a..0e2d3a2b2 100644 --- a/documentation/Fl_Shared_Image.html +++ b/documentation/Fl_Shared_Image.html @@ -3,7 +3,7 @@ -

class Fl_Bitmap

+

class Fl_Shared_Image


Class Hierarchy

@@ -11,41 +11,79 @@

Include Files

Description

-

The Fl_Bitmap class supports caching and drawing of mono-color -(bitmap) images. Images are drawn using the current color.

+

The Fl_Shared_Image class supports caching, loading, and +drawing of image files.

Methods

-

Fl_Bitmap::Fl_Bitmap(const char *array, int W, int H);
-Fl_Bitmap::Fl_Bitmap(const unsigned char *array, int W, int H);

+

protected Fl_Shared_Image::Fl_Shared_Image();
+protected Fl_Shared_Image::Fl_Shared_Image(const char *name, 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. + +

protected Fl_Shared_Image::~Fl_Shared_Image();

+ +

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 +instead. + +

static Fl_Shared_Image *find(const char *n, int W = 0, int H = 0);

+ +

static Fl_Shared_Image *get(const char *n, int W = 0, int H = 0);

+ +

static Fl_Shared_Image **images();

+ +

const char *name();

+ +

static int num_images();

-

The constructors create a new bitmap from the specified bitmap data.

+

int refcount();

-

Fl_Bitmap::~Fl_Bitmap();

+

void release();

-

The destructor free all memory and server resources that are used by -the bitmap.

+

void reload();

-- cgit v1.2.3