1 #ifndef __pColorPoint_h__
2 #define __pColorPoint_h__
4 //------------------------------------------------------------------------------------------------------------
5 // WX headers inclusion.
6 // For compilers that support precompilation, includes <wx/wx.h>.
7 //------------------------------------------------------------------------------------------------------------
17 //------------------------------------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------------------------------------
21 class pColorPoint : public wxObject {
24 //------------------------------------------------------------------------------------------------------------
25 // Constructors and destructors
26 //------------------------------------------------------------------------------------------------------------
29 * Create a point of the function.
30 * @param x The x real value
31 * @param _color The asigned colour
32 * @param isTemp The temporal o fixed asignation to the color
34 pColorPoint(double x , wxColour col, bool isTemp);
38 //------------------------------------------------------------------------------------------------------------
40 //------------------------------------------------------------------------------------------------------------
43 * Returns the x-value of the point
48 * Returns the colour of the point
53 * Sets the x-value of the point
56 void setRealX(double x)
61 * Sets the colour of the point
64 void setColor(wxColour _col)
70 * Indicates if the colour point is temporal or not
73 bool isTemporalColor ();
75 //------------------------------------------------------------------------------------------------------------
76 // Attributes declration
77 //------------------------------------------------------------------------------------------------------------
81 * The x-value of the point
85 * The colour of the point
89 * Represents the attibute of being temporal or not
93 DECLARE_CLASS (pColorPoint)