comparison gui/cfg.c @ 33555:c5a19bbeac2b

Cosmetic: Rename some GUI variables and functions. The new names are more intelligible and consistent. List of changes: guiIntfStruct -> guiInfo appMPlayer -> guiApp txSample -> guiImage (and member BPP -> Bpp) mplDrawBuffer -> mainDrawBuffer mplPBDrawBuffer -> playbarDrawBuffer mplMenuDrawBuffer -> menuDrawBuffer mpl.* -> ui.* (or mpl dropped) .*bar.* -> .*playbar.* URLItem -> urlItem ChangeSkin -> uiChangeSkin Convert32to1 -> bpRenderMask
author ib
date Sat, 18 Jun 2011 14:33:41 +0000
parents 7ced3616af42
children 9c4163ef54e4
comparison
equal deleted inserted replaced
33554:02d94048970e 33555:c5a19bbeac2b
313 f = fopen(cfg, "rt"); 313 f = fopen(cfg, "rt");
314 314
315 if (f) { 315 if (f) {
316 while (!feof(f)) { 316 while (!feof(f)) {
317 char tmp[512]; 317 char tmp[512];
318 URLItem *item; 318 urlItem *item;
319 319
320 if (gfgets(tmp, 512, f) == NULL) 320 if (gfgets(tmp, 512, f) == NULL)
321 continue; 321 continue;
322 322
323 item = calloc(1, sizeof(URLItem)); 323 item = calloc(1, sizeof(urlItem));
324 item->url = strdup(tmp); 324 item->url = strdup(tmp);
325 gtkSet(gtkAddURLItem, 0, (void *)item); 325 gtkSet(gtkAddURLItem, 0, (void *)item);
326 } 326 }
327 327
328 fclose(f); 328 fclose(f);