diff options
Diffstat (limited to 'gst-mixer/src/track.h')
-rw-r--r-- | gst-mixer/src/track.h | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/gst-mixer/src/track.h b/gst-mixer/src/track.h deleted file mode 100644 index 883ccd9..0000000 --- a/gst-mixer/src/track.h +++ /dev/null @@ -1,112 +0,0 @@ -/* MATE Volume Control - * Copyright (C) 2003-2004 Ronald Bultje <[email protected]> - * - * track.h: layout of a single mixer track - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef __GVC_TRACK_H__ -#define __GVC_TRACK_H__ - -#include <glib.h> -#include <gtk/gtk.h> -#include <gst/gst.h> -#include <gst/interfaces/mixer.h> - -#include "button.h" - -G_BEGIN_DECLS - -typedef struct _MateVolumeControlTrack { - /* pointer to table in which we write */ - GtkTable *table; - gint pos; - - /* gstreamer object pointers */ - GstMixer *mixer; - GstMixerTrack *track; - - /* widgets associated with this track */ - GtkWidget *label, - *image, - *sliderbox, - *buttonbox, - *toggle, - *options, - *flagbuttonbox; - - MateVolumeControlButton *mute, *record; - - /* list of slider adjustments */ - GList *sliders; - - /* separator left/right (or top/bottom) of the actual widget */ - GtkWidget *left_separator, - *right_separator; - - /* whether we're currently "visible" */ - gboolean visible; - - /* signal IDs */ - guint id; -} MateVolumeControlTrack; - -MateVolumeControlTrack * - mate_volume_control_track_add_playback (GtkTable *table, - gint tab_pos, - GstMixer *mixer, - GstMixerTrack *track, - GtkWidget *l_sep, - GtkWidget *r_sep, - GtkWidget *fbox); -MateVolumeControlTrack * - mate_volume_control_track_add_recording(GtkTable *table, - gint tab_pos, - GstMixer *mixer, - GstMixerTrack *track, - GtkWidget *l_sep, - GtkWidget *r_sep, - GtkWidget *fbox); - -MateVolumeControlTrack * - mate_volume_control_track_add_switch (GtkTable *table, - gint tab_pos, - GstMixer *mixer, - GstMixerTrack *track, - GtkWidget *l_sep, - GtkWidget *r_sep, - GtkWidget *fbox); - -MateVolumeControlTrack * - mate_volume_control_track_add_option (GtkTable *table, - gint tab_pos, - GstMixer *mixer, - GstMixerTrack *track, - GtkWidget *l_sep, - GtkWidget *r_sep, - GtkWidget *fbox); - -void mate_volume_control_track_free (MateVolumeControlTrack *track); - -void mate_volume_control_track_show (MateVolumeControlTrack *track, - gboolean visible); - -void mate_volume_control_track_update (MateVolumeControlTrack *trkw); - -G_END_DECLS - -#endif /* __GVC_TRACK_H__ */ |