Eclipse SUMO - Simulation of Urban MObility
|
#include <MFXToggleButtonTooltip.h>
Public Member Functions | |
MFXToggleButtonTooltip (FXComposite *p, MFXStaticToolTip *staticToolTip, const std::string &text1, const std::string &text2, FXIcon *ic1, FXIcon *ic2, FXObject *tgt=NULL, FXSelector sel=0, 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 | |
~MFXToggleButtonTooltip () | |
destructor (Called automatically) | |
FOX callbacks | |
called when mouse enter in MFXToggleButtonTooltip | |
long | onEnter (FXObject *, FXSelector, void *) |
long | onLeave (FXObject *, FXSelector, void *) |
called when mouse leaves in MFXToggleButtonTooltip | |
long | onMotion (FXObject *, FXSelector, void *) |
called when mouse motion in MFXToggleButtonTooltip | |
Protected Attributes | |
MFXStaticToolTip * | myStaticToolTip = nullptr |
FOX needs this. | |
Private Member Functions | |
MFXToggleButtonTooltip (const MFXToggleButtonTooltip &)=delete | |
Invalidated copy constructor. | |
MFXToggleButtonTooltip & | operator= (const MFXToggleButtonTooltip &)=delete |
Invalidated assignment operator. | |
Definition at line 31 of file MFXToggleButtonTooltip.h.
MFXToggleButtonTooltip::MFXToggleButtonTooltip | ( | FXComposite * | p, |
MFXStaticToolTip * | staticToolTip, | ||
const std::string & | text1, | ||
const std::string & | text2, | ||
FXIcon * | ic1, | ||
FXIcon * | ic2, | ||
FXObject * | tgt = NULL , |
||
FXSelector | sel = 0 , |
||
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 FXToggleButton constructor)
Definition at line 35 of file MFXToggleButtonTooltip.cpp.
MFXToggleButtonTooltip::~MFXToggleButtonTooltip | ( | ) |
destructor (Called automatically)
Definition at line 43 of file MFXToggleButtonTooltip.cpp.
|
privatedelete |
Invalidated copy constructor.
long MFXToggleButtonTooltip::onEnter | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Definition at line 47 of file MFXToggleButtonTooltip.cpp.
References myStaticToolTip, and MFXStaticToolTip::showStaticToolTip().
Referenced by FXDEFMAP().
long MFXToggleButtonTooltip::onLeave | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when mouse leaves in MFXToggleButtonTooltip
Definition at line 55 of file MFXToggleButtonTooltip.cpp.
References MFXStaticToolTip::hideStaticToolTip(), and myStaticToolTip.
Referenced by FXDEFMAP().
long MFXToggleButtonTooltip::onMotion | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when mouse motion in MFXToggleButtonTooltip
Definition at line 63 of file MFXToggleButtonTooltip.cpp.
References myStaticToolTip, and MFXStaticToolTip::onUpdate().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
FOX needs this.
static tooltip
Definition at line 63 of file MFXToggleButtonTooltip.h.
Referenced by onEnter(), onLeave(), and onMotion().