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