Lines Matching refs:text
321 char text[64];
322 _SetLabel(text, sizeof(text));
325 float textWidth = view->StringWidth(text);
326 bool showLabel = fShowLabel && text[0];
358 view->DrawString(text, BPoint(point.x + 1, point.y + 1));
362 view->DrawString(text, point);
435 char text[64];
436 _SetLabel(text, sizeof(text));
438 if (text[0])
439 width += ceilf(StringWidth(text)) + 2;
441 char text[256];
457 length = snprintf(text, sizeof(text), "%s%s%s", open, data.String(), close);
460 length += snprintf(text + length, sizeof(text) - length, "\n%" B_PRIdTIME
473 snprintf(text + length, sizeof(text) - length, "\n%s",
477 strcpy(text, B_TRANSLATE("no battery"));
478 SetToolTip(text);
769 menu->AddItem(item = new BMenuItem(B_TRANSLATE("Show text label"),