diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-20 00:42:19 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-20 00:42:19 +1300 |
commit | 82eb9509e9e273e8e9e7e584553ccc49f476d4a3 (patch) | |
tree | fcd903955511ba8798e76f76154c4d5b841ad6a5 /src/c_fl_input_.cpp | |
parent | f27eb859eff94ec9c13239daee15f60ffecde089 (diff) |
Filled holes in Fl_Text_Editor binding and make key/modifier/shortcut/flag representations more in line with C++
Diffstat (limited to 'src/c_fl_input_.cpp')
-rw-r--r-- | src/c_fl_input_.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c_fl_input_.cpp b/src/c_fl_input_.cpp index 158a18c..7fe0556 100644 --- a/src/c_fl_input_.cpp +++ b/src/c_fl_input_.cpp @@ -118,11 +118,11 @@ void fl_input_set_input_type(INPUT i, int t) { static_cast<Fl_Input_*>(i)->input_type(t); } -unsigned long fl_input_get_shortcut(INPUT i) { +int fl_input_get_shortcut(INPUT i) { return static_cast<Fl_Input_*>(i)->shortcut(); } -void fl_input_set_shortcut(INPUT i, unsigned long t) { +void fl_input_set_shortcut(INPUT i, int t) { static_cast<Fl_Input_*>(i)->shortcut(t); } |