Inherits fltk::Button.
Static Public Attributes | |
static NamedStyle * | default_style = &::style |
Protected Member Functions | |
void | draw () |
Same as a normal button except the shortcut() is preset to ReturnKey and KeypadEnter, and a glyph is drawn to indicate this.
void ReturnButton::draw | ( | void | ) | [protected, virtual] |
The virtual draw() function makes sure the button isn't hidden, then calls Button::draw(int glyph_width) with a width of 0
Reimplemented from fltk::Button.
NamedStyle * ReturnButton::default_style = &::style [static] |
This sets the Button's default style to one with no revert function It thus inherits its style from the "default" style and from Group::default_style
Reimplemented from fltk::Button.