/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * * graph spacer Header * * Copyright (c) 2011-2014 Mark Watkins * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of the Linux * distribution for more details. */ #ifndef GSPACER_H #define GSPACER_H #include "gGraphView.h" /*! \class gSpacer \brief A dummy graph spacer layer object */ class gSpacer:public Layer { public: gSpacer(int space=20); // orientation? virtual void paint(gGraph & g,int left,int top, int width, int height) { Q_UNUSED(g) Q_UNUSED(left) Q_UNUSED(top) Q_UNUSED(width) Q_UNUSED(height) } int space() { return m_space; } protected: int m_space; }; #endif // GSPACER_H