This repository has been archived by the owner on Mar 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRangeWindow.h
74 lines (58 loc) · 2.06 KB
/
RangeWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#ifndef __RANGEWINDOW
#define __RANGEWINDOW
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Menu_Bar.H>
#include <FL/Fl_Menu_Item.H>
#include <FL/Fl_Browser.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_File_Chooser.H>
#include <stdlib.h>
#include <stdio.h>
#include "GBCSolution.h"
#include "hpdf.h"
class RangeWindow : public Fl_Window {
public:
RangeWindow(int w, int h, GBCSolution* inSLN);
~RangeWindow();
int* colwidths;
int min,max,step,maxvalid;
Fl_Menu_Bar* menu;
Fl_Browser* tbl;
GBCSolution* Sln;
private:
static void cb_Nothing(Fl_Widget* , void* );
static void cb_Min0(Fl_Widget* , void*);
static void cb_Min50(Fl_Widget* , void*);
static void cb_Min100(Fl_Widget* , void*);
static void cb_Min250(Fl_Widget* , void*);
static void cb_Min500(Fl_Widget* , void*);
static void cb_Min750(Fl_Widget* , void*);
static void cb_Min1000(Fl_Widget* , void*);
static void cb_Min2000(Fl_Widget* , void*);
static void cb_Max100(Fl_Widget* , void*);
static void cb_Max250(Fl_Widget* , void*);
static void cb_Max500(Fl_Widget* , void*);
static void cb_Max750(Fl_Widget* , void*);
static void cb_Max1000(Fl_Widget* , void*);
static void cb_Max1760(Fl_Widget* , void*);
static void cb_Max2000(Fl_Widget* , void*);
static void cb_MaxMax(Fl_Widget* , void*);
static void cb_Step1(Fl_Widget* , void*);
static void cb_Step5(Fl_Widget* , void*);
static void cb_Step10(Fl_Widget* , void*);
static void cb_Step25(Fl_Widget* , void*);
static void cb_Step50(Fl_Widget* , void*);
static void cb_Step100(Fl_Widget* , void*);
static void cb_Step250(Fl_Widget* , void*);
static void cb_ExportCSV(Fl_Widget*, void*);
static void cb_ExportExcel(Fl_Widget*, void*);
static void cb_ExportHTML(Fl_Widget*, void*);
static void cb_ExportSQL(Fl_Widget*, void*);
static void cb_ExportXML(Fl_Widget*, void*);
static void cb_ExportOO(Fl_Widget*, void*);
static void cb_ExportPDF(Fl_Widget*, void*);
static void cb_Close(Fl_Widget*, void*);
void GenTable(void);
};
#endif