summaryrefslogtreecommitdiff
path: root/patchfont.c
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2006-03-29 18:54:49 +0200
committerAndreas Mair <andreas@vdr-developer.org>2006-03-29 18:54:49 +0200
commit0ff08f0bfb1460e0d0035081956a75b92aaa8359 (patch)
tree3a77a0dec260c32659bf7dda9e35ef04299b8d47 /patchfont.c
parent54d5f6870a7351584fcb1c3e861a4fc9224badf3 (diff)
downloadvdr-plugin-extrecmenu-0ff08f0bfb1460e0d0035081956a75b92aaa8359.tar.gz
vdr-plugin-extrecmenu-0ff08f0bfb1460e0d0035081956a75b92aaa8359.tar.bz2
Version 0.8v0.8
- added some logging - added option to hide the "new recordings column" - added possibility to edit lifetime and priority at the rename menu - changed alternative new marker, it marks now the recordings that are not "rewinded", if turned of the behaviour is like that of VDR's recordings menu - added support for a file length.vdr, containing the length of a recording as a string - new version of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de - added two small tools (in tools/); isodetect to check for a dvd in drive (optionally used by 'dvdarchive.sh'); getlength to create a length.vdr - updated error messages, more detailed now - fixed quoting of the parameters for dvdarchive.sh to avoid problems with filenames containing a ' - fixed unnecessary calls of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de for reporting
Diffstat (limited to 'patchfont.c')
-rw-r--r--patchfont.c101
1 files changed, 48 insertions, 53 deletions
diff --git a/patchfont.c b/patchfont.c
index 320e036..4f2ad2a 100644
--- a/patchfont.c
+++ b/patchfont.c
@@ -29,70 +29,65 @@ void PatchFont(eDvbFont DvbFont)
font_data[i*num_rows+1] = char_data->height;
// new marker
- if(num_char==250&&mysetup.PatchNew)
+ if(num_char==128&&mysetup.PatchNew)
{
if(DvbFont==fontOsd)
{
- font_data[i*num_rows+ 0]=16;
+ font_data[i*num_rows+ 0]=22;
font_data[i*num_rows+ 1]=27;
- font_data[i*num_rows+ 2]=0; // ................
- font_data[i*num_rows+ 3]=0xc600; // ##...##.........
- font_data[i*num_rows+ 4]=0xe600; // ###..##.........
- font_data[i*num_rows+ 5]=0xf600; // ####.##.........
- font_data[i*num_rows+ 6]=0xf600; // ####.##.........
- font_data[i*num_rows+ 7]=0xde00; // ##.####.........
- font_data[i*num_rows+ 8]=0xde00; // ##.####.........
- font_data[i*num_rows+ 9]=0xce00; // ##..###.........
- font_data[i*num_rows+10]=0xc600; // ##...##.........
- font_data[i*num_rows+11]=0x0; // ................
- font_data[i*num_rows+12]=0x1fc0; // ...#######......
- font_data[i*num_rows+13]=0x1fc0; // ...#######......
- font_data[i*num_rows+14]=0x1800; // ...##...........
- font_data[i*num_rows+15]=0x1f00; // ...#####........
- font_data[i*num_rows+16]=0x1f00; // ...#####........
- font_data[i*num_rows+17]=0x1800; // ...##...........
- font_data[i*num_rows+18]=0x1fc0; // ...#######......
- font_data[i*num_rows+19]=0x1fc0; // ...#######......
- font_data[i*num_rows+20]=0x0; // ................
- font_data[i*num_rows+21]=0x318; // ......##...##...
- font_data[i*num_rows+22]=0x318; // ......##...##...
- font_data[i*num_rows+23]=0x318; // ......##...##...
- font_data[i*num_rows+24]=0x318; // ......##...##...
- font_data[i*num_rows+25]=0x318; // ......##...##...
- font_data[i*num_rows+26]=0x318; // ......##...##...
- font_data[i*num_rows+27]=0x3f8; // ......#######...
- font_data[i*num_rows+28]=0x1f0; // .......#####....
+ font_data[i*num_rows+ 5]=0x000000; // .. .... .... .... .... ....
+ font_data[i*num_rows+ 6]=0x000f00; // .. .... .... #### .... ....
+ font_data[i*num_rows+ 7]=0x007fe0; // .. .... .### #### ###. ....
+ font_data[i*num_rows+ 8]=0x00fff0; // .. .... #### #### #### ....
+ font_data[i*num_rows+ 9]=0x01f0f8; // .. ...# #### .... #### #...
+ font_data[i*num_rows+10]=0x01c03c; // .. ...# ##.. .... ..## ##..
+ font_data[i*num_rows+11]=0x03c01c; // .. ..## ##.. .... ...# ##..
+ font_data[i*num_rows+12]=0x03801c; // .. ..## #... .... ...# ##..
+ font_data[i*num_rows+13]=0x03800e; // .. ..## #... .... .... ###.
+ font_data[i*num_rows+14]=0x03800e; // .. ..## #... .... .... ###.
+ font_data[i*num_rows+15]=0x1ff00e; // .#.#### #### .... .... ###.
+ font_data[i*num_rows+16]=0x0fe00e; // .. #### ###. .... .... ###.
+ font_data[i*num_rows+17]=0x07c00e; // .. .### ##.. .... .... ###.
+ font_data[i*num_rows+18]=0x03800e; // .. ..## #... .... .... ###.
+ font_data[i*num_rows+19]=0x01001c; // .. ...# .... .... ...# ##..
+ font_data[i*num_rows+20]=0x00001c; // .. .... .... .... ...# ##..
+ font_data[i*num_rows+21]=0x00003c; // .. .... .... .... ..## ##..
+ font_data[i*num_rows+22]=0x0000f8; // .. .... .... .... #### #...
+ font_data[i*num_rows+23]=0x000ff0; // .. .... .... #### #### ....
+ font_data[i*num_rows+24]=0x001fe0; // .. .... ...# #### ###. ....
+ font_data[i*num_rows+25]=0x000f00; // .. .... .... #### .... ....
+ font_data[i*num_rows+26]=0x000000; // .. .... .... .... .... ....
}
else
{
- font_data[i*num_rows+ 0]=16;
+ font_data[i*num_rows+ 0]=22;
font_data[i*num_rows+ 1]=22;
- font_data[i*num_rows+ 2]=0x0; // ................
- font_data[i*num_rows+ 3]=0xc600; // ##...##.........
- font_data[i*num_rows+ 4]=0xe600; // ###..##.........
- font_data[i*num_rows+ 5]=0xf600; // ####.##.........
- font_data[i*num_rows+ 6]=0xde00; // ##.####.........
- font_data[i*num_rows+ 7]=0xce00; // ##..###.........
- font_data[i*num_rows+ 8]=0xc600; // ##...##.........
- font_data[i*num_rows+ 9]=0x0; // ................
- font_data[i*num_rows+10]=0x1fc0; // ...#######......
- font_data[i*num_rows+11]=0x1fc0; // ...#######......
- font_data[i*num_rows+12]=0x1800; // ...##...........
- font_data[i*num_rows+13]=0x1f00; // ...#####........
- font_data[i*num_rows+14]=0x1800; // ...##...........
- font_data[i*num_rows+15]=0x1fc0; // ...#######......
- font_data[i*num_rows+16]=0x1fc0; // ...#######......
- font_data[i*num_rows+17]=0x0; // ................
- font_data[i*num_rows+18]=0x318; // ......##...##...
- font_data[i*num_rows+19]=0x318; // ......##...##...
- font_data[i*num_rows+20]=0x318; // ......##...##...
- font_data[i*num_rows+21]=0x318; // ......##...##...
- font_data[i*num_rows+22]=0x3f8; // ......#######...
- font_data[i*num_rows+23]=0x1f0; // .......#####....
+ font_data[i*num_rows+ 2]=0x000000; // .. .... .... .... .... ....
+ font_data[i*num_rows+ 3]=0x000f00; // .. .... .... #### .... ....
+ font_data[i*num_rows+ 4]=0x007fe0; // .. .... .### #### ###. ....
+ font_data[i*num_rows+ 5]=0x00fff0; // .. .... #### #### #### ....
+ font_data[i*num_rows+ 6]=0x01f0f8; // .. ...# #### .... #### #...
+ font_data[i*num_rows+ 7]=0x01c03c; // .. ...# ##.. .... ..## ##..
+ font_data[i*num_rows+ 8]=0x03c01c; // .. ..## ##.. .... ...# ##..
+ font_data[i*num_rows+ 9]=0x03801c; // .. ..## #... .... ...# ##..
+ font_data[i*num_rows+10]=0x03800e; // .. ..## #... .... .... ###.
+ font_data[i*num_rows+11]=0x03800e; // .. ..## #... .... .... ###.
+ font_data[i*num_rows+12]=0x1ff00e; // .#.#### #### .... .... ###.
+ font_data[i*num_rows+13]=0x0fe00e; // .. #### ###. .... .... ###.
+ font_data[i*num_rows+14]=0x07c00e; // .. .### ##.. .... .... ###.
+ font_data[i*num_rows+15]=0x03800e; // .. ..## #... .... .... ###.
+ font_data[i*num_rows+16]=0x01001c; // .. ...# .... .... ...# ##..
+ font_data[i*num_rows+17]=0x00001c; // .. .... .... .... ...# ##..
+ font_data[i*num_rows+18]=0x00003c; // .. .... .... .... ..## ##..
+ font_data[i*num_rows+19]=0x0000f8; // .. .... .... .... #### #...
+ font_data[i*num_rows+20]=0x000ff0; // .. .... .... #### #### ....
+ font_data[i*num_rows+21]=0x001fe0; // .. .... ...# #### ###. ....
+ font_data[i*num_rows+22]=0x000f00; // .. .... .... #### .... ....
+ font_data[i*num_rows+23]=0x000000; // .. .... .... .... .... ....
}
}
// dvd marker
- else if(num_char==251&&mysetup.PatchDvd)
+ else if(num_char==129&&mysetup.PatchDvd)
{
if(DvbFont==fontOsd)
{