File: ir_modeind.h

package info (click to toggle)
ir.lv2 1.3.3~dfsg0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 356 kB
  • ctags: 440
  • sloc: cpp: 3,112; ansic: 188; makefile: 90
file content (51 lines) | stat: -rw-r--r-- 1,602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
    Copyright (C) 2011 Tom Szilagyi

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program 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 General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#ifndef _IR_MODEIND_H
#define _IR_MODEIND_H

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define IR_MODEIND_TYPE		(ir_modeind_get_type())
#define IR_MODEIND(obj)		(G_TYPE_CHECK_INSTANCE_CAST((obj), IR_MODEIND_TYPE, IRModeInd))
#define IR_MODEIND_CLASS(obj)	(G_TYPE_CHECK_CLASS_CAST((obj), IR_MODEIND, IRModeIndClass))
#define IR_MODEIND_GET_CLASS	(G_TYPE_INSTANCE_GET_CLASS ((obj), IR_MODEIND_TYPE, IRWavedisplayClass))

typedef struct _IRModeInd	IRModeInd;
typedef struct _IRModeIndClass	IRModeIndClass;

struct _IRModeInd {
	GtkDrawingArea parent;
	/* < private > */
};

struct _IRModeIndClass {
	GtkDrawingAreaClass parent_class;
};

GType ir_modeind_get_type();

GtkWidget * ir_modeind_new(void);
void ir_modeind_redraw(IRModeInd * w);
void ir_modeind_set_channels(IRModeInd * w, int channels);

G_END_DECLS

#endif /* _IR_MODEIND_H */