Skip to content

Commit 8c5b50b

Browse files
committed
Re-add LfpDisplayNodeBeta for Linux
1 parent fb1b583 commit 8c5b50b

8 files changed

Lines changed: 4127 additions & 0 deletions

File tree

Source/Plugins/LfpDisplayNodeBeta/LfpDisplayCanvas.cpp

Lines changed: 2901 additions & 0 deletions
Large diffs are not rendered by default.

Source/Plugins/LfpDisplayNodeBeta/LfpDisplayCanvas.h

Lines changed: 558 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/*
2+
------------------------------------------------------------------
3+
4+
This file is part of the Open Ephys GUI
5+
Copyright (C) 2013 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+
#include "LfpDisplayEditor.h"
25+
26+
using namespace LfpDisplayNodeBeta;
27+
28+
29+
LfpDisplayEditor::LfpDisplayEditor(GenericProcessor* parentNode, bool useDefaultParameterEditors=true)
30+
: VisualizerEditor(parentNode, useDefaultParameterEditors)
31+
32+
{
33+
34+
tabText = "LFP";
35+
36+
desiredWidth = 180;
37+
38+
}
39+
40+
LfpDisplayEditor::~LfpDisplayEditor()
41+
{
42+
}
43+
44+
45+
Visualizer* LfpDisplayEditor::createNewCanvas()
46+
{
47+
48+
LfpDisplayNode* processor = (LfpDisplayNode*) getProcessor();
49+
return new LfpDisplayCanvas(processor);
50+
51+
}
52+
53+
// not really being used (yet)...
54+
void LfpDisplayEditor::buttonEvent(Button* button)
55+
{
56+
57+
58+
}
59+
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
------------------------------------------------------------------
3+
4+
This file is part of the Open Ephys GUI
5+
Copyright (C) 2013 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 __LFPDISPLAYEDITOR_H_BETA__
25+
#define __LFPDISPLAYEDITOR_H_BETA__
26+
27+
#include <VisualizerEditorHeaders.h>
28+
#include "LfpDisplayNode.h"
29+
#include "LfpDisplayCanvas.h"
30+
31+
class Visualizer;
32+
33+
namespace LfpDisplayNodeBeta {
34+
35+
/**
36+
37+
User interface for the LfpDisplayNode sink.
38+
39+
@see LfpDisplayNode, LfpDisplayCanvas
40+
41+
*/
42+
43+
class LfpDisplayEditor : public VisualizerEditor
44+
{
45+
public:
46+
LfpDisplayEditor(GenericProcessor*, bool useDefaultParameterEditors);
47+
~LfpDisplayEditor();
48+
49+
// not really being used (yet) ...
50+
void buttonEvent(Button* button);
51+
52+
Visualizer* createNewCanvas();
53+
54+
private:
55+
56+
57+
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(LfpDisplayEditor);
58+
59+
};
60+
};
61+
#endif // __LFPDISPLAYEDITOR_H_BETA__

0 commit comments

Comments
 (0)