fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fluid_Image Class Reference

#include <Fluid_Image.h>

Collaboration diagram for Fluid_Image:

Public Member Functions

void decrement ()
void increment ()
void image (Fl_Widget *)
void deimage (Fl_Widget *)
void write_static ()
void write_initializer (const char *type_name, const char *format,...)
void write_code (const char *var, int inactive=0)
const char * name () const

Static Public Member Functions

static Fluid_Imagefind (const char *)

Public Attributes

int written

Protected Member Functions

 Fluid_Image (const char *name)
 ~Fluid_Image ()

Private Attributes

const char * name_
int refcount
const char * function_name_

Detailed Description

Definition at line 29 of file Fluid_Image.h.

Constructor & Destructor Documentation

◆ Fluid_Image()

Fluid_Image::Fluid_Image ( const char *  name)

Definition at line 208 of file Fluid_Image.cxx.

References function_name_, Fl_Shared_Image::get(), img, name_, NULL, refcount, and written.

Referenced by find().

◆ ~Fluid_Image()

Fluid_Image::~Fluid_Image ( )

Definition at line 226 of file Fluid_Image.cxx.

References free(), images, img, name_, numimages, and Fl_Shared_Image::release().

Member Function Documentation

◆ decrement()

void Fluid_Image::decrement ( )

◆ deimage()

void Fluid_Image::deimage ( Fl_Widget o)

Definition at line 37 of file Fluid_Image.cxx.

References Fl_Widget::deimage(), img, and Fl_Widget::window().

Referenced by Fl_Widget_Type::setinactive().

◆ find()

◆ image()

void Fluid_Image::image ( Fl_Widget o)

Definition at line 33 of file Fluid_Image.cxx.

References Fl_Widget::image(), img, and Fl_Widget::window().

Referenced by Fl_Widget_Type::setimage().

◆ increment()

void Fluid_Image::increment ( )

Definition at line 216 of file Fluid_Image.cxx.

References refcount.

Referenced by Fl_Widget_Type::setimage(), and Fl_Widget_Type::setinactive().

◆ name()

const char* Fluid_Image::name ( ) const

Definition at line 47 of file Fluid_Image.h.

References name_.

Referenced by write_static().

◆ write_code()

void Fluid_Image::write_code ( const char *  var,
int  inactive = 0 

◆ write_initializer()

void Fluid_Image::write_initializer ( const char *  type_name,
const char *  format,

Definition at line 133 of file Fluid_Image.cxx.

References function_name_, vwrite_c(), and write_c().

Referenced by write_static().

◆ write_static()

Member Data Documentation

◆ function_name_

const char* Fluid_Image::function_name_

Definition at line 33 of file Fluid_Image.h.

Referenced by Fluid_Image(), write_code(), write_initializer(), and write_static().

◆ img

Fl_Shared_Image* Fluid_Image::img

Definition at line 32 of file Fluid_Image.h.

Referenced by deimage(), find(), Fluid_Image(), image(), write_code(), write_static(), and ~Fluid_Image().

◆ name_

const char* Fluid_Image::name_

Definition at line 30 of file Fluid_Image.h.

Referenced by find(), Fluid_Image(), name(), and ~Fluid_Image().

◆ refcount

int Fluid_Image::refcount

Definition at line 31 of file Fluid_Image.h.

Referenced by decrement(), Fluid_Image(), and increment().

◆ written

int Fluid_Image::written

The documentation for this class was generated from the following files: