Lines Matching defs:family
53 extern void _set_system_font_(const char *which, font_family family,
56 font_family family, font_style style, float* _size);
62 _set_system_font_(const char *which, font_family family,
72 _get_system_default_font_(const char* which, font_family family,
196 const char* family;
197 if (msg->FindString("family", &family) != B_OK)
203 BMenuItem* familyItem = fFontsMenu->FindItem(family);
213 fCurrentFont.SetFamilyAndStyle(family, item->Label());
222 const char* family;
224 if (msg->FindString("family", &family) != B_OK
228 BMenuItem *familyItem = fFontsMenu->FindItem(family);
235 fCurrentFont.SetFamilyAndStyle(family, style);
277 font_family family;
279 fCurrentFont.GetFamilyAndStyle(&family, &style);
281 BMenuItem *item = fFontsMenu->FindItem(family);
317 font_family family;
319 fCurrentFont.GetFamilyAndStyle(&family, &style);
326 strlcpy(info.f_family, (const char*)family, B_FONT_FAMILY_LENGTH);
332 _set_system_font_(Name(), family, style, fCurrentFont.Size());
339 font_family family;
349 if (_get_system_default_font_(fontName, family, style, &size) != B_OK) {
355 defaultFont.SetFamilyAndStyle(family, style);
439 font_family family;
441 if (get_font_family(i, &family, &flags) != B_OK)
452 BMenu* stylesMenu = new BMenu(family);
457 message->AddString("family", family);
463 int32 numStyles = count_font_styles(family);
467 if (get_font_style(family, j, &style, &flags) != B_OK)
471 message->AddString("family", (char*)family);
478 && !strcmp(family, currentFamily)) {