summaryrefslogtreecommitdiff
path: root/equalizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'equalizer.h')
-rw-r--r--equalizer.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/equalizer.h b/equalizer.h
new file mode 100644
index 00000000..e2c7a9fa
--- /dev/null
+++ b/equalizer.h
@@ -0,0 +1,36 @@
+/*
+ * equalizer.h: audio equalizer OSD control
+ *
+ * See the main source file 'xineliboutput.c' for copyright information and
+ * how to reach the author.
+ *
+ * $Id: equalizer.h,v 1.1 2006-06-03 09:50:54 phintuka Exp $
+ *
+ */
+
+#ifndef __EQUALIZER_H
+#define __EQUALIZER_H
+
+#include <vdr/config.h>
+#include <vdr/osdbase.h>
+
+class cEqualizer : public cOsdObject
+{
+ private:
+ int *m_Values;
+ int m_Current;
+
+ cOsd *m_Osd;
+
+ public:
+ cEqualizer();
+ virtual ~cEqualizer();
+
+ virtual void Show();
+ virtual eOSState ProcessKey(eKeys Key);
+
+ void DrawBackground(void);
+ void DrawBar(int Index, bool Selected = false);
+};
+
+#endif // __EQUALIZER_H_