fltk::LightButton Class Reference

Inherits fltk::CheckButton.

Inherited by fltk::RadioLightButton.

List of all members.

Public Member Functions

 LightButton (int x, int y, int w, int h, const char *l=0)

Static Public Member Functions

static void default_glyph (const Widget *, int, int, int, int, int, Flags)

Static Public Attributes

static NamedStyledefault_style

Detailed Description

This button turns the value() on and off each release of a click inside of it, and displays a light to show the user this. This style was designed for the original Forms library and has been copied into Discreet products and many other pieces of software that originated with SGI machines:

Fl_Light_Button.gif

When off the light is color(), when on the light is selection_color().