1 #ifndef __pFunctionPoint_h__
2 #define __pFunctionPoint_h__
4 // ----------------------------------------------------------------------------
5 // WX headers inclusion.
6 // For compilers that support precompilation, includes <wx/wx.h>.
7 // ----------------------------------------------------------------------------
18 //----------------------------------------------------------------------------
20 //----------------------------------------------------------------------------
23 //----------------------------------------------------------------------------
25 //----------------------------------------------------------------------------
27 class pFunctionPoint : public wxObject {
29 //----------------------------------------------------------------------------
31 //----------------------------------------------------------------------------
34 * Create a point of the function.
35 * @param x The x value
36 * @param y The y value
38 pFunctionPoint(int x , int y ) ;
41 * Returns the x-value of the point
46 * Returns the y-value of the point
51 * Sets the x-value of the point
59 * Sets the y-value of the point
67 * Sets the state of having an asigned color
69 void setHasColor (bool hasColor);
71 * Indicates if the point has an asigned color for the level
73 bool getHasColorForLevel();
76 //----------------------------------------------------------------------------
77 // Attributes declration
78 //----------------------------------------------------------------------------
82 * The x-value of the point
86 * The y-value of the point
90 * Indicates if the point has an asigned color for the level
92 bool hasColorForLevel;
94 DECLARE_CLASS (pFunctionPoint)