Skip to content

Commit 4f24c9e

Browse files
committed
Merge pull request #16 from cstawarz/development
Add new CAR files to Xcode project
2 parents 88c2ebc + 171c46b commit 4f24c9e

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

Builds/MacOSX/Plugins/CAR/CAR.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
E15DCF7A1CA0676B00332C3A /* CAREditor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E15DCF781CA0676B00332C3A /* CAREditor.cpp */; };
1011
E1F558261C9B105C0035F88B /* CAR.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1F558221C9B105C0035F88B /* CAR.cpp */; };
1112
E1F558281C9B105C0035F88B /* OpenEphysLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1F558251C9B105C0035F88B /* OpenEphysLib.cpp */; };
1213
/* End PBXBuildFile section */
1314

1415
/* Begin PBXFileReference section */
16+
E15DCF781CA0676B00332C3A /* CAREditor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CAREditor.cpp; sourceTree = "<group>"; };
17+
E15DCF791CA0676B00332C3A /* CAREditor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAREditor.h; sourceTree = "<group>"; };
1518
E1F558141C9B0FCA0035F88B /* CAR.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CAR.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
1619
E1F558171C9B0FCA0035F88B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1720
E1F5581E1C9B10190035F88B /* Plugin.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Plugin.xcconfig; sourceTree = "<group>"; };
@@ -75,6 +78,8 @@
7578
children = (
7679
E1F558231C9B105C0035F88B /* CAR.h */,
7780
E1F558221C9B105C0035F88B /* CAR.cpp */,
81+
E15DCF791CA0676B00332C3A /* CAREditor.h */,
82+
E15DCF781CA0676B00332C3A /* CAREditor.cpp */,
7883
E1F558251C9B105C0035F88B /* OpenEphysLib.cpp */,
7984
);
8085
name = Source;
@@ -148,6 +153,7 @@
148153
buildActionMask = 2147483647;
149154
files = (
150155
E1F558281C9B105C0035F88B /* OpenEphysLib.cpp in Sources */,
156+
E15DCF7A1CA0676B00332C3A /* CAREditor.cpp in Sources */,
151157
E1F558261C9B105C0035F88B /* CAR.cpp in Sources */,
152158
);
153159
runOnlyForDeploymentPostprocessing = 0;

Source/Processors/Editors/ChannelSelector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class PLUGIN_API ChannelSelector : public Component
5555
class PLUGIN_API Listener
5656
{
5757
public:
58+
virtual ~Listener() { }
5859
virtual void channelSelectionChanged (int channel, bool newState) = 0;
5960
};
6061

Source/UI/Utils/ButtonGroupManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ ButtonGroupManager::ButtonGroupManager()
4242
: m_isRadioButtonMode (true)
4343
, m_isShowDividers (true)
4444
, m_selectedButtonIdx (0)
45-
, m_currentButtonLineX (0.f)
4645
, m_desiredButtonLineX (0.f)
46+
, m_currentButtonLineX (0.f)
4747
, m_animationStepX (0.f)
4848
, m_buttonListener (nullptr)
4949
, m_backgroundColour (Colour (0x0))
@@ -71,7 +71,7 @@ void ButtonGroupManager::paint (Graphics& g)
7171

7272
void ButtonGroupManager::paintOverChildren (Graphics& g)
7373
{
74-
const int width = getWidth();
74+
//const int width = getWidth();
7575
const int height = getHeight();
7676

7777
// Draw dividers between buttons

0 commit comments

Comments
 (0)