6 * Revision 1.2 1995/11/08 21:48:13 tamches
7 * moved implementation of constructor to .C file
9 * Revision 1.1 1995/11/04 00:46:40 tamches
10 * First version of new table visi
16 tvFocus::tvFocus(const string &iLongName, XFontStruct *nameFontStruct) :
18 longNamePixWidth = XTextWidth(nameFontStruct, longName.string_of(),
21 // Calculate the short name now, by starting at the end of name, working
22 // backwards, and looking for a "/"
23 const char *ptr = strrchr(longName.string_of(), '/');
26 else if (ptr + 1 == '\0')
31 shortNamePixWidth = XTextWidth(nameFontStruct, shortName.string_of(),