Gin
Loading...
Searching...
No Matches
ModOverlay Class Reference

Overlay component that draws a catenary cable from the active modulation source to the mouse pointer during modulation learn mode. More...

#include <gin_modoverlay.h>

Inherits juce::Component, and juce::Timer.

Public Member Functions

 ModOverlay ()
 ~ModOverlay () override
void paint (juce::Graphics &g) override
bool hitTest (int x, int y) override

Detailed Description

Overlay component that draws a catenary cable from the active modulation source to the mouse pointer during modulation learn mode.

Add this as a child of your plugin editor and call setBounds to cover the whole editor.

Constructor & Destructor Documentation

◆ ModOverlay()

ModOverlay::ModOverlay ( )

Referenced by hitTest().

◆ ~ModOverlay()

ModOverlay::~ModOverlay ( )
override

Member Function Documentation

◆ paint()

void ModOverlay::paint ( juce::Graphics & g)
override

◆ hitTest()

bool ModOverlay::hitTest ( int x,
int y )
override

References ModOverlay().


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