23 #ifndef GCU_SPECTRUM_DOC_H 24 #define GCU_SPECTRUM_DOC_H 297 void Load (
char const *uri,
char const *mime_type = NULL);
306 void OnXUnitChanged (
int i);
315 void OnYUnitChanged (
int i);
323 void OnXAxisInvert (
bool inverted);
328 void OnShowIntegral ();
336 void OnTransformFID (GtkButton *btn);
344 bool SetProperty (
unsigned property,
char const *value);
348 bool Loaded ()
throw (gcu::LoaderError);
351 void LoadJcampDx (
char const *data);
352 void ReadDataLine (
char const *data, std::list<double> &l);
353 void DoPrint (GtkPrintOperation *print, GtkPrintContext *context,
int page)
const;
354 GtkWindow *GetGtkWindow ();
355 void ReadDataTable (std::istream &s,
double *x,
double *y);
356 double (*GetConversionFunction (SpectrumUnitType oldu, SpectrumUnitType newu,
double &factor,
double &offset)) (double, double, double);
361 double maxx, maxy, minx, miny;
362 double firstx, lastx, deltax, firsty;
363 double xfactor, yfactor;
364 std::vector <JdxVar> variables;
365 int X, Xt, Y, R, I, integral, Rt, It, Rp;
367 double offset, refpoint;
368 GtkWidget *m_XAxisInvertBtn;
369 guint m_XAxisInvertSgn;
405 #endif // GCU_SPECTRUM_DOC_H
The Gtk using base classes.
#define GCU_RO_PROP(type, member)
#define GCU_PROT_PROP(type, member)
SpectrumFormatType Format