Lines Matching defs:font
61 fFontsMenu = new BPopUpMenu("font menu");
63 // font menu
225 FontSelectionView::SetFont(const BFont& font, float size)
227 BFont resizedFont(font);
234 FontSelectionView::SetFont(const BFont& font)
236 if (font == fCurrentFont && font == fSavedFont)
240 fSavedFont = fCurrentFont = font;
316 BFont font = fCurrentFont;
320 font.GetFamilyAndStyle(¤tFamily, ¤tStyle);
328 // if we're setting the fixed font, we only want to show fixed and
335 font.SetFamilyAndFace(family, B_REGULAR_FACE);
345 // Each family item has a submenu with all styles for that font.
347 _AddStylesToMenu(font, stylesMenu);
356 // Separate styles menu for only the current font.
511 FontSelectionView::_AddStylesToMenu(const BFont& font, BMenu* stylesMenu) const
518 font.GetFamilyAndStyle(&family, &style);