Home
last modified time | relevance | path

Searched refs:stringField (Results 1 – 4 of 4) sorted by relevance

/haiku/src/apps/debugger/user_interface/gui/teams_window/
H A DTeamsListView.cpp87 BStringField* stringField = dynamic_cast<BStringField*>(field); in DrawField() local
131 } 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() local
167 } else if (stringField) { in GetPreferredWidth()
170 width = font.StringWidth(stringField->String()) + 2 * sTextMargin; in GetPreferredWidth()
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp103 BStringField* stringField = dynamic_cast<BStringField*>(field); in DrawField() local
147 } 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() local
183 } else if (stringField) { in GetPreferredWidth()
186 width = font.StringWidth(stringField->String()) + 2 * sTextMargin; in GetPreferredWidth()
[all …]
/haiku/src/preferences/shortcuts/
H A DPopUpColumn.cpp55 BStringField* stringField = static_cast<BStringField*>(field); in MouseDown() local
57 EditWindow* edit = new EditWindow(stringField->String(), 0); in MouseDown()
62 if (strcmp(stringField->String(), item->Label()) == 0) { in MouseDown()
/haiku/src/apps/haikudepot/ui/
H A DPackageListView.cpp403 BStringField* stringField = dynamic_cast<BStringField*>(field); in DrawField() local
519 } 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() local
626 } else if (stringField) { in GetPreferredWidth()
629 width = font.StringWidth(stringField->String()) + 2 * sTextMargin; in GetPreferredWidth()