+
+/* Extended panel */
+class ExtraPanel: public wxPanel
+{
+public:
+ /* Constructor */
+ ExtraPanel( intf_thread_t *p_intf, wxWindow *p_parent );
+ virtual ~ExtraPanel();
+
+ wxStaticBox *adjust_box;
+ wxButton *restoredefaults_button;
+ wxSlider *brightness_slider;
+ wxSlider *contrast_slider;
+ wxSlider *saturation_slider;
+ wxSlider *hue_slider;
+ wxSlider *gamma_slider;
+
+ wxStaticBox *other_box;
+ wxComboBox *ratio_combo;
+
+ char *psz_bands;
+ float f_preamp;
+ vlc_bool_t b_update;
+
+private:
+
+ wxPanel *VideoPanel( wxWindow * );
+ wxPanel *EqzPanel( wxWindow * );
+ wxPanel *AudioPanel( wxWindow * );
+
+ wxNotebook *notebook;
+
+ wxCheckBox *eq_chkbox;
+
+ wxCheckBox *eq_2p_chkbox;
+
+ wxButton *eq_restoredefaults_button;
+
+ wxSlider *smooth_slider;
+ wxStaticText *smooth_text;
+
+ wxSlider *preamp_slider;
+ wxStaticText * preamp_text;
+
+ int i_smooth;
+ wxWindow *p_parent;
+
+ wxSlider *band_sliders[10];
+ wxStaticText *band_texts[10];
+
+ int i_values[10];
+
+ void CheckAout();
+
+ /* Event handlers (these functions should _not_ be virtual) */
+
+ void OnEnableAdjust( wxCommandEvent& );
+ void OnEnableEqualizer( wxCommandEvent& );
+ void OnRestoreDefaults( wxCommandEvent& );
+ void OnChangeEqualizer( wxScrollEvent& );
+ void OnAdjustUpdate( wxScrollEvent& );
+ void OnRatio( wxCommandEvent& );
+ void OnFiltersInfo( wxCommandEvent& );
+ void OnSelectFilter( wxCommandEvent& );
+
+ void OnEqSmooth( wxScrollEvent& );
+ void OnPreamp( wxScrollEvent& );
+ void OnEq2Pass( wxCommandEvent& );
+ void OnEqRestore( wxCommandEvent& );
+
+ void OnHeadphone( wxCommandEvent& );
+ void OnNormvol( wxCommandEvent& );
+ void OnNormvolSlider( wxScrollEvent& );
+
+ void OnIdle( wxIdleEvent& );
+
+ DECLARE_EVENT_TABLE();
+
+ intf_thread_t *p_intf;
+ vlc_bool_t b_my_update;
+};
+
+#if 0
+/* Extended Window */
+class ExtraWindow: public wxFrame
+{
+public:
+ /* Constructor */
+ ExtraWindow( intf_thread_t *p_intf, wxWindow *p_parent, wxPanel *panel );
+ virtual ~ExtraWindow();
+
+private:
+
+ wxPanel *panel;
+
+ DECLARE_EVENT_TABLE();
+
+ intf_thread_t *p_intf;
+};
+#endif
+
+/* Systray integration */
+#ifdef wxHAS_TASK_BAR_ICON
+class Systray: public wxTaskBarIcon
+{
+public:
+ Systray( Interface* p_main_interface, intf_thread_t *p_intf );
+ virtual ~Systray() {};
+ wxMenu* CreatePopupMenu();
+ void UpdateTooltip( const wxChar* tooltip );
+
+private:
+ void OnMenuIconize( wxCommandEvent& event );
+ void OnLeftClick( wxTaskBarIconEvent& event );
+ void OnPlayStream ( wxCommandEvent& event );
+ void OnStopStream ( wxCommandEvent& event );
+ void OnPrevStream ( wxCommandEvent& event );
+ void OnNextStream ( wxCommandEvent& event );
+ void OnExit( wxCommandEvent& event );
+ Interface* p_main_interface;
+ intf_thread_t *p_intf;
+ DECLARE_EVENT_TABLE()
+};
+#endif
+