class Fl_Matte_Button


Class Hierarchy

Include Files

Fl_Matte_Button widget.

Description

The Fl_Matte_Button widget implements a 'matte finish' button widget. For the most part, this widget is just a different looking Fl_Button.
This widget is limited in these respects:

Methods

Fl_Matte_Button::Fl_Matte_Button(int x, int y, int w, int h, const char *label = 0)

Creates a new Fl_Matte_Button widget using the given position, size, and label string. The default boxtype is FL_THIN_UP_BOX.

Fl_Matte_Button::~Fl_Matte_Button()

The destructor.

Fl_Matte_Button::color(Fl_Color val)

Sets the color of the button when it is not being pushed.

Note: Only these colors are supported for 'val':
FL_RED, FL_ORANGE, FL_YELLOW, FL_GREEN, FL_CYAN, FL_GRAY.

The default color() is FL_GRAY.

If you change the color(), you should probably change the down_color() to the same value.

Fl_Matte_Button::down_color(Fl_Color val)

Sets the color of the button when it is 'down' (being pushed).

Note: Only these colors are supported for 'val':
FL_RED, FL_ORANGE, FL_YELLOW, FL_GREEN, FL_CYAN, FL_GRAY.

The default down_color() is FL_GRAY.