fl7::Button Class Reference

#include <Button.h>

Inheritance diagram for fl7::Button:
fl7::Control fl7::Face

List of all members.

Public Member Functions

 Button (Shell *const shell)
virtual ~Button (void)
const cl7::string_typeGetCaption () const
const ImageGetImage () const
ImageGetImage ()
bool GetPressed () const
void SetCaption (const cl7::string_type &caption)
void SetImage (const Image &image)
void SetPressed (bool pressed)

Public Attributes

EventHandler< EventArgsOnClickEventHandler
EventHandler< EventArgsOnPeriodicActionEventHandler
friend Shell

Detailed Description

The class for clickable buttons.


Constructor & Destructor Documentation

fl7::Button::Button ( Shell *const   shell  ) 

Explicit constructor.

fl7::Button::~Button ( void   )  [virtual]

Destructor.


Member Function Documentation

const cl7::string_type& fl7::Button::GetCaption (  )  const [inline]

Returns the caption of this button.

Image& fl7::Button::GetImage (  )  [inline]

Returns the image to eventually display on this button.

const Image& fl7::Button::GetImage (  )  const [inline]

Returns the image to eventually display on this button.

bool fl7::Button::GetPressed (  )  const [inline]

Returns the flag indicating whether this button is pressed.

void fl7::Button::SetCaption ( const cl7::string_type caption  )  [inline]

Sets the caption of this button.

void fl7::Button::SetImage ( const Image image  )  [inline]

Sets the image to eventually display on this button.

void fl7::Button::SetPressed ( bool  pressed  )  [inline]

Sets the flag indicating whether this button is pressed.


Member Data Documentation

Will be called after this button has been clicked.

Will be called after a certain amount of time while this button is in action.

Reimplemented from fl7::Control.


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

Generated on Tue Dec 1 13:21:15 2009 for flange77: Cyber E-Razor rockt die Galaxis by  doxygen 1.6.1