diff options
Diffstat (limited to 'src/fltk-widgets-buttons-radio.adb')
-rw-r--r-- | src/fltk-widgets-buttons-radio.adb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/fltk-widgets-buttons-radio.adb b/src/fltk-widgets-buttons-radio.adb index 2a9849c..26388a8 100644 --- a/src/fltk-widgets-buttons-radio.adb +++ b/src/fltk-widgets-buttons-radio.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.Radio is @@ -17,6 +22,8 @@ package body FLTK.Widgets.Buttons.Radio is pragma Import (C, radio_button_set_handle_hook, "radio_button_set_handle_hook"); + + function new_fl_radio_button (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -28,6 +35,8 @@ package body FLTK.Widgets.Buttons.Radio is pragma Import (C, free_fl_radio_button, "free_fl_radio_button"); + + procedure fl_radio_button_draw (W : in System.Address); pragma Import (C, fl_radio_button_draw, "fl_radio_button_draw"); @@ -86,8 +95,6 @@ package body FLTK.Widgets.Buttons.Radio is end Draw; - - function Handle (This : in out Radio_Button; Event : in Event_Kind) |