feat(gui): add GUI components and displays
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "Knob.h"
|
||||
|
||||
namespace serum
|
||||
{
|
||||
|
||||
// ===========================================================================
|
||||
// Horizontal slider (same formatting machinery as Knob).
|
||||
// ===========================================================================
|
||||
class Slider : public Knob
|
||||
{
|
||||
public:
|
||||
explicit Slider (const juce::String& name,
|
||||
std::function<juce::String (float)> formatter = {});
|
||||
};
|
||||
|
||||
} // namespace serum
|
||||
Reference in New Issue
Block a user