VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
IMouseObserver Class Referenceabstract

generic mouse observer interface for CFrame More...

+ Inheritance diagram for IMouseObserver:

Public Member Functions

virtual ~IMouseObserver () noexcept=default
 
virtual void onMouseEntered (CView *view, CFrame *frame)=0
 
virtual void onMouseExited (CView *view, CFrame *frame)=0
 
virtual CMouseEventResult onMouseMoved (CFrame *frame, const CPoint &where, const CButtonState &buttons)
 a mouse move event happend on the frame at position where. More...
 
virtual CMouseEventResult onMouseDown (CFrame *frame, const CPoint &where, const CButtonState &buttons)
 a mouse down event happend on the frame at position where. More...
 

Detailed Description

generic mouse observer interface for CFrame

Constructor & Destructor Documentation

◆ ~IMouseObserver()

virtual ~IMouseObserver ( )
virtualdefaultnoexcept

Member Function Documentation

◆ onMouseDown()

virtual CMouseEventResult onMouseDown ( CFrame frame,
const CPoint where,
const CButtonState buttons 
)
inlinevirtual

a mouse down event happend on the frame at position where.

If the observer handles this, the event won't be propagated further

Reimplemented in VST3Editor.

◆ onMouseEntered()

virtual void onMouseEntered ( CView view,
CFrame frame 
)
pure virtual

Implemented in VST3Editor.

◆ onMouseExited()

virtual void onMouseExited ( CView view,
CFrame frame 
)
pure virtual

Implemented in VST3Editor.

◆ onMouseMoved()

virtual CMouseEventResult onMouseMoved ( CFrame frame,
const CPoint where,
const CButtonState buttons 
)
inlinevirtual

a mouse move event happend on the frame at position where.

If the observer handles this, the event won't be propagated further

Reimplemented in VST3Editor.


The documentation for this class was generated from the following file: