diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-07-22 12:33:45 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-07-22 12:33:45 +0200 |
commit | c14d8d1da1842157568be1d7f84bcf2337762559 (patch) | |
tree | 5f25bde57e60066f78ba18ea58966371d424818f /menu.c | |
parent | e4732c091253615801bdce39db203da3b62b4285 (diff) | |
download | vdr-c14d8d1da1842157568be1d7f84bcf2337762559.tar.gz vdr-c14d8d1da1842157568be1d7f84bcf2337762559.tar.bz2 |
Larger OSD with 2bpp windows; Channel display at bottom
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.77 2001/07/12 14:56:18 kls Exp $ + * $Id: menu.c 1.78 2001/07/22 12:27:51 kls Exp $ */ #include "menu.h" @@ -585,7 +585,7 @@ cMenuChannelItem::cMenuChannelItem(int Index, cChannel *Channel) index = Index; channel = Channel; if (channel->groupSep) - SetColor(clrWhite, clrBlue); + SetColor(clrWhite, clrCyan); Set(); } @@ -1802,7 +1802,7 @@ cDisplayChannel::cDisplayChannel(int Number, bool Switched, bool Group) lines = 0; oldNumber = number = 0; cChannel *channel = Group ? Channels.Get(Number) : Channels.GetByNumber(Number); - Interface->Open(MenuColumns, 5); + Interface->Open(MenuColumns, -5); if (channel) { DisplayChannel(channel); DisplayInfo(); @@ -1816,7 +1816,7 @@ cDisplayChannel::cDisplayChannel(eKeys FirstKey) oldNumber = cDvbApi::CurrentChannel(); number = 0; lastTime = time_ms(); - Interface->Open(MenuColumns, 5); + Interface->Open(MenuColumns, -5); ProcessKey(FirstKey); } @@ -1843,7 +1843,6 @@ void cDisplayChannel::DisplayChannel(const cChannel *Channel) struct tm *now = localtime(&t); snprintf(buffer, BufSize, "%02d:%02d", now->tm_hour, now->tm_min); Interface->Write(-5, 0, buffer); - Interface->Flush(); } void cDisplayChannel::DisplayInfo(void) @@ -2100,7 +2099,7 @@ public: }; cProgressBar::cProgressBar(int Width, int Height, int Current, int Total, const cMarks &Marks) -:cBitmap(Width, Height) +:cBitmap(Width, Height, 2) { total = Total; if (total > 0) { |