summaryrefslogtreecommitdiff
path: root/body/fltk-widgets-valuators-adjusters.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-widgets-valuators-adjusters.adb')
-rw-r--r--body/fltk-widgets-valuators-adjusters.adb20
1 files changed, 15 insertions, 5 deletions
diff --git a/body/fltk-widgets-valuators-adjusters.adb b/body/fltk-widgets-valuators-adjusters.adb
index 89294e0..2ffad15 100644
--- a/body/fltk-widgets-valuators-adjusters.adb
+++ b/body/fltk-widgets-valuators-adjusters.adb
@@ -21,6 +21,8 @@ package body FLTK.Widgets.Valuators.Adjusters is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_adjuster
(X, Y, W, H : in Interfaces.C.int;
Text : in Interfaces.C.char_array)
@@ -36,6 +38,8 @@ package body FLTK.Widgets.Valuators.Adjusters is
+ -- Allow Outside Range --
+
function fl_adjuster_is_soft
(A : in Storage.Integer_Address)
return Interfaces.C.int;
@@ -51,6 +55,8 @@ package body FLTK.Widgets.Valuators.Adjusters is
+ -- Drawing, Events --
+
procedure fl_adjuster_value_damage
(A : in Storage.Integer_Address);
pragma Import (C, fl_adjuster_value_damage, "fl_adjuster_value_damage");
@@ -125,11 +131,11 @@ package body FLTK.Widgets.Valuators.Adjusters is
begin
return This : Adjuster do
This.Void_Ptr := new_fl_adjuster
- (Interfaces.C.int (X),
- Interfaces.C.int (Y),
- Interfaces.C.int (W),
- Interfaces.C.int (H),
- Interfaces.C.To_C (Text));
+ (Interfaces.C.int (X),
+ Interfaces.C.int (Y),
+ Interfaces.C.int (W),
+ Interfaces.C.int (H),
+ Interfaces.C.To_C (Text));
Extra_Init (This, X, Y, W, H, Text);
end return;
end Create;
@@ -155,6 +161,8 @@ package body FLTK.Widgets.Valuators.Adjusters is
-- API Subprograms --
-----------------------
+ -- Allow Outside Range --
+
function Is_Soft
(This : in Adjuster)
return Boolean is
@@ -173,6 +181,8 @@ package body FLTK.Widgets.Valuators.Adjusters is
+ -- Drawing, Events --
+
procedure Value_Damage
(This : in out Adjuster) is
begin