Skip to content

Commit

Permalink
Add new Valentine Center Panel
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseDiazRohena committed Nov 25, 2023
1 parent e30c08c commit d579651
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ set(SourceFiles
src/PluginEditor.cpp
src/PluginProcessor.cpp

src/gui/panels/ValentineCenterPanel.h
src/gui/panels/ValentineCenterPanel_legacy.h
src/gui/panels/ValentineMainPanel.h
src/gui/panels/ValentineCenterPanel.cpp
src/gui/panels/ValentineCenterPanel_legacy.cpp
src/gui/panels/ValentineMainPanel.cpp

Expand Down
26 changes: 26 additions & 0 deletions src/gui/panels/ValentineCenterPanel.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 2023 Tote Bag Labs

#include "ValentineCenterPanel.h"
#include "PluginProcessor.h"

namespace tote_bag
{
namespace valentine
{
CenterPanel::CenterPanel (ValentineAudioProcessor& processor)
{
}

CenterPanel::~CenterPanel()
{
}

void CenterPanel::paint (juce::Graphics&)
{
}

void CenterPanel::resized()
{
}
} // namespace tote_bag
} // namespace valentine
26 changes: 26 additions & 0 deletions src/gui/panels/ValentineCenterPanel.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 2023 Tote Bag Labs

#pragma once

#include <juce_gui_basics/juce_gui_basics.h>

class ValentineAudioProcessor;

namespace tote_bag
{
namespace valentine
{
class CenterPanel : public juce::Component
{
public:
CenterPanel (ValentineAudioProcessor& processor);
~CenterPanel() override;

void paint (juce::Graphics&) override;
void resized() override;

private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CenterPanel)
};
} // namespace valentine
} // namespace tote_bag
1 change: 1 addition & 0 deletions src/gui/panels/ValentineMainPanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#pragma once

#include "ValentineCenterPanel.h"
#include "ValentineCenterPanel_legacy.h"

#include "tote_bag/juce_gui/components/panels/PresetPanel.h"
Expand Down

0 comments on commit d579651

Please sign in to comment.