1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef ENTRY_H
15 #define ENTRY_H
16
17 #include "toolkit.h"
18 #include "../ui/entry.h"
19 #include "../common/context.h"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 void ui_spinner_changed(GtkSpinButton *spinner, UiVarEventData *event);
26
27 int64_t ui_spinbutton_getint(UiInteger *i);
28 void ui_spinbutton_setint(UiInteger *i,
int64_t val);
29
30 double ui_spinbutton_getdouble(UiDouble *d);
31 void ui_spinbutton_setdouble(UiDouble *d,
double val);
32
33 double ui_spinbutton_getrangeval(UiRange *r);
34 void ui_spinbutton_setrangeval(UiRange *r,
double val);
35 void ui_spinbutton_setrange(UiRange *r,
double min,
double max);
36 void ui_spinbutton_setextent(UiRange *r,
double extent);
37
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif
44
45