FLTK Imago
Main Page | Class List | File List | Class Members | File Members

Fl_SVG_Button Class Reference

#include <Fl_SVG_Button.H>

List of all members.

Public Member Functions

IMAGO_EXPORT Fl_SVG_Button (int X, int Y, int W, int H, const char *label=0)
virtual IMAGO_EXPORT ~Fl_SVG_Button ()
virtual IMAGO_EXPORT int handle (int)
IMAGO_EXPORT void up_image (Fl_SVG_Image *img)
IMAGO_EXPORT void down_image (Fl_SVG_Image *img)
IMAGO_EXPORT void focus_image (Fl_SVG_Image *img)
IMAGO_EXPORT void highlight_image (Fl_SVG_Image *img)
IMAGO_EXPORT const Fl_SVG_Imageimage () const
IMAGO_EXPORT const Fl_SVG_Imagedown_image () const
IMAGO_EXPORT const Fl_SVG_Imagefocus_image () const
IMAGO_EXPORT const Fl_SVG_Imagehighlight_image () const

Protected Member Functions

virtual IMAGO_EXPORT void draw ()


Constructor & Destructor Documentation

Fl_SVG_Button::Fl_SVG_Button int  X,
int  Y,
int  W,
int  H,
const char *  label = 0
 

Button constructor

Parameters:
X X position
Y Y position
W Width
H Height
label Label text

Fl_SVG_Button::~Fl_SVG_Button  )  [virtual]
 

Destructor


Member Function Documentation

IMAGO_EXPORT const Fl_SVG_Image* Fl_SVG_Button::down_image  )  const [inline]
 

void Fl_SVG_Button::down_image Fl_SVG_Image img  ) 
 

Sets the pressed image

Parameters:
img Image

void Fl_SVG_Button::draw  )  [protected, virtual]
 

Standard FLTK draw method.

IMAGO_EXPORT const Fl_SVG_Image* Fl_SVG_Button::focus_image  )  const [inline]
 

void Fl_SVG_Button::focus_image Fl_SVG_Image img  ) 
 

Sets the "widget has focus" image

Parameters:
img Image

int Fl_SVG_Button::handle int  event  )  [virtual]
 

Event handler.

Parameters:
event Event
Returns:
Standard event handler return value

IMAGO_EXPORT const Fl_SVG_Image* Fl_SVG_Button::highlight_image  )  const [inline]
 

void Fl_SVG_Button::highlight_image Fl_SVG_Image img  ) 
 

Sets the "mouse over widget" image

Parameters:
img Image

IMAGO_EXPORT const Fl_SVG_Image* Fl_SVG_Button::image  )  const [inline]
 

void Fl_SVG_Button::up_image Fl_SVG_Image img  ) 
 

Sets the normal image

Parameters:
img Image


The documentation for this class was generated from the following files:
Generated on Mon Jan 10 16:50:18 2005 for FLTK Imago by doxygen 1.3.7