Skip to content

Commit 7b581ff

Browse files
committed
Cleanup debugging prints
1 parent d86865a commit 7b581ff

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Source/Plugins/LfpDisplayNodeAlpha/LfpDisplayCanvas.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void LfpDisplayCanvas::resized()
149149
{
150150
if (lfpDisplay->getSingleChannelState())
151151
lfpDisplay->setChannelHeight(viewport->getHeight(),false);
152-
std::cout << "resizing canvas" << std::endl;
152+
153153
lfpDisplay->setBounds(0,0,getWidth()-scrollBarThickness, lfpDisplay->getChannelHeight()*lfpDisplay->drawableChannels.size());
154154
}
155155
else
@@ -250,7 +250,7 @@ void LfpDisplayCanvas::update()
250250

251251
if (nChans != lfpDisplay->getNumChannels())
252252
{
253-
std::cout << "Setting num inputs on LfpDisplayCanvas to " << nChans << std::endl;
253+
// std::cout << "Setting num inputs on LfpDisplayCanvas to " << nChans << std::endl;
254254

255255
refreshScreenBuffer();
256256

@@ -2333,7 +2333,6 @@ int LfpDisplay::getTotalHeight()
23332333
void LfpDisplay::resized()
23342334
{
23352335
int totalHeight = 0;
2336-
std::cout << "channelOverlapFactor " << canvas->channelOverlapFactor << std::endl;
23372336

23382337
for (int i = 0; i < drawableChannels.size(); i++)
23392338
{
@@ -2352,11 +2351,9 @@ void LfpDisplay::resized()
23522351
LfpChannelDisplayInfo* info = drawableChannels[i].channelInfo;
23532352

23542353
info->setBounds(0,
2355-
// totalHeight-disp->getChannelHeight()/4,
23562354
totalHeight-disp->getChannelHeight() + (disp->getChannelOverlap()*canvas->channelOverlapFactor)/4.0,
23572355
canvas->leftmargin + 50,
23582356
disp->getChannelHeight());
2359-
// disp->getChannelHeight()+(disp->getChannelOverlap()*canvas->channelOverlapFactor));
23602357

23612358
totalHeight += disp->getChannelHeight();
23622359

@@ -3114,7 +3111,6 @@ void LfpChannelDisplay::resized()
31143111
// all of this will likely need to be moved into the sharedLfpDisplay image in the lfpDisplay, not here
31153112
// now that the complete height is know, the sharedLfpDisplay image that we'll draw the pixel-wise lfp plot to needs to be resized
31163113
//lfpChannelBitmap = Image(Image::ARGB, getWidth(), getHeight(), false);
3117-
std::cout << "[channel " << chan << "] " << getPosition().toString() << std::endl;
31183114
}
31193115

31203116

0 commit comments

Comments
 (0)