Home
last modified time | relevance | path

Searched refs:styleID (Results 1 – 9 of 9) sorted by relevance

/haiku/src/servers/app/font/
H A DFontManager.h53 uint16 styleID) const;
57 uint16 styleID = 0xffff,
76 uint16& familyID, uint16& styleID);
77 FontStyle* _RemoveFont(uint16 familyID, uint16 styleID);
85 : familyID(0xffff), styleID(0xffff) {} in FontKey()
88 : familyID(family), styleID(style) {} in FontKey()
92 return familyID | (styleID << 16UL); in GetHashCode()
98 && styleID == other.styleID;
101 uint16 familyID, styleID; member
H A DAppFontManager.cpp54 uint16& familyID, uint16& styleID) in AddUserFontFromFile() argument
73 status = _AddFont(face, nodeRef, path, familyID, styleID); in AddUserFontFromFile()
82 uint16 instance, uint16& familyID, uint16& styleID) in AddUserFontFromMemory() argument
95 status = _AddFont(face, nodeRef, "", familyID, styleID); in AddUserFontFromMemory()
104 AppFontManager::RemoveUserFont(uint16 familyID, uint16 styleID) in RemoveUserFont() argument
106 return _RemoveFont(familyID, styleID) != NULL ? B_OK : B_BAD_VALUE; in RemoveUserFont()
H A DFontManager.cpp203 FontManager::GetStyle(uint16 familyID, uint16 styleID) const in GetStyle()
207 FontKey key(familyID, styleID); in GetStyle()
230 uint16 familyID, uint16 styleID, uint16 face) in GetStyle() argument
236 if (styleID != 0xffff && (familyName == NULL || !familyName[0]) in GetStyle()
238 return GetStyle(familyID, styleID); in GetStyle()
307 uint16& familyID, uint16& styleID) in _AddFont() argument
343 styleID = style->ID(); in _AddFont()
345 fStyleHashTable.Put(FontKey(familyID, styleID), style); in _AddFont()
354 FontManager::_RemoveFont(uint16 familyID, uint16 styleID) in _RemoveFont() argument
358 FontKey key(familyID, styleID); in _RemoveFont()
H A DAppFontManager.h41 uint16& familyID, uint16& styleID);
44 uint16& familyID, uint16& styleID);
45 status_t RemoveUserFont(uint16 familyID, uint16 styleID);
H A DGlobalFontManager.h61 virtual FontStyle* GetStyle(uint16 familyID, uint16 styleID) const;
65 uint16 styleID = 0xffff,
H A DGlobalFontManager.cpp553 GlobalFontManager::GetStyle(uint16 familyID, uint16 styleID) const in GetStyle()
555 return FontManager::GetStyle(familyID, styleID); in GetStyle()
573 uint16 familyID, uint16 styleID, uint16 face) in GetStyle() argument
577 if (styleID != 0xffff && (familyName == NULL || !familyName[0]) in GetStyle()
579 return GetStyle(familyID, styleID); in GetStyle()
740 uint16 familyID, styleID; in _AddFont() local
741 status = FontManager::_AddFont(face, nodeRef, path.Path(), familyID, styleID); in _AddFont()
749 directory.styles.AddItem(GetStyle(familyID, styleID)); in _AddFont()
/haiku/src/servers/app/
H A DServerApp.cpp1619 uint16 familyID, styleID; in _DispatchMessage() local
1627 familyID, styleID); in _DispatchMessage()
1633 status = font.SetFamilyAndStyle(familyID, styleID, in _DispatchMessage()
1732 uint16 familyID, styleID; in _DispatchMessage() local
1735 familyID, styleID); in _DispatchMessage()
1742 status = font.SetFamilyAndStyle(familyID, styleID, in _DispatchMessage()
1772 uint16 familyID, styleID; in _DispatchMessage() local
1774 link.Read<uint16>(&styleID); in _DispatchMessage()
1779 status = fAppFontManager->RemoveUserFont(familyID, styleID); in _DispatchMessage()
2004 uint16 familyID, styleID; in _DispatchMessage() local
[all …]
H A DServerFont.h76 uint16 styleID,
H A DServerFont.cpp276 ServerFont::SetFamilyAndStyle(uint16 familyID, uint16 styleID, in SetFamilyAndStyle() argument
283 style.SetTo(gFontManager->GetStyle(familyID, styleID), false); in SetFamilyAndStyle()
290 style.SetTo(fontManager->GetStyle(familyID, styleID), false); in SetFamilyAndStyle()