Lines Matching defs:family
146 const char* family;
147 if (message->FindString("family", &family) != B_OK)
153 BMenuItem* familyItem = fFontsMenu->FindItem(family);
168 fCurrentFont.SetFamilyAndStyle(family, styleItem->Label());
181 const char* family;
183 if (message->FindString("family", &family) != B_OK
187 BMenuItem *familyItem = fFontsMenu->FindItem(family);
194 fCurrentFont.SetFamilyAndStyle(family, style);
323 font_family family;
325 if (get_font_family(i, &family, &flags) != B_OK)
335 font.SetFamilyAndFace(family, B_REGULAR_FACE);
338 message->AddString("family", family);
343 familyItem = new BMenuItem(family, message);
345 // Each family item has a submenu with all styles for that font.
346 BMenu* stylesMenu = new BMenu(family);
351 familyItem->SetMarked(strcmp(family, currentFamily) == 0);
446 font_family family;
448 fCurrentFont.GetFamilyAndStyle(&family, &style);
450 BMenuItem *item = fFontsMenu->FindItem(family);
516 font_family family;
518 font.GetFamilyAndStyle(&family, &style);
521 int32 numStyles = count_font_styles(family);
524 if (get_font_style(family, j, &style) != B_OK)
528 message->AddString("family", (char*)family);