~ubuntu-branches/ubuntu/dapper/terminatorx/dapper

« back to all changes in this revision

Viewing changes to src/tX_knobloader.h

  • Committer: Bazaar Package Importer
  • Author(s): Mike Furr
  • Date: 2004-04-26 21:20:09 UTC
  • Revision ID: james.westby@ubuntu.com-20040426212009-acjw8flkt05j945f
Tags: upstream-3.81
Import upstream version 3.81

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    terminatorX - realtime audio scratching software
 
3
    Copyright (C) 1999-2003  Alexander K�nig
 
4
 
 
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.
 
9
 
 
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.
 
14
 
 
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.
 
18
 
 
19
    File: tX_knobloader.h
 
20
 
 
21
    Description: Header to tX_knobloader.c
 
22
*/
 
23
    
 
24
#ifndef _tX_knobloader_
 
25
#define _tX_knobloader_ 1
 
26
 
 
27
#include <gtk/gtk.h>
 
28
 
 
29
#ifdef HAVE_CONFIG_H
 
30
#include <config.h>
 
31
#endif
 
32
 
 
33
#ifdef USE_DIAL
 
34
 
 
35
#ifdef __cplusplus
 
36
extern "C" {
 
37
#endif /* __cplusplus */
 
38
 
 
39
 
 
40
#define MAX_KNOB_PIX 50
 
41
#define TX_MAX_KNOB_PIX 49
 
42
 
 
43
#ifdef USE_BIG_BUTTONS
 
44
#define KNOB_SIZE 51
 
45
#else
 
46
#define KNOB_SIZE 31
 
47
#endif
 
48
 
 
49
extern GdkPixbuf *knob_pixmaps[MAX_KNOB_PIX];
 
50
extern GdkBitmap *knob_mask;
 
51
        
 
52
extern void load_knob_pixs();
 
53
 
 
54
#ifdef __cplusplus
 
55
}
 
56
#endif /* __cplusplus */
 
57
 
 
58
#endif
 
59
 
 
60
#endif