summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-27 21:22:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-27 21:22:53 +0100
commit91e01516746d43ddcfecf24d7382e590af97c1ef (patch)
treeb621878292e6f064ad9be7d3e2d2eab598b86a9d /menu.h
parent4aa496b079925877c5cdf171597f4edc7df0a9b1 (diff)
downloadvdr-91e01516746d43ddcfecf24d7382e590af97c1ef.tar.gz
vdr-91e01516746d43ddcfecf24d7382e590af97c1ef.tar.bz2
The keys '1' and '3' can now be used in replay mode to position an editing mark in "binary" mode
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/menu.h b/menu.h
index 87670c72..f602b966 100644
--- a/menu.h
+++ b/menu.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.h 3.6 2015/01/15 11:12:57 kls Exp $
+ * $Id: menu.h 3.7 2015/01/27 11:38:20 kls Exp $
*/
#ifndef __MENU_H
@@ -270,9 +270,23 @@ public:
static bool StateChanged(int &State);
};
+class cBinarySkipper {
+private:
+ int *initialValue;
+ int currentValue;
+ double framesPerSecond;
+ eKeys lastKey;
+ cTimeMs timeout;
+public:
+ cBinarySkipper(void);
+ void Initialize(int *InitialValue, double FramesPerSecond);
+ int GetValue(eKeys Key);
+ };
+
class cReplayControl : public cDvbPlayerControl {
private:
cSkinDisplayReplay *displayReplay;
+ cBinarySkipper binarySkipper;
cMarks marks;
bool marksModified;
bool visible, modeOnly, shown, displayFrames;
@@ -292,7 +306,7 @@ private:
bool ShowProgress(bool Initial);
void MarkToggle(void);
void MarkJump(bool Forward);
- void MarkMove(bool Forward);
+ void MarkMove(int Frames, bool MarkRequired);
void EditCut(void);
void EditTest(void);
public: