1 //------------------------------------------------------------------------------------------------------------
2 // Class definition include
3 //------------------------------------------------------------------------------------------------------------
4 #include "pColorPoint.h"
6 // -----------------------------------------------------------------------------------------------------------
7 // WX headers inclusion.
8 // For compilers that support precompilation, includes <wx/wx.h>.
9 // -----------------------------------------------------------------------------------------------------------
15 //------------------------------------------------------------------------------------------------------------
16 // Class implementation
17 //------------------------------------------------------------------------------------------------------------
19 IMPLEMENT_CLASS(pColorPoint, wxObject)
21 //------------------------------------------------------------------------------------------------------------
22 // Constructors and destructors
23 //------------------------------------------------------------------------------------------------------------
26 * Create a point of the function.
27 * @param x The x real value
28 * @param _color The asigned colour
29 * @param isTemp The temporal o fixed asignation to the color
31 pColorPoint :: pColorPoint(double x , wxColour col, bool isTemp)
38 pColorPoint :: ~pColorPoint()
42 //------------------------------------------------------------------------------------------------------------
43 // Methods implementation
44 //------------------------------------------------------------------------------------------------------------
46 * Returns the x-value of the point
49 double pColorPoint :: getRealX ()
54 * Returns the colour of the point
57 wxColor pColorPoint :: getColor ()
63 * Indicates if the colour point is temporal or not
66 bool pColorPoint :: isTemporalColor ()