diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2007-10-08 20:36:03 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2007-10-08 20:36:03 +0200 |
commit | 57e0533f20b14e208e41e56f80fd15b3d18f90f1 (patch) | |
tree | 2e75d86377b4fbc29c9fd76fabd2a5e291a9f204 /patchfont.c | |
parent | 8adfaaf81b104b8e981026da593e40f9d780c251 (diff) | |
download | vdr-plugin-extrecmenu-57e0533f20b14e208e41e56f80fd15b3d18f90f1.tar.gz vdr-plugin-extrecmenu-57e0533f20b14e208e41e56f80fd15b3d18f90f1.tar.bz2 |
Version 1.0v1.0
- it is now possible to cancel a moving-between-filesystems-process
- applied changes for MainMenuHooksPatch
- added MainMenuHooksPatch to contrib/-dir; removed old one, which is now obsolete
- free disk space is shown for the filesystem of the current directory (can be switched of in plugin's setup menu)
- added support for hidding PIN-protected recordings in co-work with PIN-Plugin
- added queue for moving recordings between filesystems
- added cutter queue
- added #ifdef's to switch of font patching for vdr >= 1.5.3
- added setup option to switch of font patching
Diffstat (limited to 'patchfont.c')
-rw-r--r-- | patchfont.c | 84 |
1 files changed, 67 insertions, 17 deletions
diff --git a/patchfont.c b/patchfont.c index 72c023b..28b4237 100644 --- a/patchfont.c +++ b/patchfont.c @@ -6,6 +6,7 @@ #include "patchfont.h" #include "mymenusetup.h" +#if VDRVERSNUM < 10503 void PatchFont(eDvbFont DvbFont) { const cFont *font = cFont::GetFont(DvbFont); @@ -253,23 +254,23 @@ void PatchFont(eDvbFont DvbFont) { font_data[i*num_rows+ 0]=22; font_data[i*num_rows+ 1]=27; - font_data[i*num_rows+ 8]=0x000000; // .. .... .... .... .... .... - font_data[i*num_rows+ 9]=0x0001fe; // .. .... .... .... .... .... - font_data[i*num_rows+10]=0x0001fe; // .. .... .... .... .... .... - font_data[i*num_rows+11]=0x000186; // .. .... .... .... .... .... - font_data[i*num_rows+12]=0x000006; // .. .... .... .... .... .... - font_data[i*num_rows+13]=0x0ff7e6; // .. .... .... .... .... .... - font_data[i*num_rows+14]=0x0fe3c6; // .. .... .... .... .... .... - font_data[i*num_rows+15]=0x0c07c6; // .. .... .... .... .... .... - font_data[i*num_rows+16]=0x0c1f86; // .. .... .... .... .... .... - font_data[i*num_rows+17]=0x0c7906; // .. .... .... .... .... .... - font_data[i*num_rows+18]=0x0de07e; // .. .... .... .... .... .... - font_data[i*num_rows+19]=0x0d80fe; // .. .... .... .... .... .... - font_data[i*num_rows+20]=0x0c3000; // .. .... .... .... .... .... - font_data[i*num_rows+21]=0x0c3000; // .. .... .... .... .... .... - font_data[i*num_rows+22]=0x0ff000; // .. .... .... .... .... .... - font_data[i*num_rows+23]=0x0ff000; // .. .... .... .... .... .... - font_data[i*num_rows+24]=0x000000; // .. .... .... .... .... .... + font_data[i*num_rows+ 8]=0x0001fe; // .. .... .... ...# #### ###. + font_data[i*num_rows+ 9]=0x0001fe; // .. .... .... ...# #### ###. + font_data[i*num_rows+10]=0x000186; // .. .... .... ...# #... .##. + font_data[i*num_rows+11]=0x000186; // .. .... .... ...#.#... .##. + font_data[i*num_rows+12]=0x000006; // .. .... .... .... .... .##. + font_data[i*num_rows+13]=0x1fe7e6; // .# #### ###. .### ###. .##. + font_data[i*num_rows+14]=0x1fe3c6; // .# #### ###. ..## ##.. .##. + font_data[i*num_rows+15]=0x1847c6; // .# #... .#.. .### ##.. .##. + font_data[i*num_rows+16]=0x181f86; // .# #... ...# #### #... .##. + font_data[i*num_rows+17]=0x187906; // .# #... .### #..# .... .##. + font_data[i*num_rows+18]=0x19e07e; // .# #..# ###. .... .### ###. + font_data[i*num_rows+19]=0x1981fe; // .# #..# #... ...# #### ###. + font_data[i*num_rows+20]=0x182000; // .# #... ..#. .... .... .... + font_data[i*num_rows+21]=0x186000; // .# #... .##. .... .... .... + font_data[i*num_rows+22]=0x186000; // .# #... .##. .... .... .... + font_data[i*num_rows+23]=0x1fe000; // .# #### ###. .... .... .... + font_data[i*num_rows+24]=0x1fe000; // .# #### ###. .... .... .... } else { @@ -294,6 +295,53 @@ void PatchFont(eDvbFont DvbFont) font_data[i*num_rows+21]=0x1fe000; // .# #### ###. .... .... .... } } + else if(num_char==134) + { + if(DvbFont==fontOsd) + { + font_data[i*num_rows+ 0]=22; + font_data[i*num_rows+ 1]=27; + font_data[i*num_rows+ 8]=0x00fc00; // .. .... #### ##.. .... .... + font_data[i*num_rows+ 9]=0x00fe00; // .. .... #### ###. .... .... + font_data[i*num_rows+10]=0x00c300; // .. .... ##.. ..## .... .... + font_data[i*num_rows+11]=0x00fffe; // .. .... #### #### #### ###. + font_data[i*num_rows+12]=0x1ffffe; // .# #### #### #### #### ###. + font_data[i*num_rows+13]=0x1fc006; // .# #### ##.. .... .... .##. + font_data[i*num_rows+14]=0x186006; // .# #... .##. .... .... .##. + font_data[i*num_rows+15]=0x1fffc6; // .# #### #### #### ##.. .##. + font_data[i*num_rows+16]=0x1fffc6; // .# #### #### #### ##.. .##. + font_data[i*num_rows+17]=0x1800c6; // .# #... .... .... ##.. .##. + font_data[i*num_rows+18]=0x1800c6; // .# #... .... .... ##.. .##. + font_data[i*num_rows+19]=0x1800c6; // .# #... .... .... ##.. .##. + font_data[i*num_rows+20]=0x1800fe; // .# #... .... .... #### ###. + font_data[i*num_rows+21]=0x1800fe; // .# #... .... .... #### ###. + font_data[i*num_rows+22]=0x1800c0; // .# #... .... .... ##.. .... + font_data[i*num_rows+23]=0x1fffc0; // .# #### #### #### ##.. .... + font_data[i*num_rows+24]=0x1fffc0; // .# #### #### #### ##.. .... + } + else + { + font_data[i*num_rows+ 0]=22; + font_data[i*num_rows+ 1]=22; + font_data[i*num_rows+ 5]=0x00fc00; // .. .... #### ##.. .... .... + font_data[i*num_rows+ 6]=0x00fe00; // .. .... #### ###. .... .... + font_data[i*num_rows+ 7]=0x00c300; // .. .... ##.. ..## .... .... + font_data[i*num_rows+ 8]=0x00fffe; // .. .... #### #### #### ###. + font_data[i*num_rows+ 9]=0x1ffffe; // .# #### #### #### #### ###. + font_data[i*num_rows+10]=0x1fc006; // .# #### ##.. .... .... .##. + font_data[i*num_rows+11]=0x186006; // .# #... .##. .... .... .##. + font_data[i*num_rows+12]=0x1fffc6; // .# #### #### #### ##.. .##. + font_data[i*num_rows+13]=0x1fffc6; // .# #### #### #### ##.. .##. + font_data[i*num_rows+14]=0x1800c6; // .# #... .... .... ##.. .##. + font_data[i*num_rows+15]=0x1800c6; // .# #... .... .... ##.. .##. + font_data[i*num_rows+16]=0x1800c6; // .# #... .... .... ##.. .##. + font_data[i*num_rows+17]=0x1800fe; // .# #... .... .... #### ###. + font_data[i*num_rows+18]=0x1800fe; // .# #... .... .... #### ###. + font_data[i*num_rows+19]=0x1800c0; // .# #... .... .... ##.. .... + font_data[i*num_rows+20]=0x1fffc0; // .# #### #### #### ##.. .... + font_data[i*num_rows+21]=0x1fffc0; // .# #### #### #### ##.. .... + } + } else { for(j = 0; j<(int)char_data->height; j++) @@ -306,3 +354,5 @@ void PatchFont(eDvbFont DvbFont) } cFont::SetFont(DvbFont, font_data); } +#endif + |