Logo Search packages:      
Sourcecode: vdr-plugin-xineliboutput version File versions  Download package

equalizer.h

/*
 * 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_

Generated by  Doxygen 1.6.0   Back to index