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