Eclipse SUMO - Simulation of Urban MObility
|
#include <MFXLabelTooltip.h>
Public Member Functions | |
MFXLabelTooltip (FXComposite *p, MFXStaticToolTip *staticToolTip, const FXString &text, FXIcon *ic, FXuint opts=BUTTON_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) | |
fox declaration | |
~MFXLabelTooltip () | |
destructor (Called automatically) | |
FOX callbacks | |
called when paint | |
long | onPaint (FXObject *, FXSelector, void *) |
long | onEnter (FXObject *, FXSelector, void *) |
called when mouse enter in MFXLabelTooltip | |
long | onLeave (FXObject *, FXSelector, void *) |
called when mouse leaves in MFXLabelTooltip | |
long | onMotion (FXObject *, FXSelector, void *) |
called when mouse motion in MFXLabelTooltip | |
Protected Attributes | |
MFXStaticToolTip * | myStaticToolTip = nullptr |
FOX needs this. | |
Private Member Functions | |
MFXLabelTooltip (const MFXLabelTooltip &)=delete | |
Invalidated copy constructor. | |
MFXLabelTooltip & | operator= (const MFXLabelTooltip &)=delete |
Invalidated assignment operator. | |
Definition at line 29 of file MFXLabelTooltip.h.
MFXLabelTooltip::MFXLabelTooltip | ( | FXComposite * | p, |
MFXStaticToolTip * | staticToolTip, | ||
const FXString & | text, | ||
FXIcon * | ic, | ||
FXuint | opts = BUTTON_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 |
||
) |
fox declaration
constructor (Exactly like the FXButton constructor)
Definition at line 36 of file MFXLabelTooltip.cpp.
MFXLabelTooltip::~MFXLabelTooltip | ( | ) |
destructor (Called automatically)
Definition at line 45 of file MFXLabelTooltip.cpp.
|
privatedelete |
Invalidated copy constructor.
long MFXLabelTooltip::onEnter | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when mouse enter in MFXLabelTooltip
Definition at line 79 of file MFXLabelTooltip.cpp.
References myStaticToolTip, and MFXStaticToolTip::showStaticToolTip().
Referenced by FXDEFMAP().
long MFXLabelTooltip::onLeave | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when mouse leaves in MFXLabelTooltip
Definition at line 87 of file MFXLabelTooltip.cpp.
References MFXStaticToolTip::hideStaticToolTip(), and myStaticToolTip.
Referenced by FXDEFMAP().
long MFXLabelTooltip::onMotion | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when mouse motion in MFXLabelTooltip
Definition at line 95 of file MFXLabelTooltip.cpp.
References myStaticToolTip, and MFXStaticToolTip::onUpdate().
Referenced by FXDEFMAP().
long MFXLabelTooltip::onPaint | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Definition at line 49 of file MFXLabelTooltip.cpp.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
FOX needs this.
static tooltip
Definition at line 63 of file MFXLabelTooltip.h.
Referenced by onEnter(), onLeave(), and onMotion().