Changeset 207 for trunk/src/simple_pie_plot.h
- Timestamp:
- 08/15/2009 08:56:54 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/simple_pie_plot.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/simple_pie_plot.h
r206 r207 35 35 void OnPaint(wxPaintEvent& event); 36 36 void OnResize(wxSizeEvent& event); 37 void OnMouseLeaveWindow(wxMouseEvent& event); 38 void OnMouseMove(wxMouseEvent& event); 37 39 private: 38 40 /** 39 41 * Gets the color suiting the \a i th segment. 40 42 * \param i The segment number. 41 * \param hightlight Return color suiting for highlighting.42 43 */ 43 wxColour GetSegmentColor(int i, bool highlight); 44 wxColour GetSegmentColor(int i); 45 46 void Highlight(int i); 47 void ClearHighlight(); 44 48 45 49 std::vector<double> m_data; 50 std::vector<double> m_angles; 46 51 double m_data_total; 52 int m_highlight; 47 53 }; 48 54
Note: See TracChangeset
for help on using the changeset viewer.
