1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Added encryption icon.

This commit is contained in:
Rolf Ahrenberg 2008-11-09 14:35:12 +02:00
parent 8bf429b381
commit 99244a136e
4 changed files with 30 additions and 0 deletions

View File

@ -252,6 +252,10 @@ void cFemonOsd::DrawStatusWindow(void)
}
OSDDRAWSTATUSBM(OSDSPACING);
}
if (channel->Ca() > 0xFF) {
bm = &bmSymbol[SYMBOL_ENCRYPTED];
OSDDRAWSTATUSBM(OSDSPACING);
}
offset += OSDROWHEIGHT;
OSDDRAWSTATUSBAR(signal);
offset += OSDROWHEIGHT;

View File

@ -17,6 +17,7 @@
#include "symbols/h264.xpm"
#include "symbols/ntsc.xpm"
#include "symbols/pal.xpm"
#include "symbols/encrypted.xpm"
#include "symbols/svdrp.xpm"
#include "symbols/lock.xpm"
#include "symbols/signal.xpm"
@ -49,6 +50,7 @@ cBitmap bmSymbol[SYMBOL_MAX_COUNT] =
cBitmap(h264_xpm), // SYMBOL_H264
cBitmap(pal_xpm), // SYMBOL_PAL
cBitmap(ntsc_xpm), // SYMBOL_NTSC
cBitmap(encrypted_xpm), // SYMBOL_ENCRYPTED
cBitmap(svdrp_xpm), // SYMBOL_SVDRP
cBitmap(lock_xpm), // SYMBOL_LOCK
cBitmap(signal_xpm), // SYMBOL_SIGNAL

View File

@ -21,6 +21,7 @@ enum eSymbols {
SYMBOL_H264,
SYMBOL_PAL,
SYMBOL_NTSC,
SYMBOL_ENCRYPTED,
SYMBOL_SVDRP,
SYMBOL_LOCK,
SYMBOL_SIGNAL,

23
symbols/encrypted.xpm Normal file
View File

@ -0,0 +1,23 @@
/* XPM */
static const char *const encrypted_xpm[] = {
"23 18 2 1",
". c #FFFFFF",
"+ c #000000",
"+++++++++++++++++++++++",
"+.....................+",
"+.....................+",
"+.....................+",
"+..............+++....+",
"+.............+++++...+",
"+............+++.+++..+",
"+............++...++..+",
"+..++++++++++++...++..+",
"+..++++++++++++...++..+",
"+...++.++....++...++..+",
"+...++.++....+++.+++..+",
"+...++.++.....+++++...+",
"+..............+++....+",
"+.....................+",
"+.....................+",
"+.....................+",
"+++++++++++++++++++++++"};