nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_iplug_view.h
Go to the documentation of this file.
1/* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2021 Joël Krähemann
3 *
4 * This file is part of GSequencer.
5 *
6 * GSequencer is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * GSequencer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __AGS_VST_IPLUG_VIEW_H__
21#define __AGS_VST_IPLUG_VIEW_H__
22
23#include <glib.h>
24
26
27#define AGS_VST_IPLUG_VIEW_IID (ags_vst_iplug_view_get_iid())
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33 typedef struct ViewRect AgsVstViewRect;
34 typedef struct IPlugView AgsVstIPlugView;
35 typedef struct IPlugFrame AgsVstIPlugFrame;
36 typedef struct IEventHandler AgsVstIEventHandler;
37 typedef struct ITimerHandler AgsVstITimerHandler;
38 typedef struct IRunLoop AgsVstIRunLoop;
39
45
47
50
52
55
56 AgsVstTResult ags_vst_iplug_view_on_wheel(AgsVstIPlugView *iplug_view, gfloat distance);
57
58 AgsVstTResult ags_vst_iplug_view_on_key_down(AgsVstIPlugView *iplug_view, gunichar2 key, gint16 key_code, gint16 modifiers);
59 AgsVstTResult ags_vst_iplug_view_on_key_up(AgsVstIPlugView *iplug_view, gunichar2 key, gint16 key_code, gint16 modifiers);
60
62
64
66
68
70
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif /*__AGS_VST_IPLUG_VIEW_H__*/
const gchar * AgsVstFIDString
Definition ags_vst_ftypes.h:82
gint32 AgsVstTResult
Definition ags_vst_ftypes.h:58
gint8 AgsVstTUID[16]
Definition ags_vst_funknown.h:79
AgsVstTResult ags_vst_iplug_view_on_wheel(AgsVstIPlugView *iplug_view, gfloat distance)
Definition ags_vst_iplug_view.cpp:120
const AgsVstFIDString ags_vst_kplatform_type_ui_view
Definition ags_vst_iplug_view.cpp:29
AgsVstTUID * ags_vst_iplug_view_get_iid()
Definition ags_vst_iplug_view.cpp:78
AgsVstTResult ags_vst_iplug_view_get_size(AgsVstIPlugView *iplug_view, AgsVstViewRect *current_size)
Definition ags_vst_iplug_view.cpp:166
const AgsVstFIDString ags_vst_kplatform_type_hwnd
Definition ags_vst_iplug_view.cpp:26
struct IPlugView AgsVstIPlugView
Definition ags_vst_iplug_view.h:34
struct IRunLoop AgsVstIRunLoop
Definition ags_vst_iplug_view.h:38
gint32 ags_vst_view_rect_get_width(AgsVstViewRect *view_rect)
Definition ags_vst_iplug_view.cpp:52
AgsVstTResult ags_vst_iplug_view_on_key_up(AgsVstIPlugView *iplug_view, gunichar2 key, gint16 key_code, gint16 modifiers)
Definition ags_vst_iplug_view.cpp:152
struct IEventHandler AgsVstIEventHandler
Definition ags_vst_iplug_view.h:36
struct IPlugFrame AgsVstIPlugFrame
Definition ags_vst_iplug_view.h:35
AgsVstTResult ags_vst_iplug_view_can_resize(AgsVstIPlugView *iplug_view)
Definition ags_vst_iplug_view.cpp:221
struct ITimerHandler AgsVstITimerHandler
Definition ags_vst_iplug_view.h:37
AgsVstTResult ags_vst_iplug_view_on_size(AgsVstIPlugView *iplug_view, AgsVstViewRect *new_size)
Definition ags_vst_iplug_view.cpp:180
const AgsVstFIDString ags_vst_kplatform_type_x11_embed_window_id
Definition ags_vst_iplug_view.cpp:30
AgsVstTResult ags_vst_iplug_view_check_size_constraint(AgsVstIPlugView *iplug_view, AgsVstViewRect *rect)
Definition ags_vst_iplug_view.cpp:235
AgsVstTResult ags_vst_iplug_view_attached(AgsVstIPlugView *iplug_view, void *parent, AgsVstFIDString type)
Definition ags_vst_iplug_view.cpp:93
AgsVstTResult ags_vst_iplug_view_on_key_down(AgsVstIPlugView *iplug_view, gunichar2 key, gint16 key_code, gint16 modifiers)
Definition ags_vst_iplug_view.cpp:136
AgsVstTResult ags_vst_iplug_view_removed(AgsVstIPlugView *iplug_view)
Definition ags_vst_iplug_view.cpp:106
gint32 ags_vst_view_rect_get_height(AgsVstViewRect *view_rect)
Definition ags_vst_iplug_view.cpp:65
AgsVstViewRect * ags_vst_view_rect_alloc()
Definition ags_vst_iplug_view.cpp:39
AgsVstTResult ags_vst_iplug_view_set_frame(AgsVstIPlugView *iplug_view, AgsVstIPlugFrame *frame)
Definition ags_vst_iplug_view.cpp:208
struct ViewRect AgsVstViewRect
Definition ags_vst_iplug_view.h:33
AgsVstTResult ags_vst_iplug_view_on_focus(AgsVstIPlugView *iplug_view, gboolean state)
Definition ags_vst_iplug_view.cpp:194
const AgsVstFIDString ags_vst_kplatform_type_hi_view
Definition ags_vst_iplug_view.cpp:27
const AgsVstFIDString ags_vst_kplatform_type_ns_view
Definition ags_vst_iplug_view.cpp:28