diff options
Diffstat (limited to 'src/fltk-widgets-valuators-value_inputs.ads')
-rw-r--r-- | src/fltk-widgets-valuators-value_inputs.ads | 154 |
1 files changed, 0 insertions, 154 deletions
diff --git a/src/fltk-widgets-valuators-value_inputs.ads b/src/fltk-widgets-valuators-value_inputs.ads deleted file mode 100644 index fbf0fdf..0000000 --- a/src/fltk-widgets-valuators-value_inputs.ads +++ /dev/null @@ -1,154 +0,0 @@ - - -with - - FLTK.Widgets.Inputs; - - -package FLTK.Widgets.Valuators.Value_Inputs is - - - type Value_Input is new Valuator with private; - - type Value_Input_Reference (Data : not null access Value_Input'Class) is - limited null record with Implicit_Dereference => Data; - - - - - package Forge is - - function Create - (X, Y, W, H : in Integer; - Text : in String := "") - return Value_Input; - - end Forge; - - - - - function Input - (This : in Value_Input) - return FLTK.Widgets.Inputs.Input_Reference; - - - - - function Get_Cursor_Color - (This : in Value_Input) - return Color; - - procedure Set_Cursor_Color - (This : in out Value_Input; - Col : in Color); - - - - - function Get_Shortcut - (This : in Value_Input) - return Key_Combo; - - procedure Set_Shortcut - (This : in out Value_Input; - Key : in Key_Combo); - - - - - function Is_Soft - (This : in Value_Input) - return Boolean; - - procedure Set_Soft - (This : in out Value_Input; - To : in Boolean); - - - - - function Get_Text_Color - (This : in Value_Input) - return Color; - - procedure Set_Text_Color - (This : in out Value_Input; - Col : in Color); - - function Get_Text_Font - (This : in Value_Input) - return Font_Kind; - - procedure Set_Text_Font - (This : in out Value_Input; - Font : in Font_Kind); - - function Get_Text_Size - (This : in Value_Input) - return Font_Size; - - procedure Set_Text_Size - (This : in out Value_Input; - Size : in Font_Size); - - - - - procedure Draw - (This : in out Value_Input); - - function Handle - (This : in out Value_Input; - Event : in Event_Kind) - return Event_Outcome; - - -private - - - package INP renames FLTK.Widgets.Inputs; - - - type Input_Access is access INP.Input; - - - type Value_Input is new Valuator with record - My_Input : Input_Access; - end record; - - overriding procedure Finalize - (This : in out Value_Input); - - - - - pragma Inline (Input); - - - pragma Inline (Get_Cursor_Color); - pragma Inline (Set_Cursor_Color); - - - pragma Inline (Get_Shortcut); - pragma Inline (Set_Shortcut); - - - pragma Inline (Is_Soft); - pragma Inline (Set_Soft); - - - pragma Inline (Get_Text_Color); - pragma Inline (Set_Text_Color); - pragma Inline (Get_Text_Font); - pragma Inline (Set_Text_Font); - pragma Inline (Get_Text_Size); - pragma Inline (Set_Text_Size); - - - pragma Inline (Draw); - pragma Inline (Handle); - - -end FLTK.Widgets.Valuators.Value_Inputs; - |