mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Modified the display of the channel group separators
This commit is contained in:
parent
2a773da9f1
commit
1962940c39
5
HISTORY
5
HISTORY
@ -609,3 +609,8 @@ Video Disk Recorder Revision History
|
|||||||
- Increased timeout until reporting "video data stream broken" when recording.
|
- Increased timeout until reporting "video data stream broken" when recording.
|
||||||
- Explicitly switching back to the previously active channel after ending a
|
- Explicitly switching back to the previously active channel after ending a
|
||||||
replay session (to have it shown correctly in case it was in 'Transfer Mode').
|
replay session (to have it shown correctly in case it was in 'Transfer Mode').
|
||||||
|
|
||||||
|
2001-07-31: Version 0.86
|
||||||
|
|
||||||
|
- Modified the display of the channel group separators (thanks to Markus Lang
|
||||||
|
for this suggestion).
|
||||||
|
6
menu.c
6
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.88 2001/07/28 16:17:28 kls Exp $
|
* $Id: menu.c 1.89 2001/07/31 15:28:10 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -590,7 +590,7 @@ cMenuChannelItem::cMenuChannelItem(int Index, cChannel *Channel)
|
|||||||
index = Index;
|
index = Index;
|
||||||
channel = Channel;
|
channel = Channel;
|
||||||
if (channel->groupSep)
|
if (channel->groupSep)
|
||||||
SetColor(clrWhite, clrCyan);
|
SetColor(clrCyan, clrBackground);
|
||||||
Set();
|
Set();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ void cMenuChannelItem::Set(void)
|
|||||||
if (!channel->groupSep)
|
if (!channel->groupSep)
|
||||||
asprintf(&buffer, "%d\t%s", channel->number, channel->name );
|
asprintf(&buffer, "%d\t%s", channel->number, channel->name );
|
||||||
else
|
else
|
||||||
asprintf(&buffer, "\t%s", channel->name);
|
asprintf(&buffer, "---\t%s ----------------------------------------------------------------", channel->name);
|
||||||
SetText(buffer, false);
|
SetText(buffer, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user