SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FXLinkLabel Class Reference

#include <FXLinkLabel.h>

Inheritance diagram for FXLinkLabel:
FXLabel

Public Types

enum  { ID_FIRST = FXLabel::ID_LAST, ID_TIMER, ID_LAST }

Public Member Functions

 FXLinkLabel (FXComposite *p, const FXString &text, FXIcon *ic=0, FXuint opts=LABEL_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
 Constructor.
long onLeftBtnPress (FXObject *, FXSelector, void *)
long onTimer (FXObject *, FXSelector, void *)
virtual ~FXLinkLabel ()
 Destructor.

Protected Member Functions

 FXLinkLabel ()

Detailed Description

A label which points to a link. This class behaves very much like the FXLabel class but it points to some link which is started when clicked.

Definition at line 41 of file FXLinkLabel.h.

Member Enumeration Documentation

anonymous enum
Enumerator:
ID_FIRST 
ID_TIMER 
ID_LAST 

Definition at line 54 of file FXLinkLabel.h.

Constructor & Destructor Documentation

FXLinkLabel::FXLinkLabel ( )
inlineprotected

Definition at line 45 of file FXLinkLabel.h.

FXLinkLabel::FXLinkLabel ( FXComposite *  p,
const FXString &  text,
FXIcon *  ic = 0,
FXuint  opts = LABEL_NORMAL,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = DEFAULT_PAD,
FXint  pr = DEFAULT_PAD,
FXint  pt = DEFAULT_PAD,
FXint  pb = DEFAULT_PAD 
)

Constructor.

Definition at line 91 of file FXLinkLabel.cpp.

FXLinkLabel::~FXLinkLabel ( )
virtual

Destructor.

Definition at line 96 of file FXLinkLabel.cpp.

References ID_TIMER.

Member Function Documentation

long FXLinkLabel::onLeftBtnPress ( FXObject ,
FXSelector  ,
void *   
)

Definition at line 100 of file FXLinkLabel.cpp.

References fxexecute(), and ID_TIMER.

long FXLinkLabel::onTimer ( FXObject ,
FXSelector  ,
void *   
)

Definition at line 114 of file FXLinkLabel.cpp.


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