gstreamer/editor/gsteditorpalette.h
Wim Taymans 712d5d0a48 Initial work for the new editor.
Original commit message from CVS:
Initial work for the new editor.
2000-10-01 21:46:33 +00:00

63 lines
2 KiB
C

/* Gnome-Streamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* 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., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_EDITOR_PALETTE_H__
#define __GST_EDITOR_PALETTE_H__
#include <gst/gst.h>
#include <glade/glade.h>
#include "gsteditor.h"
#define GST_TYPE_EDITOR_PALETTE \
(gst_editor_palette_get_type())
#define GST_EDITOR_PALETTE(obj) \
(GTK_CHECK_CAST((obj),GST_TYPE_EDITOR_PALETTE,GstEditorPalette))
#define GST_EDITOR_PALETTE_CLASS(klass) \
(GTK_CHECK_CLASS_CAST((klass),GST_TYPE_EDITOR_PALETTE,GstEditorPalette))
#define GST_IS_EDITOR_PALETTE(obj) \
(GTK_CHECK_TYPE((obj),GST_TYPE_EDITOR_PALETTE))
#define GST_IS_EDITOR_PALETTE_CLASS(obj) \
(GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_EDITOR_PALETTE))
typedef struct _GstEditorPalette GstEditorPalette;
typedef struct _GstEditorPaletteClass GstEditorPaletteClass;
struct _GstEditorPalette {
GtkObject object;
GladeXML *xml;
GtkWidget *table;
GtkTooltips *tooltips;
};
struct _GstEditorPaletteClass {
GtkObjectClass parent_class;
void (*element_selected) (GstEditorPalette *palette,
GstEditorElement *element);
void (*in_selection_mode) (GstEditorPalette *palette,
GstEditorElement *element);
};
GtkType gst_editor_palette_get_type();
GstEditorPalette *gst_editor_palette_new();
#endif /* __GST_EDITOR_PALETTE_H__ */