guitar_prometheus::MainWindow
guitar_prometheus::MainWindow
Top-level window. More…
#include <MainWindow.h>
Inherits from juce::DocumentWindow, juce::MenuBarModel, juce::ApplicationCommandTarget, juce::ChangeListener, juce::FileDragAndDropTarget
Public Functions
| Name | |
|---|---|
| MainWindow(const juce::String & name) | |
| ~MainWindow() override | |
| void | closeButtonPressed() override |
| void | resized() override |
| juce::StringArray | getMenuBarNames() override |
| juce::PopupMenu | getMenuForIndex(int topLevelMenuIndex, const juce::String & menuName) override |
| void | menuItemSelected(int menuItemID, int topLevelMenuIndex) override |
| ApplicationCommandTarget * | getNextCommandTarget() override |
| void | getAllCommands(juce::Array< juce::CommandID > & commands) override |
| void | getCommandInfo(juce::CommandID commandID, juce::ApplicationCommandInfo & result) override |
| bool | perform(const InvocationInfo & info) override |
| void | changeListenerCallback(juce::ChangeBroadcaster * source) override |
| bool | isInterestedInFileDrag(const juce::StringArray & files) override |
| void | filesDropped(const juce::StringArray & files, int x, int y) override |
Public Attributes
| Name | |
|---|---|
| constexpr int | kRecentBaseId |
| constexpr int | kClearRecentsId |
Detailed Description
class guitar_prometheus::MainWindow;Top-level window.
Hosts a menu bar (File / Help) and a central content component that displays the active Project. File menu actions delegate to [AppController](/api-reference/classes/classguitar__prometheus_1_1appcontroller/).
Public Functions Documentation
function MainWindow
explicit MainWindow( const juce::String & name)function ~MainWindow
~MainWindow() overridefunction closeButtonPressed
void closeButtonPressed() overridefunction resized
void resized() overridefunction getMenuBarNames
juce::StringArray getMenuBarNames() overridefunction getMenuForIndex
juce::PopupMenu getMenuForIndex( int topLevelMenuIndex, const juce::String & menuName) overridefunction menuItemSelected
void menuItemSelected( int menuItemID, int topLevelMenuIndex) overridefunction getNextCommandTarget
ApplicationCommandTarget * getNextCommandTarget() overridefunction getAllCommands
void getAllCommands( juce::Array< juce::CommandID > & commands) overridefunction getCommandInfo
void getCommandInfo( juce::CommandID commandID, juce::ApplicationCommandInfo & result) overridefunction perform
bool perform( const InvocationInfo & info) overridefunction changeListenerCallback
void changeListenerCallback( juce::ChangeBroadcaster * source) overridefunction isInterestedInFileDrag
bool isInterestedInFileDrag( const juce::StringArray & files) overridefunction filesDropped
void filesDropped( const juce::StringArray & files, int x, int y) overridePublic Attributes Documentation
variable kRecentBaseId
static constexpr int kRecentBaseId = 0x3000;variable kClearRecentsId
static constexpr int kClearRecentsId = 0x4000;Updated on 2026-05-29 at 07:39:52 +0000