Lines Matching defs:font

382 			BFont font;
383 font.SetFamilyAndStyle(fontFamily, fontStyle);
384 fItalicItem->SetMarked((font.Face() & B_ITALIC_FACE) != 0);
385 fBoldItem->SetMarked((font.Face() & B_BOLD_FACE) != 0);
386 fUnderlineItem->SetMarked((font.Face() & B_UNDERSCORE_FACE) != 0);
407 BFont font;
408 font.SetFamilyAndStyle(fontFamily, fontStyle);
409 fItalicItem->SetMarked((font.Face() & B_ITALIC_FACE) != 0);
410 fBoldItem->SetMarked((font.Face() & B_BOLD_FACE) != 0);
411 fUnderlineItem->SetMarked((font.Face() & B_UNDERSCORE_FACE) != 0);
419 BFont font;
421 fTextView->GetFontAndColor(&font, &sameProperties);
422 //GetFont seems to return a constant size for font.Size(),
424 int32 cur_size = (int32)font.Size();
438 BFont font;
440 fTextView->GetFontAndColor(&font, &sameProperties);
441 int32 cur_size = (int32)font.Size();
455 BFont font;
456 fTextView->GetFontAndColor(&font, &sameProperties);
459 font.SetFace(B_REGULAR_FACE);
464 font.GetFamilyAndStyle(&family, &style);
472 BFont font;
473 fTextView->GetFontAndColor(&font, &sameProperties);
476 font.SetFace(B_REGULAR_FACE);
481 font.GetFamilyAndStyle(&family, &style);
489 BFont font;
490 fTextView->GetFontAndColor(&font, &sameProperties);
493 font.SetFace(B_REGULAR_FACE);
498 font.GetFamilyAndStyle(&family, &style);
694 // update the font menu
718 // find the current font, color, size
719 BFont font;
723 fTextView->GetFontAndColor(&font, &sameProperties, &color, &sameColor);
742 if ((int)font.Size() == font.Size()) {
743 // select the current font size
745 snprintf(fontSizeStr, 15, "%i", (int)font.Size());
754 font.GetFamilyAndStyle(&family, &style);
769 fBoldItem->SetMarked((font.Face() & B_BOLD_FACE) != 0);
770 fItalicItem->SetMarked((font.Face() & B_ITALIC_FACE) != 0);
771 fUnderlineItem->SetMarked((font.Face() & B_UNDERSCORE_FACE) != 0);
1250 // premake font menu since we cant add members dynamically later
1381 BFont font;
1382 menu->GetFont(&font);
1384 font.GetHeight(&fh);
1853 BFont font;
1855 fTextView->GetFontAndColor(&font, &sameProperties);
1856 font.SetSize(fontSize);
1857 fTextView->SetFontAndColor(&font, B_FONT_SIZE);
1867 BFont font;
1869 fTextView->GetFontAndColor(&font, &sameProperties, NULL, NULL);
1870 fTextView->SetFontAndColor(&font, 0, color);
1879 BFont font;
1882 // find out what the old font was
1885 fTextView->GetFontAndColor(&font, &sameProperties);
1886 font.GetFamilyAndStyle(&oldFamily, &oldStyle);
1902 font.SetFamilyAndStyle(fontFamily, fontStyle);
1906 if (!(font.Face() & B_REGULAR_FACE))
1907 face = font.Face();
1918 font.SetFace(face);
1920 fTextView->SetFontAndColor(&font, B_FONT_FAMILY_AND_STYLE | B_FONT_FACE);