OSCAR-code/Graphs/gLineOverlay.h

31 lines
759 B
C++

/*
gLineOverlayBar Header
Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
License: GPL
*/
#ifndef GLINEOVERLAY_H
#define GLINEOVERLAY_H
#include "gGraphView.h"
class gLineOverlayBar:public Layer
{
public:
gLineOverlayBar(ChannelID code,QColor col,QString _label="",FlagType _flt=FT_Bar);
virtual ~gLineOverlayBar();
virtual void paint(gGraph & w,int left, int top, int width, int height);
virtual EventDataType Miny() { return 0; }
virtual EventDataType Maxy() { return 0; }
virtual bool isEmpty() { return true; }
protected:
QColor m_flag_color;
QString m_label;
FlagType m_flt;
GLShortBuffer *points,*quads, *lines;
};
#endif // GLINEOVERLAY_H