Home
last modified time | relevance | path

Searched refs:fontStyle (Results 1 – 10 of 10) sorted by relevance

/haiku/src/apps/mail/
H A DSettings.cpp193 font_style fontStyle; in SaveSettings() local
194 fContentFont.GetFamilyAndStyle(&fontFamily, &fontStyle); in SaveSettings()
197 settings.AddString("FontStyle", fontStyle); in SaveSettings()
265 const char *fontStyle; in LoadSettings() local
266 if (settings.FindString("FontStyle", &fontStyle) == B_OK) { in LoadSettings()
272 if (fontFamily[0] && fontStyle[0]) { in LoadSettings()
275 fontStyle[0] ? fontStyle : NULL); in LoadSettings()
H A DMailApp.cpp843 font_style fontStyle; in LoadOldSettings() local
846 file.Read(&fontStyle, sizeof(font_style)); in LoadOldSettings()
851 if (fontFamily[0] && fontStyle[0]) in LoadOldSettings()
852 fContentFont.SetFamilyAndStyle(fontFamily, fontStyle); in LoadOldSettings()
943 font_style fontStyle; in SaveSettings() local
944 fContentFont.GetFamilyAndStyle(&fontFamily, &fontStyle); in SaveSettings()
947 settings.AddString("FontStyle", fontStyle); in SaveSettings()
1016 const char *fontStyle; in LoadSettings() local
1017 if (settings.FindString("FontStyle", &fontStyle) == B_OK) { in LoadSettings()
1023 if (fontFamily[0] && fontStyle[0]) { in LoadSettings()
[all …]
/haiku/src/servers/app/
H A DDesktopSettings.cpp164 FontStyle* fontStyle = gFontManager->GetStyle(family, style); in _Load() local
165 fPlainFont.SetStyle(fontStyle); in _Load()
172 FontStyle* fontStyle = gFontManager->GetStyle(family, style); in _Load() local
173 fBoldFont.SetStyle(fontStyle); in _Load()
180 FontStyle* fontStyle = gFontManager->GetStyle(family, style); in _Load() local
181 if (fontStyle != NULL && (fontStyle->IsFixedWidth() in _Load()
182 || fontStyle->IsFullAndHalfFixed())) in _Load()
183 fFixedFont.SetStyle(fontStyle); in _Load()
245 const char* fontStyle; in _Load() local
246 if (settings.FindString("font style", &fontStyle) == B_OK) in _Load()
[all …]
H A DServerApp.cpp2010 FontStyle* fontStyle = gFontManager->GetStyle(familyID, styleID); in _DispatchMessage() local
2011 if (fontStyle == NULL) { in _DispatchMessage()
2014 fontStyle = fAppFontManager->GetStyle(familyID, styleID); in _DispatchMessage()
2017 if (fontStyle != NULL) { in _DispatchMessage()
2019 fLink.AttachString(fontStyle->Family()->Name()); in _DispatchMessage()
2020 fLink.AttachString(fontStyle->Name()); in _DispatchMessage()
2058 FontStyle* fontStyle = gFontManager->GetStyle(family, style, in _DispatchMessage() local
2060 if (fontStyle == NULL) { in _DispatchMessage()
2063 fontStyle = fAppFontManager->GetStyle(family, style, in _DispatchMessage()
2067 if (fontStyle != NULL) { in _DispatchMessage()
[all …]
H A DPictureBoundingBoxPlayer.cpp620 FontStyle* fontStyle = gFontManager->GetStyleByIndex(family, 0); in set_font_family() local
622 font.SetStyle(fontStyle); in set_font_family()
637 FontStyle* fontStyle = gFontManager->GetStyle(font.Family(), style); in set_font_style() local
638 font.SetStyle(fontStyle); in set_font_style()
H A DServerPicture.cpp794 FontStyle* fontStyle = gFontManager->GetStyleByIndex(family, 0); in set_font_family() local
796 font.SetStyle(fontStyle); in set_font_family()
811 FontStyle* fontStyle = gFontManager->GetStyle(font.Family(), style); in set_font_style() local
813 font.SetStyle(fontStyle); in set_font_style()
/haiku/src/servers/app/font/
H A DGlyphLayoutEngine.h435 const char* fontStyle; in PopulateFallbacks() local
437 fontStyle = font.Style(); in PopulateFallbacks()
439 fontStyle = "Regular"; in PopulateFallbacks()
441 fontStyle = NULL; in PopulateFallbacks()
447 fallbackStyle = gFontManager->GetStyle(fallbacks[i], fontStyle); in PopulateFallbacks()
H A DGlobalFontManager.cpp596 FontStyle* fontStyle = family->GetStyle(styleName); in GetStyle() local
597 if (fontStyle != NULL) in GetStyle()
598 return fontStyle; in GetStyle()
602 fontStyle = family->GetStyle(styleName); in GetStyle()
603 if (fontStyle != NULL) in GetStyle()
604 return fontStyle; in GetStyle()
/haiku/src/apps/stylededit/
H A DStyledEditWindow.cpp375 const char* fontStyle = NULL; in MessageReceived() local
383 font.SetFamilyAndStyle(fontFamily, fontStyle); in MessageReceived()
388 _SetFontStyle(fontFamily, fontStyle); in MessageReceived()
394 const char* fontStyle = NULL; in MessageReceived() local
398 fontStyle = item->Label(); in MessageReceived()
408 font.SetFamilyAndStyle(fontFamily, fontStyle); in MessageReceived()
413 _SetFontStyle(fontFamily, fontStyle); in MessageReceived()
1877 StyledEditWindow::_SetFontStyle(const char* fontFamily, const char* fontStyle) in _SetFontStyle() argument
1902 font.SetFamilyAndStyle(fontFamily, fontStyle); in _SetFontStyle()
H A DStyledEditWindow.h74 const char* fontStyle);