summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-clocks-updated.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-clocks-updated.ads')
-rw-r--r--src/fltk-widgets-clocks-updated.ads19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/fltk-widgets-clocks-updated.ads b/src/fltk-widgets-clocks-updated.ads
index 35bff2c..9830d13 100644
--- a/src/fltk-widgets-clocks-updated.ads
+++ b/src/fltk-widgets-clocks-updated.ads
@@ -5,6 +5,9 @@ package FLTK.Widgets.Clocks.Updated is
type Updated_Clock is new Clock with private;
+ type Updated_Clock_Reference (Data : not null access Updated_Clock'Class) is
+ limited null record with Implicit_Dereference => Data;
+
@@ -15,6 +18,12 @@ package FLTK.Widgets.Clocks.Updated is
Text : in String)
return Updated_Clock;
+ function Create
+ (Kind : in Box_Kind;
+ X, Y, W, H : in Integer;
+ Text : in String)
+ return Updated_Clock;
+
end Forge;
@@ -23,6 +32,10 @@ package FLTK.Widgets.Clocks.Updated is
procedure Draw
(This : in out Updated_Clock);
+ procedure Draw
+ (This : in out Clock;
+ X, Y, W, H : in Integer);
+
function Handle
(This : in out Updated_Clock;
Event : in Event_Kind)
@@ -38,5 +51,11 @@ private
(This : in out Updated_Clock);
+
+
+ pragma Inline (Draw);
+ pragma Inline (Handle);
+
+
end FLTK.Widgets.Clocks.Updated;