summaryrefslogtreecommitdiff
path: root/src/fltk-widgets.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-16 12:17:46 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-16 12:17:46 +1300
commitba1719013e5bab82a2accb4aadfd8451c3ebc931 (patch)
tree0ce67b8257b0ed05e50704ec6a808aac0659816b /src/fltk-widgets.ads
parent106316bcedec72c5380a7544c27be6a5c117e57a (diff)
Fixed bug in Fl_Choice binding, filled small hole in Fl_Menu_Button binding
Diffstat (limited to 'src/fltk-widgets.ads')
-rw-r--r--src/fltk-widgets.ads13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fltk-widgets.ads b/src/fltk-widgets.ads
index 5765196..03c3a59 100644
--- a/src/fltk-widgets.ads
+++ b/src/fltk-widgets.ads
@@ -433,6 +433,19 @@ private
pragma Inline (fl_widget_set_label);
+ function fl_widget_get_type
+ (W : in Storage.Integer_Address)
+ return Interfaces.C.unsigned_char;
+ pragma Import (C, fl_widget_get_type, "fl_widget_get_type");
+ pragma Inline (fl_widget_get_type);
+
+ procedure fl_widget_set_type
+ (W : in Storage.Integer_Address;
+ T : in Interfaces.C.unsigned_char);
+ pragma Import (C, fl_widget_set_type, "fl_widget_set_type");
+ pragma Inline (fl_widget_set_type);
+
+
pragma Inline (Activate);
pragma Inline (Deactivate);
pragma Inline (Is_Active);