211 |
211 |
212 void ui_pixmaps_dir(char *path) { |
212 void ui_pixmaps_dir(char *path) { |
213 pixmaps_dir = path; |
213 pixmaps_dir = path; |
214 } |
214 } |
215 |
215 |
|
216 char* uic_get_image_path(char *imgfilename) { |
|
217 if(pixmaps_dir) { |
|
218 return uic_concat_path(pixmaps_dir, imgfilename, NULL); |
|
219 } else { |
|
220 return NULL; |
|
221 } |
|
222 } |
|
223 |
216 void ui_load_lang(char *locale) { |
224 void ui_load_lang(char *locale) { |
217 if(!locale) { |
225 if(!locale) { |
218 locale = "en_EN"; |
226 locale = "en_EN"; |
219 } |
227 } |
220 |
228 |