OSCAR-code/Graphs/gFlagsLine.h

38 lines
885 B
C
Raw Normal View History

2011-06-26 08:30:44 +00:00
/********************************************************************
gFlagsLine Header
Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
License: GPL
*********************************************************************/
#ifndef GFLAGSLINE_H
#define GFLAGSLINE_H
#include "graphlayer.h"
class gFlagsGroup;
2011-06-26 08:30:44 +00:00
class gFlagsLine:public gLayer
{
friend class gFlagsGroup;
2011-06-26 08:30:44 +00:00
public:
gFlagsLine(gPointData *d=NULL,QColor col=QColor("black"),QString _label="",int _line_num=0,int _total_lines=0);
virtual ~gFlagsLine();
virtual void Plot(gGraphWindow & w,float scrx,float scry);
protected:
QString label;
int line_num,total_lines;
};
class gFlagsGroup:public gLayerGroup
{
public:
gFlagsGroup();
virtual ~gFlagsGroup();
virtual void Plot(gGraphWindow &w, float scrx, float scry);
};
2011-06-26 08:30:44 +00:00
#endif // GFLAGSLINE_H