GfxButton Class Reference

#include <GfxButton.h>

List of all members.

Public Member Functions

 GfxButton (const char *title, double x1, double y1, double x2, double y2)
virtual ~GfxButton ()
virtual void ExecuteEvent (int event, int px, int py)

Public Attributes

SigC::Signal0< void > clicked

Detailed Description

Id
GfxButton.h,v 1.2 2005/07/21 20:26:36 bv Exp

Definition at line 23 of file GfxButton.h.


Constructor & Destructor Documentation

GfxButton::GfxButton ( const char *  title,
double  x1,
double  y1,
double  x2,
double  y2 
)

Definition at line 3 of file GfxButton.cxx.

00004     : TButton(title,"",x1,y1,x2,y2)
00005 {
00006 }

GfxButton::~GfxButton (  )  [virtual]

Definition at line 8 of file GfxButton.cxx.

00009 {
00010 }


Member Function Documentation

void GfxButton::ExecuteEvent ( int  event,
int  px,
int  py 
) [virtual]

Definition at line 12 of file GfxButton.cxx.

References clicked.

00013 {
00014     this->TButton::ExecuteEvent(event,px,py);
00015 
00016     switch (event) {
00017     case kButton1Up:
00018         clicked.emit();
00019         break;
00020     }
00021 }


Member Data Documentation

SigC::Signal0<void> GfxButton::clicked

Definition at line 33 of file GfxButton.h.

Referenced by ExecuteEvent().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1