2 terminatorX - realtime audio scratching software
3 Copyright (C) 1999 Alexander König
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 Description: Header to tX_flash.c
25 #ifndef __GTK_TX_FLASH_H__
26 #define __GTK_TX_FLASH_H__
28 #include <gtk/gtkwidget.h>
34 #endif /* __cplusplus */
37 #define GTK_TX_FLASH(obj) GTK_CHECK_CAST (obj, gtk_tx_flash_get_type (), GtkTxFlash)
38 #define GTK_TX_FLASH_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_tx_flash_get_type (), GtkTxFlashClass)
39 #define GTK_IS_TX_FLASH(obj) GTK_CHECK_TYPE (obj, gtk_tx_flash_get_type ())
41 typedef struct _GtkTxFlash GtkTxFlash;
42 typedef struct _GtkTxFlashClass GtkTxFlashClass;
64 struct _GtkTxFlashClass
66 GtkWidgetClass parent_class;
69 GtkWidget* gtk_tx_flash_new ();
70 guint gtk_tx_flash_get_type (void);
71 static void gtk_tx_flash_prepare (GtkWidget *widget);
72 void gtk_tx_flash_set_level (GtkWidget *widget, f_prec new_value);
73 void gtk_tx_flash_clear (GtkWidget *widget);
77 #endif /* __cplusplus */