summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-22 12:33:45 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-22 12:33:45 +0200
commitc14d8d1da1842157568be1d7f84bcf2337762559 (patch)
tree5f25bde57e60066f78ba18ea58966371d424818f /menu.c
parente4732c091253615801bdce39db203da3b62b4285 (diff)
downloadvdr-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.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/menu.c b/menu.c
index 189c9279..6be8c452 100644
--- a/menu.c
+++ b/menu.c
@@ -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) {