Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MFXLinkLabel Class Reference

#include <MFXLinkLabel.h>

Inheritance diagram for MFXLinkLabel:
[legend]
Collaboration diagram for MFXLinkLabel:
[legend]

Public Types

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

Public Member Functions

 MFXLinkLabel (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 ~MFXLinkLabel ()
 Destructor.
 

Static Public Member Functions

static FXint fxexecute (FXString link)
 

Protected Member Functions

 MFXLinkLabel ()
 

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 30 of file MFXLinkLabel.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_FIRST 
ID_TIMER 
ID_LAST 

Definition at line 43 of file MFXLinkLabel.h.

Constructor & Destructor Documentation

◆ MFXLinkLabel() [1/2]

MFXLinkLabel::MFXLinkLabel ( )
inlineprotected

Definition at line 34 of file MFXLinkLabel.h.

◆ MFXLinkLabel() [2/2]

MFXLinkLabel::MFXLinkLabel ( 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 84 of file MFXLinkLabel.cpp.

◆ ~MFXLinkLabel()

MFXLinkLabel::~MFXLinkLabel ( )
virtual

Destructor.

Definition at line 89 of file MFXLinkLabel.cpp.

References ID_TIMER.

Member Function Documentation

◆ fxexecute()

FXint MFXLinkLabel::fxexecute ( FXString  link)
static

◆ onLeftBtnPress()

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

Definition at line 93 of file MFXLinkLabel.cpp.

References fxexecute(), and ID_TIMER.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onTimer()

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

Definition at line 107 of file MFXLinkLabel.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

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