summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/timedisplayform.cc
diff options
context:
space:
mode:
authorTom Rondeau2011-04-24 01:47:05 -0400
committerTom Rondeau2011-04-24 01:47:05 -0400
commit11de76b9214a59930ac8d8c031880b5bd293973d (patch)
tree53dac76c223788a8b225cd504f59811eef49ae64 /gr-qtgui/lib/timedisplayform.cc
parent43a3a7296412dc52216e7f63856a86945f4ba438 (diff)
downloadgnuradio-11de76b9214a59930ac8d8c031880b5bd293973d.tar.gz
gnuradio-11de76b9214a59930ac8d8c031880b5bd293973d.tar.bz2
gnuradio-11de76b9214a59930ac8d8c031880b5bd293973d.zip
gr-qtgui: adding function and slot to set a time display curve's color.
Diffstat (limited to 'gr-qtgui/lib/timedisplayform.cc')
-rw-r--r--gr-qtgui/lib/timedisplayform.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/lib/timedisplayform.cc b/gr-qtgui/lib/timedisplayform.cc
index 05baee7f9..c2bb9f75d 100644
--- a/gr-qtgui/lib/timedisplayform.cc
+++ b/gr-qtgui/lib/timedisplayform.cc
@@ -169,3 +169,9 @@ TimeDisplayForm::SetTitle(int which, QString title)
{
_timeDomainDisplayPlot->setTitle(which, title);
}
+
+void
+TimeDisplayForm::SetColor(int which, QString color)
+{
+ _timeDomainDisplayPlot->setColor(which, color);
+}