diff --git a/femonosd.c b/femonosd.c index a9805c3..4aef690 100644 --- a/femonosd.c +++ b/femonosd.c @@ -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; diff --git a/femonsymbol.c b/femonsymbol.c index bdc7e79..7844ca8 100644 --- a/femonsymbol.c +++ b/femonsymbol.c @@ -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 diff --git a/femonsymbol.h b/femonsymbol.h index 68f5475..615dab1 100644 --- a/femonsymbol.h +++ b/femonsymbol.h @@ -21,6 +21,7 @@ enum eSymbols { SYMBOL_H264, SYMBOL_PAL, SYMBOL_NTSC, + SYMBOL_ENCRYPTED, SYMBOL_SVDRP, SYMBOL_LOCK, SYMBOL_SIGNAL, diff --git a/symbols/encrypted.xpm b/symbols/encrypted.xpm new file mode 100644 index 0000000..020f185 --- /dev/null +++ b/symbols/encrypted.xpm @@ -0,0 +1,23 @@ +/* XPM */ +static const char *const encrypted_xpm[] = { +"23 18 2 1", +". c #FFFFFF", +"+ c #000000", +"+++++++++++++++++++++++", +"+.....................+", +"+.....................+", +"+.....................+", +"+..............+++....+", +"+.............+++++...+", +"+............+++.+++..+", +"+............++...++..+", +"+..++++++++++++...++..+", +"+..++++++++++++...++..+", +"+...++.++....++...++..+", +"+...++.++....+++.+++..+", +"+...++.++.....+++++...+", +"+..............+++....+", +"+.....................+", +"+.....................+", +"+.....................+", +"+++++++++++++++++++++++"};