fltk::ReturnButton Class Reference

Inherits fltk::Button.

List of all members.

Static Public Attributes

static NamedStyledefault_style = &::style

Protected Member Functions

void draw ()

Detailed Description

Same as a normal button except the shortcut() is preset to ReturnKey and KeypadEnter, and a glyph is drawn to indicate this.

Fl_Return_Button.gif

Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files: