From 8b01c23e0ba1fd22e0bfc797d6ca540c79079674 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 15:45:37 +1300 Subject: Format string methods for Fl_Spinner --- src/c_fl_spinner.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/c_fl_spinner.h') diff --git a/src/c_fl_spinner.h b/src/c_fl_spinner.h index 2c5e97d..d92e6e1 100644 --- a/src/c_fl_spinner.h +++ b/src/c_fl_spinner.h @@ -34,12 +34,16 @@ extern "C" void fl_spinner_set_maximum(SPINNER n, double t); extern "C" void fl_spinner_range(SPINNER n, double a, double b); extern "C" double fl_spinner_get_step(SPINNER n); extern "C" void fl_spinner_set_step(SPINNER n, double t); -extern "C" int fl_spinner_get_type(SPINNER n); -extern "C" void fl_spinner_set_type(SPINNER n, int t); extern "C" double fl_spinner_get_value(SPINNER n); extern "C" void fl_spinner_set_value(SPINNER n, double t); +extern "C" const char * fl_spinner_get_format(SPINNER n); +extern "C" void fl_spinner_set_format(SPINNER n, const char * f); +extern "C" int fl_spinner_get_type(SPINNER n); +extern "C" void fl_spinner_set_type(SPINNER n, int t); + + extern "C" void fl_spinner_resize(SPINNER n, int x, int y, int w, int h); -- cgit