summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-buttons-toggle.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-buttons-toggle.adb')
-rw-r--r--src/fltk-widgets-buttons-toggle.adb17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/fltk-widgets-buttons-toggle.adb b/src/fltk-widgets-buttons-toggle.adb
index 2734077..bf4074a 100644
--- a/src/fltk-widgets-buttons-toggle.adb
+++ b/src/fltk-widgets-buttons-toggle.adb
@@ -1,8 +1,13 @@
-with Interfaces.C;
-with System;
-use type System.Address;
+with
+
+ Interfaces.C,
+ System;
+
+use type
+
+ System.Address;
package body FLTK.Widgets.Buttons.Toggle is
@@ -17,6 +22,8 @@ package body FLTK.Widgets.Buttons.Toggle is
pragma Import (C, toggle_button_set_handle_hook, "toggle_button_set_handle_hook");
+
+
function new_fl_toggle_button
(X, Y, W, H : in Interfaces.C.int;
Text : in Interfaces.C.char_array)
@@ -28,6 +35,8 @@ package body FLTK.Widgets.Buttons.Toggle is
pragma Import (C, free_fl_toggle_button, "free_fl_toggle_button");
+
+
procedure fl_toggle_button_draw
(W : in System.Address);
pragma Import (C, fl_toggle_button_draw, "fl_toggle_button_draw");
@@ -86,8 +95,6 @@ package body FLTK.Widgets.Buttons.Toggle is
end Draw;
-
-
function Handle
(This : in out Toggle_Button;
Event : in Event_Kind)