From ca9cca53a19145216cb0e00462db239e1194696d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 29 Apr 2018 00:39:36 +1000 Subject: FLTK.Event done, a whole bunch more polishing --- src/fltk-widgets-charts.ads | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'src/fltk-widgets-charts.ads') diff --git a/src/fltk-widgets-charts.ads b/src/fltk-widgets-charts.ads index 50373b0..b180bc9 100644 --- a/src/fltk-widgets-charts.ads +++ b/src/fltk-widgets-charts.ads @@ -5,6 +5,9 @@ package FLTK.Widgets.Charts is type Chart is new Widget with private; + type Chart_Reference (Data : not null access Chart'Class) is limited null record + with Implicit_Dereference => Data; + @@ -104,6 +107,13 @@ package FLTK.Widgets.Charts is + procedure Resize + (This : in out Chart; + W, H : in Integer); + + + + procedure Draw (This : in out Chart); @@ -122,5 +132,37 @@ private (This : in out Chart); + + + pragma Inline (Add); + pragma Inline (Insert); + pragma Inline (Replace); + pragma Inline (Clear); + + + pragma Inline (Will_Autosize); + pragma Inline (Set_Autosize); + pragma Inline (Get_Bounds); + pragma Inline (Set_Bounds); + pragma Inline (Get_Maximum_Size); + pragma Inline (Set_Maximum_Size); + pragma Inline (Get_Size); + + + pragma Inline (Get_Text_Color); + pragma Inline (Set_Text_Color); + pragma Inline (Get_Text_Font); + pragma Inline (Set_Text_Font); + pragma Inline (Get_Text_Size); + pragma Inline (Set_Text_Size); + + + pragma Inline (Resize); + + + pragma Inline (Draw); + pragma Inline (Handle); + + end FLTK.Widgets.Charts; -- cgit