summaryrefslogtreecommitdiffstats
path: root/grapher/CairoWidget.hxx
Commit message (Collapse)AuthorAgeFilesLines
* change namespace indentation to 0Tim Moore2009-12-211-42/+42
| | | | | A silly change, but this works better with other tools, like git diff. I should have started the C++ files this way.
* add copyright and license to grapher filesTim Moore2009-12-071-0/+8
|
* Add hover text to the graph.Tim Moore2009-12-011-3/+15
| | | | | | | | | | | | | | When the graph display is paused, leaving the mouse stationary over the graph will display the data point under the pointer. * grapher/CairoWidget.hxx (CairoTextBox): new class (CairoWidget, CairoPlayButton): refector some play button-specific things from CairoWidget to CairoPlayButton. * grapher/CairoWidget.cxx (CairoTextBox::draw): new function. * grapher/GraphWidget.hxx (GraphWidget): new members for supporting hover text. * grapher/GraphWidget.cxx (on_motion_notify_event): Set up hover text box. (establishHoverTimeout, onHoverTimeout, getGraphUnderPoint): new functions.
* Move grapher to subdirectoryTim Moore2009-04-201-0/+42