summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-buttons-light-check.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-buttons-light-check.adb')
-rw-r--r--src/fltk-widgets-buttons-light-check.adb13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fltk-widgets-buttons-light-check.adb b/src/fltk-widgets-buttons-light-check.adb
index e565461..de35223 100644
--- a/src/fltk-widgets-buttons-light-check.adb
+++ b/src/fltk-widgets-buttons-light-check.adb
@@ -6,6 +6,7 @@
with
+ FLTK.Widgets.Groups,
Interfaces.C.Strings;
@@ -149,6 +150,18 @@ package body FLTK.Widgets.Buttons.Light.Check is
end return;
end Create;
+
+ function Create
+ (Parent : in out FLTK.Widgets.Groups.Group'Class;
+ X, Y, W, H : in Integer;
+ Text : in String := "")
+ return Check_Button is
+ begin
+ return This : Check_Button := Create (X, Y, W, H, Text) do
+ Parent.Add (This);
+ end return;
+ end Create;
+
end Forge;