diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 17:17:54 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 17:17:54 +1100 |
commit | 098c61c36dfc274a891ef90db2cb46b473c5fde3 (patch) | |
tree | a2c9eaf93f6c6562f9475808046ad715462787ec /src/fltk-widgets-valuators-dials.ads | |
parent | 216a255f32ba6378dde8dd8f9a22adf46d25bfbf (diff) |
Added FLTK.Widgets.Valuators.Dials
Diffstat (limited to 'src/fltk-widgets-valuators-dials.ads')
-rw-r--r-- | src/fltk-widgets-valuators-dials.ads | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/fltk-widgets-valuators-dials.ads b/src/fltk-widgets-valuators-dials.ads new file mode 100644 index 0000000..cb7d05d --- /dev/null +++ b/src/fltk-widgets-valuators-dials.ads @@ -0,0 +1,61 @@ + + +package FLTK.Widgets.Valuators.Dials is + + + type Dial is new Valuator with private; + + + + + function Create + (X, Y, W, H : in Integer; + Text : in String) + return Dial; + + + + + function Get_First_Angle + (This : in Dial) + return Integer; + + procedure Set_First_Angle + (This : in out Dial; + To : in Integer); + + function Get_Second_Angle + (This : in Dial) + return Integer; + + procedure Set_Second_Angle + (This : in out Dial; + To : in Integer); + + procedure Set_Angles + (This : in out Dial; + One, Two : in Integer); + + + + + procedure Draw + (This : in out Dial); + + function Handle + (This : in out Dial; + Event : in Event_Kind) + return Event_Outcome; + + +private + + + type Dial is new Valuator with null record; + + overriding procedure Finalize + (This : in out Dial); + + +end FLTK.Widgets.Valuators.Dials; + |