|
Revision 2, 1.2 KB
(checked in by emasson, 3 years ago)
|
|
initial import for the community edition
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | #ifndef _FIELDMETERGRAPH_H_ |
|---|
| 13 | #define _FIELDMETERGRAPH_H_ |
|---|
| 14 | |
|---|
| 15 | #define FIELDMETERGRAPH_H_CVSID "$Id: fieldmetergraph.h,v 1.1.1.1 2008/05/04 15:53:48 emasson Exp $" |
|---|
| 16 | |
|---|
| 17 | #include "meter.h" |
|---|
| 18 | #include "fieldmeterdecay.h" |
|---|
| 19 | |
|---|
| 20 | class FieldMeterGraph : public FieldMeterDecay { |
|---|
| 21 | public: |
|---|
| 22 | FieldMeterGraph( XOSView *parent, int numfields, |
|---|
| 23 | const char *title = "", const char *legend = "", |
|---|
| 24 | int docaptions = 0, int dolegends = 0, int dousedlegends = 0 ); |
|---|
| 25 | virtual ~FieldMeterGraph( void ); |
|---|
| 26 | |
|---|
| 27 | virtual void drawfields( int manditory = 0 ); |
|---|
| 28 | |
|---|
| 29 | virtual void checkResources( void ); |
|---|
| 30 | |
|---|
| 31 | protected: |
|---|
| 32 | void setNumCols( int n ); |
|---|
| 33 | |
|---|
| 34 | int useGraph_; |
|---|
| 35 | int graphNumCols_; |
|---|
| 36 | int graphpos_; |
|---|
| 37 | int firstTimeDrawn_; |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | float *heightfield_; |
|---|
| 42 | private: |
|---|
| 43 | void drawBar( int i ); |
|---|
| 44 | }; |
|---|
| 45 | |
|---|
| 46 | #endif |
|---|