Searched refs:stringField (Results 1 – 4 of 4) sorted by relevance
87 BStringField* stringField = dynamic_cast<BStringField*>(field); in DrawField() local131 } else if (stringField) { in DrawField()135 if (width != stringField->Width()) { in DrawField()136 BString truncatedString(stringField->String()); in DrawField()139 stringField->SetClippedString(truncatedString.String()); in DrawField()140 stringField->SetWidth(width); in DrawField()143 DrawString(stringField->ClippedString(), parent, rect); in DrawField()153 BStringField* stringField = dynamic_cast<BStringField*>(_field); in GetPreferredWidth() local167 } else if (stringField) { in GetPreferredWidth()170 width = font.StringWidth(stringField->String()) + 2 * sTextMargin; in GetPreferredWidth()
103 BStringField* stringField = dynamic_cast<BStringField*>(field); in DrawField() local147 } else if (stringField) { in DrawField()151 if (width != stringField->Width()) { in DrawField()152 BString truncatedString(stringField->String()); in DrawField()155 stringField->SetClippedString(truncatedString.String()); in DrawField()156 stringField->SetWidth(width); in DrawField()159 DrawString(stringField->ClippedString(), parent, rect); in DrawField()169 BStringField* stringField = dynamic_cast<BStringField*>(_field); in GetPreferredWidth() local183 } else if (stringField) { in GetPreferredWidth()186 width = font.StringWidth(stringField->String()) + 2 * sTextMargin; in GetPreferredWidth()[all …]
55 BStringField* stringField = static_cast<BStringField*>(field); in MouseDown() local57 EditWindow* edit = new EditWindow(stringField->String(), 0); in MouseDown()62 if (strcmp(stringField->String(), item->Label()) == 0) { in MouseDown()
403 BStringField* stringField = dynamic_cast<BStringField*>(field); in DrawField() local519 } else if (stringField != NULL) { in DrawField()523 if (width != stringField->Width()) { in DrawField()524 BString truncatedString(stringField->String()); in DrawField()527 stringField->SetClippedString(truncatedString.String()); in DrawField()528 stringField->SetWidth(width); in DrawField()531 DrawString(stringField->ClippedString(), parent, rect); in DrawField()614 BStringField* stringField = dynamic_cast<BStringField*>(_field); in GetPreferredWidth() local626 } else if (stringField) { in GetPreferredWidth()629 width = font.StringWidth(stringField->String()) + 2 * sTextMargin; in GetPreferredWidth()