SUMO - Simulation of Urban MObility
|
00001 #ifndef FXLinkLabel_h 00002 #define FXLinkLabel_h 00003 00004 00005 // =========================================================================== 00006 // included modules 00007 // =========================================================================== 00008 #ifdef _MSC_VER 00009 #include <windows_config.h> 00010 #else 00011 #include <config.h> 00012 #endif 00013 00014 #include <fx.h> 00015 00020 class FXLinkLabel : public FXLabel { 00021 protected: 00022 // FOX stuff 00023 FXDECLARE(FXLinkLabel) 00024 FXLinkLabel() {} 00025 public: 00027 FXLinkLabel(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); 00028 00030 virtual ~FXLinkLabel(); 00031 00032 // FOX enum 00033 enum { 00034 ID_FIRST = FXLabel::ID_LAST, 00035 ID_TIMER, 00036 00037 ID_LAST 00038 }; 00039 00040 // FOX messages 00041 long onLeftBtnPress(FXObject*, FXSelector, void*); 00042 long onTimer(FXObject*, FXSelector, void*); 00043 }; 00044 00045 00046 00047 00048 #endif