File: equalizer.h

package info (click to toggle)
vdr-plugin-xineliboutput 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,476 kB
  • sloc: ansic: 38,688; sh: 438; makefile: 351; cpp: 11
file content (40 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * equalizer.h: audio equalizer OSD control
 *
 * See the main source file 'xineliboutput.c' for copyright information and
 * how to reach the author.
 *
 * $Id$
 *
 */

#ifndef __EQUALIZER_H
#define __EQUALIZER_H

#include <vdr/config.h>
#include <vdr/osdbase.h>

class cXinelibDevice;

class cEqualizer : public cOsdObject 
{
  private:
    cXinelibDevice *m_Dev;

    int *m_Values;
    int m_Current;

    cOsd *m_Osd;

  public:
    cEqualizer(cXinelibDevice *Dev);
    virtual ~cEqualizer();

    virtual void Show();
    virtual eOSState ProcessKey(eKeys Key);

    void DrawBackground(void);
    void DrawBar(int Index, bool Selected = false);
};

#endif // __EQUALIZER_H_