diff options
Diffstat (limited to 'body/fltk-labels.adb')
-rw-r--r-- | body/fltk-labels.adb | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/body/fltk-labels.adb b/body/fltk-labels.adb index 006db6b..e03e5c5 100644 --- a/body/fltk-labels.adb +++ b/body/fltk-labels.adb @@ -16,6 +16,8 @@ package body FLTK.Labels is -- Functions From C -- ------------------------ + -- Allocation -- + function new_fl_label (V : in Interfaces.C.Strings.chars_ptr; F : in Interfaces.C.int; @@ -35,6 +37,8 @@ package body FLTK.Labels is + -- Attributes -- + procedure fl_label_set_value (L : in Storage.Integer_Address; V : in Interfaces.C.Strings.chars_ptr); @@ -114,6 +118,8 @@ package body FLTK.Labels is + -- Drawing -- + procedure fl_label_draw (L : in Storage.Integer_Address; X, Y, W, H : in Interfaces.C.int; @@ -130,9 +136,9 @@ package body FLTK.Labels is - ----------------------------------- - -- Controlled Type Subprograms -- - ----------------------------------- + ------------------- + -- Destructors -- + ------------------- procedure Finalize (This : in out Label) is @@ -147,9 +153,9 @@ package body FLTK.Labels is - ----------------- - -- Label API -- - ----------------- + -------------------- + -- Constructors -- + -------------------- package body Forge is @@ -183,6 +189,12 @@ package body FLTK.Labels is + ----------------------- + -- API Subprograms -- + ----------------------- + + -- Attributes -- + function Get_Value (This : in Label) return String is @@ -325,6 +337,8 @@ package body FLTK.Labels is + -- Drawing -- + procedure Draw (This : in out Label; X, Y, W, H : in Integer; @@ -339,6 +353,7 @@ package body FLTK.Labels is Interfaces.C.unsigned (Place)); end Draw; + procedure Measure (This : in Label; W, H : out Integer) is |