The font manager now utilizes a hash table to look up fonts by ID.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14777 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-11-08 16:49:33 +00:00
parent 5f5dfa87e1
commit ec9b3f7ca1
7 changed files with 301 additions and 12 deletions
+3 -1
View File
@@ -10,9 +10,10 @@
#define FONT_MANAGER_H
#include "HashTable.h"
#include <Looper.h>
#include <ObjectList.h>
#include <SupportDefs.h>
#include <ft2build.h>
#include FT_FREETYPE_H
@@ -85,6 +86,7 @@ class FontManager : public BLooper {
BObjectList<font_directory> fDirectories;
BObjectList<font_mapping> fMappings;
BObjectList<FontFamily> fFamilies;
HashTable fStyleHashTable;
ServerFont *fDefaultFont;
bool fScanned;
int32 fNextID;