Skip to content

Commit

Permalink
Simplify spike plots
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Aug 21, 2024
1 parent f66b3a2 commit ec09193
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Plugins/SpikeViewer/SpikeDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SpikePlot* SpikeDisplay::getSpikePlot (int index)

void SpikeDisplay::paint (Graphics& g)
{
g.fillAll (findColour (ThemeColours::componentBackground));
//g.fillAll (findColour (ThemeColours::componentBackground));
}

void SpikeDisplay::resized()
Expand Down
2 changes: 1 addition & 1 deletion Plugins/SpikeViewer/SpikeDisplayCanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void SpikeDisplayCanvas::resized()

void SpikeDisplayCanvas::paint (Graphics& g)
{
g.fillAll (findColour (ThemeColours::componentParentBackground));
g.fillAll (findColour (ThemeColours::componentParentBackground));
}

void SpikeDisplayCanvas::refresh()
Expand Down
6 changes: 3 additions & 3 deletions Plugins/SpikeViewer/SpikePlots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ void SpikePlot::setId (std::string id)

void SpikePlot::paint (Graphics& g)
{
g.setColour (findColour (ThemeColours::outline));
g.drawRect (0, 0, getWidth(), getHeight());
//g.setColour (findColour (ThemeColours::outline));
//g.drawRect (0, 0, getWidth(), getHeight());

g.setFont (font);
g.setColour (findColour (ThemeColours::defaultText));
g.setColour (findColour (ThemeColours::controlPanelText));
g.drawText (name, 10, 0, 200, 20, Justification::left, false);
}

Expand Down

0 comments on commit ec09193

Please sign in to comment.