summaryrefslogtreecommitdiff
path: root/src/c_fl_spinner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_spinner.cpp')
-rw-r--r--src/c_fl_spinner.cpp27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/c_fl_spinner.cpp b/src/c_fl_spinner.cpp
index a09ed17..71d86f8 100644
--- a/src/c_fl_spinner.cpp
+++ b/src/c_fl_spinner.cpp
@@ -127,14 +127,6 @@ void fl_spinner_set_step(SPINNER n, double t) {
reinterpret_cast<Fl_Spinner*>(n)->step(t);
}
-int fl_spinner_get_type(SPINNER n) {
- return reinterpret_cast<Fl_Spinner*>(n)->type();
-}
-
-void fl_spinner_set_type(SPINNER n, int t) {
- reinterpret_cast<Fl_Spinner*>(n)->type(t);
-}
-
double fl_spinner_get_value(SPINNER n) {
return reinterpret_cast<Fl_Spinner*>(n)->value();
}
@@ -146,6 +138,25 @@ void fl_spinner_set_value(SPINNER n, double t) {
+const char * fl_spinner_get_format(SPINNER n) {
+ return reinterpret_cast<Fl_Spinner*>(n)->format();
+}
+
+void fl_spinner_set_format(SPINNER n, const char * f) {
+ reinterpret_cast<Fl_Spinner*>(n)->format(f);
+}
+
+int fl_spinner_get_type(SPINNER n) {
+ return reinterpret_cast<Fl_Spinner*>(n)->type();
+}
+
+void fl_spinner_set_type(SPINNER n, int t) {
+ reinterpret_cast<Fl_Spinner*>(n)->type(t);
+}
+
+
+
+
void fl_spinner_resize(SPINNER n, int x, int y, int w, int h) {
reinterpret_cast<Fl_Spinner*>(n)->resize(x, y, w, h);
}