00001 00025 #ifndef INC_MGUI_EXTENDED_TOOLTIP_H 00026 #define INC_MGUI_EXTENDED_TOOLTIP_H 00027 00028 #ifndef INC_MGUI_TOOLTIP_H 00029 #include <mgui/tooltip.h> 00030 #endif 00031 00032 #ifndef INC_MI32_SPATREF_H 00033 #include <mi32/spatref.h> 00034 #endif 00035 00036 #ifndef INC_MI32_MISTRINGLIST_H 00037 #include <mi32/mistringlist.h> 00038 #endif 00039 00040 namespace MGUI { 00041 00042 class EXTENDED_TOOLTIP { 00043 public: 00044 00046 EXTENDED_TOOLTIP ( 00047 MGUI::CTRL_TOOLTIP* tooltip, 00048 MGUI::CTRL* parent 00049 ); 00050 00052 virtual ~EXTENDED_TOOLTIP (); 00053 00055 void AddExtents ( 00056 const DRECT2D& extents, 00057 const SPATREF::COORDREFSYS& crs 00058 ); 00059 00061 void AddText ( 00062 const MISTRING& string 00063 ); 00064 00066 void AddText ( 00067 const MISTRING& label, 00068 const MISTRING& value, 00069 bool bNewColumn = false 00070 ); 00071 00072 private: 00073 #ifndef GENERATING_DOXYGEN_OUTPUT 00074 00075 MGUI::CTRL_TOOLTIP* m_tooltip; 00076 MGUI::CTRL* m_parent; 00077 MISTRINGLIST m_labels; 00078 MISTRINGLIST m_values; 00079 int m_fontsize; 00080 00081 #endif // GENERATING_DOXYGEN_OUTPUT 00082 }; 00083 00084 } // End namespace MGUI 00085 00086 #endif // INC_MGUI_TOOLTIP_H
1.6.1