diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-03 18:29:49 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-03 18:29:49 +0000 |
| commit | 3a0fe7916436b5ce5f4ba252f4078dd649b67c6b (patch) | |
| tree | 564537edff2138ff6ce14864333d275ed6cbf1b1 /documentation/Fl_Shared_Image.html | |
| parent | d7f311e25cff723badae260b42a8c7575fa5661d (diff) | |
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
Diffstat (limited to 'documentation/Fl_Shared_Image.html')
| -rw-r--r-- | documentation/Fl_Shared_Image.html | 68 |
1 files changed, 53 insertions, 15 deletions
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 @@ <!-- NEW PAGE --> -<H2><A name=Fl_Bitmap>class Fl_Bitmap</A></H2> +<H2><A name="Fl_Shared_Image">class Fl_Shared_Image</A></H2> <HR> <H3>Class Hierarchy</H3> @@ -11,41 +11,79 @@ <UL><PRE> <A href="Fl_Image.html">Fl_Image</A> | - +----<B>Fl_Bitmap</B> - | - +----<A href="Fl_XBM_Image.html">Fl_XBM_Image</A> + +----<B>Fl_Shared_Image</B> </PRE></UL> <H3>Include Files</H3> <UL><PRE> -#include <FL/Fl_Bitmap.H> +#include <FL/Fl_Shared_Image.H> </PRE></UL> <H3>Description</H3> -<P>The <TT>Fl_Bitmap</TT> class supports caching and drawing of mono-color -(bitmap) images. Images are drawn using the current color.</P> +<P>The <TT>Fl_Shared_Image</TT> class supports caching, loading, and +drawing of image files. </P> <H3>Methods</H3> <UL> - <LI><A href="#Fl_Bitmap.Fl_Bitmap">Fl_Bitmap</A></LI> + <LI><A href="#Fl_Shared_Image.Fl_Shared_Image">Fl_Shared_Image</A></LI> - <LI><A href="#Fl_Bitmap.~Fl_Bitmap">~Fl_Bitmap</A></LI> + <LI><A href="#Fl_Shared_Image.~Fl_Shared_Image">~Fl_Shared_Image</A></LI> + + <LI><A href="#Fl_Shared_Image.find">find</A></LI> + + <LI><A href="#Fl_Shared_Image.get">get</A></LI> + + <LI><A href="#Fl_Shared_Image.images">images</A></LI> + + <LI><A href="#Fl_Shared_Image.name">name</A></LI> + + <LI><A href="#Fl_Shared_Image.num_images">num_images</A></LI> + + <LI><A href="#Fl_Shared_Image.refcount">refcount</A></LI> + + <LI><A href="#Fl_Shared_Image.release">release</A></LI> + + <LI><A href="#Fl_Shared_Image.reload">reload</A></LI> </UL> -<H4><A name="Fl_Bitmap.Fl_Bitmap">Fl_Bitmap::Fl_Bitmap(const char *array, int W, int H);<BR> -Fl_Bitmap::Fl_Bitmap(const unsigned char *array, int W, int H);</A></H4> +<H4><A name="Fl_Shared_Image.Fl_Shared_Image">protected Fl_Shared_Image::Fl_Shared_Image();<BR> +protected Fl_Shared_Image::Fl_Shared_Image(const char *name, Fl_Image *img);</A></H4> + +<P>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 <A +HREF="#Fl_Shared_Image.get"><TT>get()</TT></A> method instead. + +<H4><A name="Fl_Shared_Image.~Fl_Shared_Image">protected Fl_Shared_Image::~Fl_Shared_Image();</A></H4> + +<P>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 <A +HREF="#Fl_Shared_Image.release"><TT>release()</TT></A> method +instead. + +<H4><A NAME="Fl_Shared_Image.find">static Fl_Shared_Image *find(const char *n, int W = 0, int H = 0);</A></H4> + +<H4><A NAME="Fl_Shared_Image.get">static Fl_Shared_Image *get(const char *n, int W = 0, int H = 0);</A></H4> + +<H4><A NAME="Fl_Shared_Image.images">static Fl_Shared_Image **images();</A></H4> + +<H4><A NAME="Fl_Shared_Image.name">const char *name();</A></H4> + +<H4><A NAME="Fl_Shared_Image.num_images">static int num_images();</A></H4> -<P>The constructors create a new bitmap from the specified bitmap data.</P> +<H4><A NAME="Fl_Shared_Image.refcount">int refcount();</A></H4> -<H4><A name="Fl_Bitmap.~Fl_Bitmap">Fl_Bitmap::~Fl_Bitmap();</A></H4> +<H4><A NAME="Fl_Shared_Image.release">void release();</A></H4> -<P>The destructor free all memory and server resources that are used by -the bitmap.</P> +<H4><A NAME="Fl_Shared_Image.reload">void reload();</A></H4> </BODY> </HTML> |
