diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 16:42:19 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 16:42:19 +1100 |
commit | 4e6213ef584b9c75f24d0a8e7edac31541fd233b (patch) | |
tree | 1893b96f9e5629c64fc226b63038194e441cf12b /src/fltk-widgets-valuators-counters-simple.ads | |
parent | 329ff5ddb41389330b7c3843f550358bf299c98f (diff) |
Added FLTK.Widgets.Valuators.Counters.Simple
Diffstat (limited to 'src/fltk-widgets-valuators-counters-simple.ads')
-rw-r--r-- | src/fltk-widgets-valuators-counters-simple.ads | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/fltk-widgets-valuators-counters-simple.ads b/src/fltk-widgets-valuators-counters-simple.ads new file mode 100644 index 0000000..195db5a --- /dev/null +++ b/src/fltk-widgets-valuators-counters-simple.ads @@ -0,0 +1,38 @@ + + +package FLTK.Widgets.Valuators.Counters.Simple is + + + type Simple_Counter is new Counter with private; + + + + + function Create + (X, Y, W, H : in Integer; + Text : in String) + return Simple_Counter; + + + + + 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 Finalize + (This : in out Simple_Counter); + + +end FLTK.Widgets.Valuators.Counters.Simple; + |