diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2007-02-04 23:31:11 +0100 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2007-02-04 23:31:11 +0100 |
commit | 8adfaaf81b104b8e981026da593e40f9d780c251 (patch) | |
tree | 0a72c71d85e1d5bbac8729cefa9e41ec9e58758b /patchfont.c | |
parent | 074a396ce9f5c5239dd790c6566e0f19dff45f59 (diff) | |
download | vdr-plugin-extrecmenu-8adfaaf81b104b8e981026da593e40f9d780c251.tar.gz vdr-plugin-extrecmenu-8adfaaf81b104b8e981026da593e40f9d780c251.tar.bz2 |
Version 0.13v0.13
- added two setup option to adjust the plugin behaviour to whose of VDR's recording menu (jumping to last replayed recording, call plugin after replay ends)
- only editing of cutting recordings is prevented now
- moving recordings between filesystems is now possible; includes:
* check for enough free disk space on target filesystem
* switch to limit bandwith (a.t.m. 2MBytes/sec)
* prevent editing of recordings that are moved
* marker for recordings, that are moved
- added marker for cutting and moving recording entries
- added marker to title bar for cutting and moving recordings
- recording info menu shows additional informations (name, path, channel, size, lifetime, priority)
- added setup option to select between plugin's and VDR's recording info menu
- dvd.vdr is ignored, as long as a 001.vdr is present
- fixed following issue (again): if there are more then one recording with the same name, only one of it is shown if all recording details are hidden
Diffstat (limited to 'patchfont.c')
-rw-r--r-- | patchfont.c | 98 |
1 files changed, 97 insertions, 1 deletions
diff --git a/patchfont.c b/patchfont.c index d85bcd2..72c023b 100644 --- a/patchfont.c +++ b/patchfont.c @@ -28,7 +28,7 @@ void PatchFont(eDvbFont DvbFont) font_data[i*num_rows+0] = (num_char>=127 && num_char<=129)?6:char_data->width; font_data[i*num_rows+1] = char_data->height; - // new marker + // alternative new marker if(num_char==128&&mysetup.PatchNew) { if(DvbFont==fontOsd) @@ -198,6 +198,102 @@ void PatchFont(eDvbFont DvbFont) font_data[i*num_rows+ 1]=22; } } + // scissor + else if(num_char==132) + { + if(DvbFont==fontOsd) + { + font_data[i*num_rows+ 0]=22; + font_data[i*num_rows+ 1]=27; + font_data[i*num_rows+ 8]=0x018060; // .. ...# #... .... .##. .... + font_data[i*num_rows+ 9]=0x018060; // .. ...# #... .... .##. .... + font_data[i*num_rows+10]=0x00c0c0; // .. .... ##.. .... ##.. .... + font_data[i*num_rows+11]=0x00c0c0; // .. .... ##.. .... ##.. .... + font_data[i*num_rows+12]=0x006180; // .. .... .##. ...# #... .... + font_data[i*num_rows+13]=0x006180; // .. .... .##. ...# #... .... + font_data[i*num_rows+14]=0x003300; // .. .... ..## ..## .... .... + font_data[i*num_rows+15]=0x003300; // .. .... ..## ..## .... .... + font_data[i*num_rows+16]=0x001e00; // .. .... ...# ###. .... .... + font_data[i*num_rows+17]=0x001e00; // .. .... ...# ###. .... .... + font_data[i*num_rows+18]=0x003300; // .. .... ..## ..## #... .... + font_data[i*num_rows+19]=0x01f3e0; // .. ...# #### ..## ###. .... + font_data[i*num_rows+20]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+21]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+22]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+23]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+24]=0x01f3e0; // .. ...# #### ..## ###. .... + } + else + { + font_data[i*num_rows+ 0]=22; + font_data[i*num_rows+ 1]=22; + font_data[i*num_rows+ 5]=0x018060; // .. ...# #... .... .##. .... + font_data[i*num_rows+ 6]=0x018060; // .. ...# #... .... .##. .... + font_data[i*num_rows+ 7]=0x00c0c0; // .. .... ##.. .... ##.. .... + font_data[i*num_rows+ 8]=0x00c0c0; // .. .... ##.. .... ##.. .... + font_data[i*num_rows+ 9]=0x006180; // .. .... .##. ...# #... .... + font_data[i*num_rows+10]=0x006180; // .. .... .##. ...# #... .... + font_data[i*num_rows+11]=0x003300; // .. .... ..## ..## .... .... + font_data[i*num_rows+12]=0x003300; // .. .... ..## ..## .... .... + font_data[i*num_rows+13]=0x001e00; // .. .... ...# ###. .... .... + font_data[i*num_rows+14]=0x001e00; // .. .... ...# ###. .... .... + font_data[i*num_rows+15]=0x003300; // .. .... ..## ..## #... .... + font_data[i*num_rows+16]=0x01f3e0; // .. ...# #### ..## ###. .... + font_data[i*num_rows+17]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+18]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+19]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+20]=0x033330; // .. ..## ..## ..## ..## .... + font_data[i*num_rows+21]=0x01f3e0; // .. ...# #### ..## ###. .... + } + } + // move symbol + else if(num_char==133) + { + if(DvbFont==fontOsd) + { + 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; // .. .... .... .... .... .... + } + else + { + font_data[i*num_rows+ 0]=22; + font_data[i*num_rows+ 1]=22; + font_data[i*num_rows+ 5]=0x0001fe; // .. .... .... ...# #### ###. + font_data[i*num_rows+ 6]=0x0001fe; // .. .... .... ...# #### ###. + font_data[i*num_rows+ 7]=0x000186; // .. .... .... ...# #... .##. + font_data[i*num_rows+ 8]=0x000186; // .. .... .... ...#.#... .##. + font_data[i*num_rows+ 9]=0x000006; // .. .... .... .... .... .##. + font_data[i*num_rows+10]=0x1fe7e6; // .# #### ###. .### ###. .##. + font_data[i*num_rows+11]=0x1fe3c6; // .# #### ###. ..## ##.. .##. + font_data[i*num_rows+12]=0x1847c6; // .# #... .#.. .### ##.. .##. + font_data[i*num_rows+13]=0x181f86; // .# #... ...# #### #... .##. + font_data[i*num_rows+14]=0x187906; // .# #... .### #..# .... .##. + font_data[i*num_rows+15]=0x19e07e; // .# #..# ###. .... .### ###. + font_data[i*num_rows+16]=0x1981fe; // .# #..# #... ...# #### ###. + font_data[i*num_rows+17]=0x182000; // .# #... ..#. .... .... .... + font_data[i*num_rows+18]=0x186000; // .# #... .##. .... .... .... + font_data[i*num_rows+19]=0x186000; // .# #... .##. .... .... .... + font_data[i*num_rows+20]=0x1fe000; // .# #### ###. .... .... .... + font_data[i*num_rows+21]=0x1fe000; // .# #### ###. .... .... .... + } + } else { for(j = 0; j<(int)char_data->height; j++) |