UNIXworkcode

1 /* 2 * To change this license header, choose License Headers in Project Properties. 3 * To change this template file, choose Tools | Templates 4 * and open the template in the editor. 5 */ 6 7 /* 8 * File: entry.h 9 * Author: olaf 10 * 11 * Created on 11. November 2017, 13:38 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 /* ENTRY_H */ 44 45