Main Page | Class Hierarchy | Class List | File List | Class Members

Flu_Button Class Reference

This class extends Fl_Button to make a more attractive alternative that hilights as the mouse enters/leaves and automatically grayscales any image for deactivation. More...

#include <Flu_Button.h>

Inheritance diagram for Flu_Button:

Flu_Link_Button Flu_Return_Button List of all members.

Public Member Functions

 Flu_Button (int X, int Y, int W, int H, const char *l=0)
 Normal FLTK widget constructor.

virtual ~Flu_Button ()
 Default destructor.

void color (unsigned c)
 Override of Fl_Widget::color().

Fl_Color color () const
 Override of Fl_Widget::color().

void selection_color (unsigned c)
 Override of Fl_Widget::selection_color().

Fl_Color selection_color () const
 Override of Fl_Widget::selection_color().

void enter_box (Fl_Boxtype b)
 Set the box to use when the mouse is over the button. If this is FL_NO_BOX, then the regular box() is used.

Fl_Boxtype enter_box () const
 Get the box to use when the mouse enters.

void image (Fl_Image *i)
 Override of Fl_Widget::image().

void image (Fl_Image &i)
 Override of Fl_Widget::image().

int handle (int event)
 Override of Fl_Button::handle().

void draw ()

Protected Attributes

bool retBtn
bool linkBtn
bool overLink

Detailed Description

This class extends Fl_Button to make a more attractive alternative that hilights as the mouse enters/leaves and automatically grayscales any image for deactivation.


The documentation for this class was generated from the following file:
Generated on Fri Nov 5 12:41:32 2004 for FLTK Utility Library and Widget Collection (FLU) by doxygen 1.3.5