MCPcopy Create free account
hub / github.com/ZL-Audio/ZLEqualizer / Dragger

Method Dragger

source/gui/dragger/dragger_component.cpp:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12namespace zlgui::dragger {
13 Dragger::Dragger(UIBase& base)
14 : base_(base), dragger_laf_(base) {
15 dragger_laf_.setColour(base_.getColourMap1(1));
16 button_.addMouseListener(this, false);
17 button_.setClickingTogglesState(false);
18 button_.setLookAndFeel(&dragger_laf_);
19 addAndMakeVisible(button_);
20
21 setInterceptsMouseClicks(false, true);
22 }
23
24 Dragger::~Dragger() {
25 button_.removeMouseListener(this);

Callers

nothing calls this directly

Calls 2

getColourMap1Method · 0.80
setColourMethod · 0.45

Tested by

no test coverage detected