summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-clocks.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
commite93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch)
tree3661530027db6809a9cbad7b2477416009e00787 /src/fltk-widgets-clocks.ads
parent53aa8144851913994b963ed611cca8885b8f9a9e (diff)
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/fltk-widgets-clocks.ads')
-rw-r--r--src/fltk-widgets-clocks.ads10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/fltk-widgets-clocks.ads b/src/fltk-widgets-clocks.ads
index 5117fb1..33edf37 100644
--- a/src/fltk-widgets-clocks.ads
+++ b/src/fltk-widgets-clocks.ads
@@ -72,17 +72,15 @@ package FLTK.Widgets.Clocks is
(This : in out Clock;
X, Y, W, H : in Integer);
- function Handle
- (This : in out Clock;
- Event : in Event_Kind)
- return Event_Outcome;
-
private
type Clock is new Widget with null record;
+ overriding procedure Initialize
+ (This : in out Clock);
+
overriding procedure Finalize
(This : in out Clock);
@@ -105,8 +103,8 @@ private
pragma Inline (Set_Time);
pragma Inline (Draw);
- pragma Inline (Handle);
end FLTK.Widgets.Clocks;
+