aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-widgets-inputs-text.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-widgets-inputs-text.adb')
-rw-r--r--body/fltk-widgets-inputs-text.adb22
1 files changed, 6 insertions, 16 deletions
diff --git a/body/fltk-widgets-inputs-text.adb b/body/fltk-widgets-inputs-text.adb
index efed39c..ddac5d9 100644
--- a/body/fltk-widgets-inputs-text.adb
+++ b/body/fltk-widgets-inputs-text.adb
@@ -17,6 +17,8 @@ package body FLTK.Widgets.Inputs.Text is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_text_input
(X, Y, W, H : in Interfaces.C.int;
Text : in Interfaces.C.char_array)
@@ -32,6 +34,8 @@ package body FLTK.Widgets.Inputs.Text is
+ -- Drawing, Events --
+
procedure fl_text_input_draw
(T : in Storage.Integer_Address);
pragma Import (C, fl_text_input_draw, "fl_text_input_draw");
@@ -51,22 +55,6 @@ package body FLTK.Widgets.Inputs.Text is
-- Destructors --
-------------------
- -- Message received, every zig will take off
- procedure text_input_extra_final_hook
- (Ada_Obj : in Storage.Integer_Address);
- pragma Export (C, text_input_extra_final_hook, "text_input_extra_final_hook");
-
- procedure text_input_extra_final_hook
- (Ada_Obj : in Storage.Integer_Address)
- is
- My_Text_Input : Text_Input;
- for My_Text_Input'Address use Storage.To_Address (Ada_Obj);
- pragma Import (Ada, My_Text_Input);
- begin
- Extra_Final (My_Text_Input);
- end text_input_extra_final_hook;
-
-
procedure Extra_Final
(This : in out Text_Input) is
begin
@@ -171,6 +159,8 @@ package body FLTK.Widgets.Inputs.Text is
-- API Subprograms --
-----------------------
+ -- Drawing, Events --
+
procedure Draw
(This : in out Text_Input) is
begin