]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.h
ce22c194b0bdbe115ea74859cb8956901a8eeba9
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pPlotterScaleX.h
1
2 #ifndef __pPlotterScaleX_h__
3 #define __pPlotterScaleX_h__
4 // ----------------------------------------------------------------------------
5 // WX headers inclusion.
6 // For compilers that support precompilation, includes <wx/wx.h>.
7 // ----------------------------------------------------------------------------
8
9 #include <wx/wxprec.h>
10 #ifdef __BORLANDC__
11 #pragma hdrstop
12 #endif
13 #ifndef WX_PRECOMP
14 #include <wx/wx.h>
15 #endif
16
17 //----------------------------------------------------------------------------
18 // Includes
19 //----------------------------------------------------------------------------
20
21 #include "pPlotterLayer.h"
22 #include "marTypes.h"
23
24 //----------------------------------------------------------------------------
25 // Class definition
26 //----------------------------------------------------------------------------
27 class creaMaracasVisu_EXPORT pPlotterScaleX: public pPlotterLayer
28 {
29 public:
30         /**
31         * This is the constructor of the class
32         */
33         pPlotterScaleX(wxString aName = wxT("X"),int flags = mpALIGN_NE);
34         /**
35         * This is how the x-axis draw itself
36         */
37         virtual void Plot(wxDC& dc, mpWindow& w);
38         /** Check whether this layer has a bounding box.
39         This implementation returns \a FALSE thus making the ruler invisible
40         to the plot layer bounding box calculation by mpWindow.
41         */
42         virtual bool HasBBox() { return FALSE; }
43
44         DECLARE_CLASS (pPlotterScaleX)
45 };
46
47 #endif
48
49
50