Permalink
Browse files

Added setRecordState method to ControlPanel

  • Loading branch information...
1 parent 832b88f commit 4ef389c17f4e7e51cd0de5874260e0d834ac1272 Josh Siegle committed Nov 19, 2012
Showing with 9 additions and 0 deletions.
  1. +7 −0 Source/UI/ControlPanel.cpp
  2. +2 −0 Source/UI/ControlPanel.h
@@ -419,6 +419,13 @@ ControlPanel::~ControlPanel()
graph = 0;
}
+void ControlPanel::setRecordState(bool t)
+{
+
+ recordButton->setToggleState(t, true);
+
+}
+
void ControlPanel::updateChildComponents()
{
@@ -187,6 +187,8 @@ class ControlPanelButton : public OpenGLCanvas
void drawButton();
+ void setRecordState(bool t);
+
void mouseDown(const MouseEvent& e);
private:

0 comments on commit 4ef389c

Please sign in to comment.