summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-valuators-counters-simple.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-valuators-counters-simple.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-valuators-counters-simple.ads')
-rw-r--r--src/fltk-widgets-valuators-counters-simple.ads19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/fltk-widgets-valuators-counters-simple.ads b/src/fltk-widgets-valuators-counters-simple.ads
index 99e4bee..9ff57fe 100644
--- a/src/fltk-widgets-valuators-counters-simple.ads
+++ b/src/fltk-widgets-valuators-counters-simple.ads
@@ -25,22 +25,14 @@ package FLTK.Widgets.Valuators.Counters.Simple is
end Forge;
-
-
- procedure Draw
- (This : in out Simple_Counter);
-
- function Handle
- (This : in out Simple_Counter;
- Event : in Event_Kind)
- return Event_Outcome;
-
-
private
type Simple_Counter is new Counter with null record;
+ overriding procedure Initialize
+ (This : in out Simple_Counter);
+
overriding procedure Finalize
(This : in out Simple_Counter);
@@ -55,9 +47,6 @@ private
with Inline;
- pragma Inline (Draw);
- pragma Inline (Handle);
-
-
end FLTK.Widgets.Valuators.Counters.Simple;
+