23 #ifndef GCU_SPECTRUM_DOC_H
24 #define GCU_SPECTRUM_DOC_H
297 void Load (
char const *uri,
char const *mime_type = NULL);
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);
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
void Load(char const *uri, char const *mime_type=NULL)
void OnTransformFID(GtkButton *btn)
#define GCU_RO_PROP(type, member)
bool SetProperty(unsigned property, char const *value)
#define GCU_PROT_PROP(type, member)
void OnXUnitChanged(int i)
SpectrumFormatType Format
void OnXAxisInvert(bool inverted)
void OnYUnitChanged(int i)