forked from enlightenment/efl
evas/cserve2: Adding some font structs to the cache.
This will allow to create answer messages based on the content of these structs. SVN revision: 71361
This commit is contained in:
parent
9398a60c22
commit
a97a4f99cc
|
@ -16,6 +16,10 @@ typedef struct _File_Data File_Data;
|
|||
typedef struct _Image_Data Image_Data;
|
||||
typedef struct _File_Watch File_Watch;
|
||||
|
||||
typedef struct _Font_Entry Font_Entry;
|
||||
typedef struct _Font_Cache Font_Cache;
|
||||
typedef struct _Glyph_Entry Glyph_Entry;
|
||||
|
||||
typedef void *(*Request_Msg_Create)(Entry *e, int *size);
|
||||
typedef void (*Request_Response)(Entry *e, void *resp);
|
||||
typedef void (*Request_Error)(Entry *e, Error_Type error);
|
||||
|
@ -78,6 +82,28 @@ struct _Image_Data {
|
|||
Eina_Bool doload : 1;
|
||||
};
|
||||
|
||||
struct _Font_Entry {
|
||||
};
|
||||
|
||||
struct _Font_Cache {
|
||||
Font_Entry *fe;
|
||||
struct {
|
||||
const char *name;
|
||||
void *data;
|
||||
unsigned int size;
|
||||
unsigned int usage;
|
||||
} shm;
|
||||
Eina_Inlist *glyphs;
|
||||
};
|
||||
|
||||
struct _Glyph_Entry {
|
||||
EINA_INLIST;
|
||||
Font_Entry *fe;
|
||||
Font_Cache *fi;
|
||||
unsigned int index;
|
||||
unsigned int offset;
|
||||
};
|
||||
|
||||
struct _Reference {
|
||||
Client *client;
|
||||
Entry *entry;
|
||||
|
|
Loading…
Reference in New Issue