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

menu.h

/*
 * menu.h: Main Menu
 *
 * See the main source file 'xineliboutput.c' for copyright information and
 * how to reach the author.
 *
 * $Id: menu.h,v 1.6 2007/01/04 08:42:47 phintuka Exp $
 *
 */

#ifndef __XINELIB_MENU_H
#define __XINELIB_MENU_H

#include <vdr/menuitems.h>

class cMenuXinelib : public cMenuSetupPage 
{
  private:
    int field_order;
    int compression;
    int headphone;
    int autocrop;
    int overscan;
    int novideo;

    // Hotkeys
    enum {hkInit, hkSeen, hkNone} hotkey_state;
    static time_t g_LastHotkeyTime;
    static eKeys  g_LastHotkey;
    virtual eOSState ProcessHotkey(eKeys Key);

#ifdef HAVE_XV_FIELD_ORDER
    cOsdItem *video_ctrl_interlace_order;
#endif
    cOsdItem *audio_ctrl_compress;

    cOsdItem *ctrl_autocrop;
    cOsdItem *ctrl_overscan;
    cOsdItem *ctrl_headphone;
    cOsdItem *ctrl_novideo;
 
  protected:
    virtual void Store(void);

  public:
    cMenuXinelib(void);
    virtual ~cMenuXinelib();
    virtual eOSState ProcessKey(eKeys Key);

    static cOsdMenu *CreateMenuBrowseFiles(eMainMenuMode mode, bool Queue=true);
};

#endif //__XINELIB_SETUP_MENU_H

Generated by  Doxygen 1.6.0   Back to index