nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_iplug_view.cpp File Reference
#include <ags/vst3-capi/pluginterfaces/gui/ags_vst_iplug_view.h>
#include <pluginterfaces/gui/iplugview.h>
Include dependency graph for ags_vst_iplug_view.cpp:

Functions

AgsVstViewRectags_vst_view_rect_alloc ()
 
gint32 ags_vst_view_rect_get_width (AgsVstViewRect *view_rect)
 
gint32 ags_vst_view_rect_get_height (AgsVstViewRect *view_rect)
 
AgsVstTUIDags_vst_iplug_view_get_iid ()
 
AgsVstTResult ags_vst_iplug_view_attached (AgsVstIPlugView *iplug_view, void *parent, AgsVstFIDString type)
 
AgsVstTResult ags_vst_iplug_view_removed (AgsVstIPlugView *iplug_view)
 
AgsVstTResult ags_vst_iplug_view_on_wheel (AgsVstIPlugView *iplug_view, gfloat distance)
 
AgsVstTResult ags_vst_iplug_view_on_key_down (AgsVstIPlugView *iplug_view, gunichar2 key, gint16 key_code, gint16 modifiers)
 
AgsVstTResult ags_vst_iplug_view_on_key_up (AgsVstIPlugView *iplug_view, gunichar2 key, gint16 key_code, gint16 modifiers)
 
AgsVstTResult ags_vst_iplug_view_get_size (AgsVstIPlugView *iplug_view, AgsVstViewRect *current_size)
 
AgsVstTResult ags_vst_iplug_view_on_size (AgsVstIPlugView *iplug_view, AgsVstViewRect *new_size)
 
AgsVstTResult ags_vst_iplug_view_on_focus (AgsVstIPlugView *iplug_view, gboolean state)
 
AgsVstTResult ags_vst_iplug_view_set_frame (AgsVstIPlugView *iplug_view, AgsVstIPlugFrame *frame)
 
AgsVstTResult ags_vst_iplug_view_can_resize (AgsVstIPlugView *iplug_view)
 
AgsVstTResult ags_vst_iplug_view_check_size_constraint (AgsVstIPlugView *iplug_view, AgsVstViewRect *rect)
 

Variables

const AgsVstFIDString ags_vst_kplatform_type_hwnd = "HWND"
 
const AgsVstFIDString ags_vst_kplatform_type_hi_view = "HIView"
 
const AgsVstFIDString ags_vst_kplatform_type_ns_view = "NSView"
 
const AgsVstFIDString ags_vst_kplatform_type_ui_view = "UIView"
 
const AgsVstFIDString ags_vst_kplatform_type_x11_embed_window_id = "X11EmbedWindowID"
 

Function Documentation

◆ ags_vst_iplug_view_attached()

AgsVstTResult ags_vst_iplug_view_attached ( AgsVstIPlugView iplug_view,
void *  parent,
AgsVstFIDString  type 
)

Attached.

Parameters
iplug_viewthe plug view
parentthe parent @type the type
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_can_resize()

AgsVstTResult ags_vst_iplug_view_can_resize ( AgsVstIPlugView iplug_view)

Can resize.

Parameters
iplug_viewthe plug view
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_check_size_constraint()

AgsVstTResult ags_vst_iplug_view_check_size_constraint ( AgsVstIPlugView iplug_view,
AgsVstViewRect rect 
)

Check size constraint.

Parameters
iplug_viewthe plug view
rectthe rect
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_get_iid()

AgsVstTUID * ags_vst_iplug_view_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstTUID
Since
5.0.0

◆ ags_vst_iplug_view_get_size()

AgsVstTResult ags_vst_iplug_view_get_size ( AgsVstIPlugView iplug_view,
AgsVstViewRect current_size 
)

Get size.

Parameters
iplug_viewthe plug view
current_sizethe current size
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_on_focus()

AgsVstTResult ags_vst_iplug_view_on_focus ( AgsVstIPlugView iplug_view,
gboolean  state 
)

On-focus.

Parameters
iplug_viewthe plug view
statethe state
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_on_key_down()

AgsVstTResult ags_vst_iplug_view_on_key_down ( AgsVstIPlugView iplug_view,
gunichar2  key,
gint16  key_code,
gint16  modifiers 
)

On-key-down.

Parameters
iplug_viewthe plug view
keythe key
key_codethe key code
modifiersthe modifiers
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_on_key_up()

AgsVstTResult ags_vst_iplug_view_on_key_up ( AgsVstIPlugView iplug_view,
gunichar2  key,
gint16  key_code,
gint16  modifiers 
)

On-key-up.

Parameters
iplug_viewthe plug view
keythe key
key_codethe key code
modifiersthe modifiers
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_on_size()

AgsVstTResult ags_vst_iplug_view_on_size ( AgsVstIPlugView iplug_view,
AgsVstViewRect new_size 
)

On-size.

Parameters
iplug_viewthe plug view
new_sizethe new size
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_on_wheel()

AgsVstTResult ags_vst_iplug_view_on_wheel ( AgsVstIPlugView iplug_view,
gfloat  distance 
)

On-wheel.

Parameters
iplug_viewthe plug view
distancethe distance
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_removed()

AgsVstTResult ags_vst_iplug_view_removed ( AgsVstIPlugView iplug_view)

Removed.

Parameters
iplug_viewthe plug view
Returns
the return value
Since
5.0.0

◆ ags_vst_iplug_view_set_frame()

AgsVstTResult ags_vst_iplug_view_set_frame ( AgsVstIPlugView iplug_view,
AgsVstIPlugFrame frame 
)

Set frame.

Parameters
iplug_viewthe plug view
framethe frame
Returns
the return value
Since
5.0.0

◆ ags_vst_view_rect_alloc()

AgsVstViewRect * ags_vst_view_rect_alloc ( )

Allocate rect.

Returns
the new instance of Steinberg::ViewRect as AgsVstViewRect pointer
Since
5.0.0

◆ ags_vst_view_rect_get_height()

gint32 ags_vst_view_rect_get_height ( AgsVstViewRect view_rect)

Get height.

Parameters
view_rectthe rect
Returns
the height
Since
5.0.0

◆ ags_vst_view_rect_get_width()

gint32 ags_vst_view_rect_get_width ( AgsVstViewRect view_rect)

Get width.

Parameters
view_rectthe rect
Returns
the width
Since
5.0.0

Variable Documentation

◆ ags_vst_kplatform_type_hi_view

const AgsVstFIDString ags_vst_kplatform_type_hi_view = "HIView"

◆ ags_vst_kplatform_type_hwnd

const AgsVstFIDString ags_vst_kplatform_type_hwnd = "HWND"

◆ ags_vst_kplatform_type_ns_view

const AgsVstFIDString ags_vst_kplatform_type_ns_view = "NSView"

◆ ags_vst_kplatform_type_ui_view

const AgsVstFIDString ags_vst_kplatform_type_ui_view = "UIView"

◆ ags_vst_kplatform_type_x11_embed_window_id

const AgsVstFIDString ags_vst_kplatform_type_x11_embed_window_id = "X11EmbedWindowID"