Eclipse SUMO - Simulation of Urban MObility
|
#include <MFXLinkLabel.h>
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 () | |
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.
anonymous enum |
Enumerator | |
---|---|
ID_FIRST | |
ID_TIMER | |
ID_LAST |
Definition at line 43 of file MFXLinkLabel.h.
|
inlineprotected |
Definition at line 34 of file MFXLinkLabel.h.
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.
|
virtual |
|
static |
Definition at line 38 of file MFXLinkLabel.cpp.
Referenced by GUIApplicationWindow::onCmdChangelog(), GNEApplicationWindow::onCmdChangelog(), GUIApplicationWindow::onCmdHelp(), GNEApplicationWindow::onCmdHelp(), GUIApplicationWindow::onCmdHotkeys(), GNEApplicationWindow::onCmdHotkeys(), GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline(), GUIApplicationWindow::onCmdTutorial(), GNEApplicationWindow::onCmdTutorial(), and onLeftBtnPress().
long MFXLinkLabel::onLeftBtnPress | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 93 of file MFXLinkLabel.cpp.
References fxexecute(), and ID_TIMER.
Referenced by FXDEFMAP().
long MFXLinkLabel::onTimer | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 107 of file MFXLinkLabel.cpp.
Referenced by FXDEFMAP().