| 1 |
// |
| 2 |
// AudioEffectPanelController.h |
| 3 |
// Alchemusica |
| 4 |
// |
| 5 |
// Created by Toshi Nagata on 2017/10/08. |
| 6 |
// Copyright 2010-2017 Toshi Nagata. All rights reserved. |
| 7 |
// |
| 8 |
/* |
| 9 |
This program is free software; you can redistribute it and/or modify |
| 10 |
it under the terms of the GNU General Public License as published by |
| 11 |
the Free Software Foundation version 2 of the License. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
*/ |
| 18 |
|
| 19 |
#import <Cocoa/Cocoa.h> |
| 20 |
@class AudioEffectLayoutView; |
| 21 |
|
| 22 |
@interface AudioEffectPanelController : NSWindowController { |
| 23 |
IBOutlet NSSplitView *splitView; |
| 24 |
IBOutlet AudioEffectLayoutView *layoutView; |
| 25 |
IBOutlet NSView *customContainerView; |
| 26 |
IBOutlet NSScrollView *effectLayoutScrollView; |
| 27 |
IBOutlet NSScrollView *effectContentScrollView; |
| 28 |
NSView *customView; |
| 29 |
int busIndex; |
| 30 |
int selectedEffect; |
| 31 |
BOOL needsRedrawCustomView; |
| 32 |
CGFloat xpos_output; // X position of the "Stereo Out" box |
| 33 |
} |
| 34 |
- (id)initWithBusIndex:(int)idx; |
| 35 |
- (CGFloat)xpos_output; |
| 36 |
- (int)numberOfChains; |
| 37 |
- (IBAction)addEffect:(id)sender; |
| 38 |
- (IBAction)addEffectChain:(id)sender; |
| 39 |
- (IBAction)removeEffectChain:(id)sender; |
| 40 |
- (IBAction)insertEffect:(id)sender; |
| 41 |
- (IBAction)changeEffect:(id)sender; |
| 42 |
- (IBAction)removeEffect:(id)sender; |
| 43 |
- (IBAction)effectButtonPressed:(id)sender; |
| 44 |
@end |