summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-12-09 11:13:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-12-09 11:13:00 +0100
commit4cd7c3242513bc23579a376dbd89c4fbdc080614 (patch)
tree0314d4075370e00d7fda2e8175453980b9cdb205 /dvbapi.h
parent6b0658a9775aba758b4f6e2e7ef854126ef1e597 (diff)
downloadvdr-4cd7c3242513bc23579a376dbd89c4fbdc080614.tar.gz
vdr-4cd7c3242513bc23579a376dbd89c4fbdc080614.tar.bz2
Moved progress display to menu.c
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/dvbapi.h b/dvbapi.h
index b9f045de..85828410 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.27 2000/12/03 13:44:28 kls Exp $
+ * $Id: dvbapi.h 1.28 2000/12/09 10:54:09 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -42,6 +42,8 @@ public:
bool Save(int Index);
};
+const char *IndexToStr(int Index, bool WithFrame = false);
+ // Converts the given index to a string, optionally containing the frame number.
class cRecordBuffer;
class cReplayBuffer;
class cTransferBuffer;
@@ -131,22 +133,16 @@ public:
void Close(void);
void Clear(void);
void Fill(int x, int y, int w, int h, eDvbColor color = clrBackground);
+ void SetBitmap(int x, int y, const cBitmap &Bitmap);
void ClrEol(int x, int y, eDvbColor color = clrBackground);
int CellWidth(void);
+ int LineHeight(void);
int Width(unsigned char c);
int WidthInCells(const char *s);
eDvbFont SetFont(eDvbFont Font);
void Text(int x, int y, const char *s, eDvbColor colorFg = clrWhite, eDvbColor colorBg = clrBackground);
void Flush(void);
- // Progress Display facilities
-
-private:
- int lastProgress, lastTotal;
- char *replayTitle;
-public:
- bool ShowProgress(bool Initial = false);
-
// Channel facilities
private:
@@ -201,11 +197,10 @@ public:
// returned.
void StopRecord(void);
// Stops the current recording session (if any).
- bool StartReplay(const char *FileName, const char *Title = NULL);
+ bool StartReplay(const char *FileName);
// Starts replaying the given file.
// If there is already a replay session active, it will be stopped
// and the new file will be played back.
- // If provided Title will be used in the progress display.
void StopReplay(void);
// Stops the current replay session (if any).
void Pause(void);