feat(gui): add GUI components and displays
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <JuceHeader.h>
|
||||
#include "../Resources.h"
|
||||
|
||||
namespace serum
|
||||
{
|
||||
|
||||
// ===========================================================================
|
||||
// Rounded dark panel with an optional title bar.
|
||||
// ===========================================================================
|
||||
class Panel : public juce::Component
|
||||
{
|
||||
public:
|
||||
explicit Panel (const juce::String& title = {});
|
||||
|
||||
void paint (juce::Graphics& g) override;
|
||||
|
||||
private:
|
||||
juce::String title;
|
||||
};
|
||||
|
||||
} // namespace serum
|
||||
Reference in New Issue
Block a user