Mercurial > mplayer.hg
comparison libvo/font_load.h @ 18980:ed69754aa58d
Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
author | reynaldo |
---|---|
date | Sun, 09 Jul 2006 17:45:36 +0000 |
parents | f580a7755ac5 |
children | d7c2e093e406 |
comparison
equal
deleted
inserted
replaced
18979:494e8de479aa | 18980:ed69754aa58d |
---|---|
78 extern int force_load_font; | 78 extern int force_load_font; |
79 | 79 |
80 int init_freetype(void); | 80 int init_freetype(void); |
81 int done_freetype(void); | 81 int done_freetype(void); |
82 | 82 |
83 font_desc_t* read_font_desc_ft(char* fname,int movie_width, int movie_height); | 83 font_desc_t* read_font_desc_ft(const char* fname,int movie_width, int movie_height); |
84 void free_font_desc(font_desc_t *desc); | 84 void free_font_desc(font_desc_t *desc); |
85 | 85 |
86 void render_one_glyph(font_desc_t *desc, int c); | 86 void render_one_glyph(font_desc_t *desc, int c); |
87 int kerning(font_desc_t *desc, int prevc, int c); | 87 int kerning(font_desc_t *desc, int prevc, int c); |
88 | 88 |
94 static int kerning(font_desc_t *desc, int prevc, int c) { return 0; } | 94 static int kerning(font_desc_t *desc, int prevc, int c) { return 0; } |
95 | 95 |
96 #endif | 96 #endif |
97 | 97 |
98 raw_file* load_raw(char *name,int verbose); | 98 raw_file* load_raw(char *name,int verbose); |
99 font_desc_t* read_font_desc(char* fname,float factor,int verbose); | 99 font_desc_t* read_font_desc(const char* fname,float factor,int verbose); |
100 | 100 |
101 #endif /* ! __MPLAYER_FONT_LOAD_H */ | 101 #endif /* ! __MPLAYER_FONT_LOAD_H */ |