Open Ephys GUI
 All Classes Functions Variables Pages
SplitterEditor.h
1 /*
2  ------------------------------------------------------------------
3 
4  This file is part of the Open Ephys GUI
5  Copyright (C) 2012 Open Ephys
6 
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, either version 3 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #ifndef __SPLITTEREDITOR_H_33F644A8__
25 #define __SPLITTEREDITOR_H_33F644A8__
26 
27 
28 #include "../../../JuceLibraryCode/JuceHeader.h"
29 #include "GenericEditor.h"
30 
31 // class PipelineSelectorButton : public DrawableButton
32 // {
33 // public:
34 // PipelineSelectorButton();
35 // ~PipelineSelectorButton();
36 // };
37 
39 {
40 public:
41  SplitterEditor (GenericProcessor* parentNode);
42  virtual ~SplitterEditor();
43 
44  void buttonEvent (Button* button);
45 
46  void switchDest(int);
47  void switchDest();
48 
49  void switchIO(int i);
50 
51 private:
52 
53  ImageButton* pipelineSelectorA;
54  ImageButton* pipelineSelectorB;
55 
56  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SplitterEditor);
57 
58 };
59 
60 
61 #endif // __SPLITTEREDITOR_H_33F644A8__