00001 // fit_text.h 00002 00003 #ifndef FIT_TEXT_H 00004 #define FIT_TEXT_H 00005 00006 #include <iosfwd> 00007 #include <string> 00008 00018 class fit_text 00019 { 00020 public: 00021 fit_text(const char* str, const char* ellipsis="**"); 00022 00023 std::string m_text; 00024 std::string m_ellipsis; 00025 00026 friend std::ostream& operator<< (std::ostream&, const fit_text &); 00027 }; 00028 00029 #endif // FIT_TEXT_H
1.4.3