kopia lustrzana https://github.com/jameshball/osci-render
20 wiersze
553 B
C++
20 wiersze
553 B
C++
#pragma once
|
|
#include <JuceHeader.h>
|
|
#include "AboutComponent.h"
|
|
|
|
|
|
class SosciPluginEditor;
|
|
class SosciMainMenuBarModel : public juce::MenuBarModel {
|
|
public:
|
|
SosciMainMenuBarModel(SosciPluginEditor& editor);
|
|
~SosciMainMenuBarModel();
|
|
|
|
juce::StringArray getMenuBarNames() override;
|
|
juce::PopupMenu getMenuForIndex(int topLevelMenuIndex, const juce::String& menuName) override;
|
|
void menuItemSelected(int menuItemID, int topLevelMenuIndex) override;
|
|
void menuBarActivated(bool isActive);
|
|
|
|
private:
|
|
SosciPluginEditor& editor;
|
|
};
|