comparison libvo/sub.c @ 372:1e57ff895419

progress bar width increased
author arpi_esp
date Thu, 12 Apr 2001 00:41:22 +0000
parents 57f0156416e3
children 41d6eec69b60
comparison
equal deleted inserted replaced
371:55f9067ad176 372:1e57ff895419
35 int len=strlen(vo_osd_text); 35 int len=strlen(vo_osd_text);
36 int i; 36 int i;
37 int y=dys/2; 37 int y=dys/2;
38 int x; 38 int x;
39 int c,font; 39 int c,font;
40 int width=(dxs/2-vo_font->width[0x10]-vo_font->width[0x12]); 40 int width=(dxs*2/3-vo_font->width[0x10]-vo_font->width[0x12]);
41 int elems=width/vo_font->width[0x11]; 41 int elems=width/vo_font->width[0x11];
42 int mark=(vo_osd_progbar_value*(elems+1))>>8; 42 int mark=(vo_osd_progbar_value*(elems+1))>>8;
43 x=(dxs-width)/2; 43 x=(dxs-width)/2;
44 // printf("osd.progbar width=%d xpos=%d\n",width,x); 44 // printf("osd.progbar width=%d xpos=%d\n",width,x);
45 45