![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MFXCheckButtonTooltip.h>
Public Member Functions | |
| MFXCheckButtonTooltip (FXComposite *p, MFXStaticToolTip *staticToolTip, const FXString &text, FXObject *tgt, FXSelector sel, FXuint opts=TEXTFIELD_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 | |
| void | setToolTipText (const FXString &toolTip) |
| set toolTip | |
| ~MFXCheckButtonTooltip () | |
| destructor (Called automatically) | |
FOX callbacks | |
called when mouse enter in MFXCheckButtonTooltip | |
| long | onEnter (FXObject *, FXSelector, void *) |
| long | onLeave (FXObject *, FXSelector, void *) |
| called when mouse leaves in MFXCheckButtonTooltip | |
| long | onMotion (FXObject *, FXSelector, void *) |
| called when mouse motion in MFXCheckButtonTooltip | |
Protected Attributes | |
| MFXStaticToolTip * | myStaticToolTip = nullptr |
| FOX needs this. | |
| FXString | myToolTipText |
| toolTip text (if set, tooltip will be always show) | |
Private Member Functions | |
| MFXCheckButtonTooltip (const MFXCheckButtonTooltip &)=delete | |
| Invalidated copy constructor. | |
| MFXCheckButtonTooltip & | operator= (const MFXCheckButtonTooltip &)=delete |
| Invalidated assignment operator. | |
Definition at line 35 of file MFXCheckButtonTooltip.h.
| MFXCheckButtonTooltip::MFXCheckButtonTooltip | ( | FXComposite * | p, |
| MFXStaticToolTip * | staticToolTip, | ||
| const FXString & | text, | ||
| FXObject * | tgt, | ||
| FXSelector | sel, | ||
| FXuint | opts = TEXTFIELD_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 FXCheckButton constructor)
Definition at line 42 of file MFXCheckButtonTooltip.cpp.
| MFXCheckButtonTooltip::~MFXCheckButtonTooltip | ( | ) |
destructor (Called automatically)
Definition at line 49 of file MFXCheckButtonTooltip.cpp.
|
privatedelete |
Invalidated copy constructor.
| long MFXCheckButtonTooltip::onEnter | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
Definition at line 59 of file MFXCheckButtonTooltip.cpp.
References myStaticToolTip, myToolTipText, and MFXStaticToolTip::showStaticToolTip().
Referenced by FXDEFMAP().
| long MFXCheckButtonTooltip::onLeave | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when mouse leaves in MFXCheckButtonTooltip
Definition at line 73 of file MFXCheckButtonTooltip.cpp.
References MFXStaticToolTip::hideStaticToolTip(), and myStaticToolTip.
Referenced by FXDEFMAP().
| long MFXCheckButtonTooltip::onMotion | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when mouse motion in MFXCheckButtonTooltip
Definition at line 82 of file MFXCheckButtonTooltip.cpp.
References myStaticToolTip, and MFXStaticToolTip::onUpdate().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
| void MFXCheckButtonTooltip::setToolTipText | ( | const FXString & | toolTip | ) |
|
protected |
FOX needs this.
static tooltip
Definition at line 69 of file MFXCheckButtonTooltip.h.
Referenced by onEnter(), onLeave(), and onMotion().
|
protected |
toolTip text (if set, tooltip will be always show)
Definition at line 72 of file MFXCheckButtonTooltip.h.
Referenced by onEnter(), and setToolTipText().