24 lines
497 B
C++
24 lines
497 B
C++
#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
|