#ifndef __pPlotterScaleX_h__ #define __pPlotterScaleX_h__ // ---------------------------------------------------------------------------- // WX headers inclusion. // For compilers that support precompilation, includes . // ---------------------------------------------------------------------------- #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include #endif //---------------------------------------------------------------------------- // Includes //---------------------------------------------------------------------------- #include "pPlotterLayer.h" #include "marTypes.h" //---------------------------------------------------------------------------- // Class definition //---------------------------------------------------------------------------- class creaMaracasVisu_EXPORT pPlotterScaleX: public pPlotterLayer { public: /** * This is the constructor of the class */ pPlotterScaleX(wxString aName = wxT("X"),int flags = mpALIGN_NE); /** * This is how the x-axis draw itself */ virtual void Plot(wxDC& dc, mpWindow& w); /** Check whether this layer has a bounding box. This implementation returns \a FALSE thus making the ruler invisible to the plot layer bounding box calculation by mpWindow. */ virtual bool HasBBox() { return FALSE; } DECLARE_CLASS (pPlotterScaleX) }; #endif