]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.h
9623e2f2a8fcc55347632fd72731e39011ac1370
[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
23 //----------------------------------------------------------------------------
24 // Class definition
25 //----------------------------------------------------------------------------
26 class pPlotterScaleX: public pPlotterLayer
27 {
28 public:
29         /**
30         * This is the constructor of the class
31         */
32         pPlotterScaleX(wxString aName = wxT("X"),int flags = mpALIGN_NE);
33         /**
34         * This is how the x-axis draw itself
35         */
36         virtual void Plot(wxDC& dc, mpWindow& w);
37         /** Check whether this layer has a bounding box.
38         This implementation returns \a FALSE thus making the ruler invisible
39         to the plot layer bounding box calculation by mpWindow.
40         */
41         virtual bool HasBBox() { return FALSE; }
42
43         DECLARE_CLASS (pPlotterScaleX)
44 };
45
46 #endif
47
48
49