|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Plug-in definition of a view. More...
#include "iplugview.h"
Public Member Functions | |
| virtual tresult PLUGIN_API | isPlatformTypeSupported (FIDString type)=0 |
| Is Platform UI Type supported. | |
| virtual tresult PLUGIN_API | attached (void *parent, FIDString type)=0 |
| The parent window of the view has been created, the (platform) representation of the view should now be created as well. | |
| virtual tresult PLUGIN_API | removed ()=0 |
| The parent window of the view is about to be destroyed. | |
| virtual tresult PLUGIN_API | onWheel (float distance)=0 |
| Handling of mouse wheel. | |
| virtual tresult PLUGIN_API | onKeyDown (char16 key, int16 keyCode, int16 modifiers)=0 |
| Handling of keyboard events : Key Down. | |
| virtual tresult PLUGIN_API | onKeyUp (char16 key, int16 keyCode, int16 modifiers)=0 |
| Handling of keyboard events : Key Up. | |
| virtual tresult PLUGIN_API | getSize (ViewRect *size)=0 |
| Returns the size of the platform representation of the view. | |
| virtual tresult PLUGIN_API | onSize (ViewRect *newSize)=0 |
| Resizes the platform representation of the view to the given rect. | |
| virtual tresult PLUGIN_API | onFocus (TBool state)=0 |
| Focus changed message. | |
| virtual tresult PLUGIN_API | setFrame (IPlugFrame *frame)=0 |
| Sets IPlugFrame object to allow the plug-in to inform the host about resizing. | |
| virtual tresult PLUGIN_API | canResize ()=0 |
| Is view sizable by user. | |
| virtual tresult PLUGIN_API | checkSizeConstraint (ViewRect *rect)=0 |
| On live resize this is called to check if the view can be resized to the given rect, if not adjust the rect to the allowed size. | |
Public Member Functions inherited from Steinberg::FUnknown | |
| virtual tresult PLUGIN_API | queryInterface (const TUID _iid, void **obj)=0 |
| Query for a pointer to the specified interface. | |
| virtual uint32 PLUGIN_API | addRef ()=0 |
| Adds a reference and returns the new reference count. | |
| virtual uint32 PLUGIN_API | release ()=0 |
| Releases a reference and returns the new reference count. | |
Static Public Attributes | |
| static const FUID | iid |
Static Public Attributes inherited from Steinberg::FUnknown | |
| static const FUID | iid |
Plug-in definition of a view.
Definition at line 122 of file iplugview.h.
|
pure virtual |
The parent window of the view has been created, the (platform) representation of the view should now be created as well.
Note that the parent is owned by the caller and you are not allowed to alter it in any way other than adding your own views. Note that in this call the plug-in could call a IPlugFrame::resizeView ()!
| parent | : platform handle of the parent window or view |
| type | : Platform UI Types which should be created |
Implemented in Steinberg::CPluginView.
|
pure virtual |
Is view sizable by user.
Implemented in Steinberg::CPluginView.
|
pure virtual |
On live resize this is called to check if the view can be resized to the given rect, if not adjust the rect to the allowed size.
Implemented in Steinberg::CPluginView.
|
pure virtual |
Returns the size of the platform representation of the view.
Implemented in Steinberg::CPluginView.
|
pure virtual |
Is Platform UI Type supported.
| type | : IDString of Platform UI Types |
Implemented in Steinberg::CPluginView.
|
pure virtual |
Focus changed message.
Implemented in Steinberg::CPluginView.
|
pure virtual |
Handling of keyboard events : Key Down.
| key | : unicode code of key |
| keyCode | : virtual keycode for non ascii keys - see VirtualKeyCodes in keycodes.h |
| modifiers | : any combination of modifiers - see KeyModifier in keycodes.h |
Implemented in Steinberg::CPluginView.
|
pure virtual |
Handling of keyboard events : Key Up.
| key | : unicode code of key |
| keyCode | : virtual keycode for non ascii keys - see VirtualKeyCodes in keycodes.h |
| modifiers | : any combination of KeyModifier - see KeyModifier in keycodes.h |
Implemented in Steinberg::CPluginView.
|
pure virtual |
Resizes the platform representation of the view to the given rect.
Note that if the plug-in requests a resize (IPlugFrame::resizeView ()) onSize has to be called afterward.
Implemented in Steinberg::CPluginView.
|
pure virtual |
Handling of mouse wheel.
Implemented in Steinberg::CPluginView.
|
pure virtual |
The parent window of the view is about to be destroyed.
You have to remove all your own views from the parent window or view.
Implemented in Steinberg::CPluginView.
|
pure virtual |
Sets IPlugFrame object to allow the plug-in to inform the host about resizing.
Implemented in Steinberg::CPluginView.
|
static |
Definition at line 182 of file iplugview.h.