23 #ifndef GCU_SPECTRUM_VIEW_H
24 #define GCU_SPECTRUM_VIEW_H
32 class SpectrumDocument;
40 friend class SpectrumViewPrivate;
64 void SetAxisBounds (GogAxisType target,
double min,
double max,
bool inverted);
72 void SetAxisLabel (GogAxisType target,
char const *unit);
80 void ShowAxis (GogAxisType target,
bool show);
88 void InvertAxis (GogAxisType target,
bool inverted);
97 void Render (cairo_t *cr,
double width,
double height);
145 void SaveAsImage (std::string
const &filename,
char const *mime_type,
unsigned width,
unsigned height)
const;
161 GtkSpinButton *xminbtn, *xmaxbtn, *yminbtn, *ymaxbtn;
162 GtkRange *xrange, *yrange;
163 gulong minsgn, maxsgn, yminsgn, ymaxsgn, xrangesgn, yrangesgn;
164 double xmin, xmax, xstep, ymin, ymax, ystep;
165 GtkWidget *m_ExtraWidget;
195 #endif // GCU_SPECTRUM_VIEW_H