1 //----------------------------------------------------------------------------
2 // Class definition include
3 //----------------------------------------------------------------------------
4 #include "pFunctionPoint.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(pFunctionPoint, wxObject)
21 //----------------------------------------------------------------------------
23 //----------------------------------------------------------------------------
25 * Create a point of the function.
26 * @param x The x value
27 * @param y The y value
29 pFunctionPoint :: pFunctionPoint(int x , int y )
33 hasColorForLevel = false;
35 //----------------------------------------------------------------------------
37 //----------------------------------------------------------------------------
39 * Returns the x-value of the point
42 int pFunctionPoint ::getRealX ()
47 * Returns the x-value of the point
50 int pFunctionPoint :: getRealY ()
55 * Sets the state of having an asigned color
57 void pFunctionPoint :: setHasColor (bool hasColor)
59 hasColorForLevel = hasColor;
62 * Indicates if the point has an asigned color for the level
64 bool pFunctionPoint :: getHasColorForLevel()
66 return hasColorForLevel;