Ignore:
Timestamp:
Jan 13, 2017, 3:21:12 PM (8 years ago)
Author:
Silvan Scherrer
Message:

ncurses: import vendor version 5.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified ncurses/vendor/current/Ada95/gen/terminal_interface-curses-forms.ads.m4

    r85 r1910  
    1111--                                                                          --
    1212------------------------------------------------------------------------------
    13 -- Copyright (c) 1998,2006 Free Software Foundation, Inc.                   --
     13-- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc.              --
    1414--                                                                          --
    1515-- Permission is hereby granted, free of charge, to any person obtaining a  --
     
    3939--  Author:  Juergen Pfeifer, 1996
    4040--  Version Control:
    41 --  $Revision: 1.29 $
    42 --  $Date: 2006/06/25 14:30:21 $
     41--  $Revision: 1.30 $
     42--  $Date: 2009/12/26 17:31:35 $
    4343--  Binding Version 01.00
    4444------------------------------------------------------------------------------
     
    9090
    9191   procedure Free (FA          : in out Field_Array_Access;
    92                    Free_Fields : in Boolean := False);
     92                   Free_Fields : Boolean := False);
    9393   --  Release the memory for an allocated field array
    9494   --  If Free_Fields is True, call Delete() for all the fields in
     
    229229   REQ_PREV_CHOICE  : Form_Request_Code renames F_Previous_Choice;
    230230
    231    procedure Request_Name (Key  : in Form_Request_Code;
     231   procedure Request_Name (Key  : Form_Request_Code;
    232232                           Name : out String);
    233233
     
    288288
    289289   --  ANCHOR(`set_field_just()',`Set_Justification')
    290    procedure Set_Justification (Fld  : in Field;
    291                                 Just : in Field_Justification := None);
     290   procedure Set_Justification (Fld  : Field;
     291                                Just : Field_Justification := None);
    292292   --  AKA
    293293   pragma Inline (Set_Justification);
     
    302302   --  ANCHOR(`set_field_buffer()',`Set_Buffer')
    303303   procedure Set_Buffer
    304      (Fld    : in Field;
    305       Buffer : in Buffer_Number := Buffer_Number'First;
    306       Str    : in String);
     304     (Fld    : Field;
     305      Buffer : Buffer_Number := Buffer_Number'First;
     306      Str    : String);
    307307   --  AKA
    308308   --  Not inlined
     
    310310   --  ANCHOR(`field_buffer()',`Get_Buffer')
    311311   procedure Get_Buffer
    312      (Fld    : in Field;
    313       Buffer : in Buffer_Number := Buffer_Number'First;
     312     (Fld    : Field;
     313      Buffer : Buffer_Number := Buffer_Number'First;
    314314      Str    : out String);
    315315   --  AKA
    316316
    317317   function Get_Buffer
    318      (Fld    : in Field;
    319       Buffer : in Buffer_Number := Buffer_Number'First) return String;
     318     (Fld    : Field;
     319      Buffer : Buffer_Number := Buffer_Number'First) return String;
    320320   --  AKA
    321321   --  Same but as function
     
    323323
    324324   --  ANCHOR(`set_field_status()',`Set_Status')
    325    procedure Set_Status (Fld    : in Field;
    326                          Status : in Boolean := True);
     325   procedure Set_Status (Fld    : Field;
     326                         Status : Boolean := True);
    327327   --  AKA
    328328   pragma Inline (Set_Status);
     
    334334
    335335   --  ANCHOR(`set_field_max()',`Set_Maximum_Size')
    336    procedure Set_Maximum_Size (Fld : in Field;
    337                                Max : in Natural := 0);
     336   procedure Set_Maximum_Size (Fld : Field;
     337                               Max : Natural := 0);
    338338   --  AKA
    339339   pragma Inline (Set_Maximum_Size);
     
    342342
    343343   --  ANCHOR(`set_field_opts()',`Set_Options')
    344    procedure Set_Options (Fld     : in Field;
    345                           Options : in Field_Option_Set);
     344   procedure Set_Options (Fld     : Field;
     345                          Options : Field_Option_Set);
    346346   --  AKA
    347347   --  An overloaded version is defined later. Pragma Inline appears there
    348348
    349349   --  ANCHOR(`field_opts_on()',`Switch_Options')
    350    procedure Switch_Options (Fld     : in Field;
    351                              Options : in Field_Option_Set;
     350   procedure Switch_Options (Fld     : Field;
     351                             Options : Field_Option_Set;
    352352                             On      : Boolean := True);
    353353   --  AKA
     
    356356
    357357   --  ANCHOR(`field_opts()',`Get_Options')
    358    procedure Get_Options (Fld     : in  Field;
     358   procedure Get_Options (Fld     : Field;
    359359                          Options : out Field_Option_Set);
    360360   --  AKA
     
    370370   --  ANCHOR(`set_field_fore()',`Set_Foreground')
    371371   procedure Set_Foreground
    372      (Fld   : in Field;
    373       Fore  : in Character_Attribute_Set := Normal_Video;
    374       Color : in Color_Pair := Color_Pair'First);
     372     (Fld   : Field;
     373      Fore  : Character_Attribute_Set := Normal_Video;
     374      Color : Color_Pair := Color_Pair'First);
    375375   --  AKA
    376376   pragma Inline (Set_Foreground);
    377377
    378378   --  ANCHOR(`field_fore()',`Foreground')
    379    procedure Foreground (Fld  : in  Field;
     379   procedure Foreground (Fld  : Field;
    380380                         Fore : out Character_Attribute_Set);
    381381   --  AKA
    382382
    383383   --  ANCHOR(`field_fore()',`Foreground')
    384    procedure Foreground (Fld   : in  Field;
     384   procedure Foreground (Fld   : Field;
    385385                         Fore  : out Character_Attribute_Set;
    386386                         Color : out Color_Pair);
     
    390390   --  ANCHOR(`set_field_back()',`Set_Background')
    391391   procedure Set_Background
    392      (Fld   : in Field;
    393       Back  : in Character_Attribute_Set := Normal_Video;
    394       Color : in Color_Pair := Color_Pair'First);
     392     (Fld   : Field;
     393      Back  : Character_Attribute_Set := Normal_Video;
     394      Color : Color_Pair := Color_Pair'First);
    395395   --  AKA
    396396   pragma Inline (Set_Background);
    397397
    398398   --  ANCHOR(`field_back()',`Background')
    399    procedure Background (Fld  : in  Field;
     399   procedure Background (Fld  : Field;
    400400                         Back : out Character_Attribute_Set);
    401401   --  AKA
    402402
    403403   --  ANCHOR(`field_back()',`Background')
    404    procedure Background (Fld   : in  Field;
     404   procedure Background (Fld   : Field;
    405405                         Back  : out Character_Attribute_Set;
    406406                         Color : out Color_Pair);
     
    409409
    410410   --  ANCHOR(`set_field_pad()',`Set_Pad_Character')
    411    procedure Set_Pad_Character (Fld : in Field;
    412                                 Pad : in Character := Space);
     411   procedure Set_Pad_Character (Fld : Field;
     412                                Pad : Character := Space);
    413413   --  AKA
    414414   pragma Inline (Set_Pad_Character);
    415415
    416416   --  ANCHOR(`field_pad()',`Pad_Character')
    417    procedure Pad_Character (Fld : in  Field;
     417   procedure Pad_Character (Fld : Field;
    418418                            Pad : out Character);
    419419   --  AKA
     
    423423
    424424   --  ANCHOR(`field_info()',`Info')
    425    procedure Info (Fld                : in  Field;
     425   procedure Info (Fld                : Field;
    426426                   Lines              : out Line_Count;
    427427                   Columns            : out Column_Count;
     
    434434
    435435   --  ANCHOR(`dynamic_field_info()',`Dynamic_Info')
    436    procedure Dynamic_Info (Fld     : in Field;
     436   procedure Dynamic_Info (Fld     : Field;
    437437                           Lines   : out Line_Count;
    438438                           Columns : out Column_Count;
     
    444444
    445445   --  ANCHOR(`set_form_win()',`Set_Window')
    446    procedure Set_Window (Frm : in Form;
    447                          Win : in Window);
     446   procedure Set_Window (Frm : Form;
     447                         Win : Window);
    448448   --  AKA
    449449   pragma Inline (Set_Window);
     
    455455
    456456   --  ANCHOR(`set_form_sub()',`Set_Sub_Window')
    457    procedure Set_Sub_Window (Frm : in Form;
    458                              Win : in Window);
     457   procedure Set_Sub_Window (Frm : Form;
     458                             Win : Window);
    459459   --  AKA
    460460   pragma Inline (Set_Sub_Window);
     
    466466
    467467   --  ANCHOR(`scale_form()',`Scale')
    468    procedure Scale (Frm     : in Form;
     468   procedure Scale (Frm     : Form;
    469469                    Lines   : out Line_Count;
    470470                    Columns : out Column_Count);
     
    474474   --  MANPAGE(`form_hook.3x')
    475475
    476    type Form_Hook_Function is access procedure (Frm : in Form);
     476   type Form_Hook_Function is access procedure (Frm : Form);
    477477   pragma Convention (C, Form_Hook_Function);
    478478
    479479   --  ANCHOR(`set_field_init()',`Set_Field_Init_Hook')
    480    procedure Set_Field_Init_Hook (Frm  : in Form;
    481                                   Proc : in Form_Hook_Function);
     480   procedure Set_Field_Init_Hook (Frm  : Form;
     481                                  Proc : Form_Hook_Function);
    482482   --  AKA
    483483   pragma Inline (Set_Field_Init_Hook);
    484484
    485485   --  ANCHOR(`set_field_term()',`Set_Field_Term_Hook')
    486    procedure Set_Field_Term_Hook (Frm  : in Form;
    487                                   Proc : in Form_Hook_Function);
     486   procedure Set_Field_Term_Hook (Frm  : Form;
     487                                  Proc : Form_Hook_Function);
    488488   --  AKA
    489489   pragma Inline (Set_Field_Term_Hook);
    490490
    491491   --  ANCHOR(`set_form_init()',`Set_Form_Init_Hook')
    492    procedure Set_Form_Init_Hook (Frm  : in Form;
    493                                  Proc : in Form_Hook_Function);
     492   procedure Set_Form_Init_Hook (Frm  : Form;
     493                                 Proc : Form_Hook_Function);
    494494   --  AKA
    495495   pragma Inline (Set_Form_Init_Hook);
    496496
    497497   --  ANCHOR(`set_form_term()',`Set_Form_Term_Hook')
    498    procedure Set_Form_Term_Hook (Frm  : in Form;
    499                                  Proc : in Form_Hook_Function);
     498   procedure Set_Form_Term_Hook (Frm  : Form;
     499                                 Proc : Form_Hook_Function);
    500500   --  AKA
    501501   pragma Inline (Set_Form_Term_Hook);
     
    524524
    525525   --  ANCHOR(`set_form_fields()',`Redefine')
    526    procedure Redefine (Frm  : in Form;
    527                        Flds : in Field_Array_Access);
     526   procedure Redefine (Frm  : Form;
     527                       Flds : Field_Array_Access);
    528528   --  AKA
    529529   pragma Inline (Redefine);
    530530
    531531   --  ANCHOR(`set_form_fields()',`Set_Fields')
    532    procedure Set_Fields (Frm  : in Form;
    533                          Flds : in Field_Array_Access) renames Redefine;
     532   procedure Set_Fields (Frm  : Form;
     533                         Flds : Field_Array_Access) renames Redefine;
    534534   --  AKA
    535535   --  pragma Inline (Set_Fields);
     
    547547
    548548   --  ANCHOR(`move_field()',`Move')
    549    procedure Move (Fld    : in Field;
    550                    Line   : in Line_Position;
    551                    Column : in Column_Position);
     549   procedure Move (Fld    : Field;
     550                   Line   : Line_Position;
     551                   Column : Column_Position);
    552552   --  AKA
    553553   pragma Inline (Move);
     
    575575
    576576   --  ANCHOR(`set_form_opts()',`Set_Options')
    577    procedure Set_Options (Frm     : in Form;
    578                           Options : in Form_Option_Set);
     577   procedure Set_Options (Frm     : Form;
     578                          Options : Form_Option_Set);
    579579   --  AKA
    580580   pragma Inline (Set_Options);
    581581
    582582   --  ANCHOR(`form_opts_on()',`Switch_Options')
    583    procedure Switch_Options (Frm     : in Form;
    584                              Options : in Form_Option_Set;
     583   procedure Switch_Options (Frm     : Form;
     584                             Options : Form_Option_Set;
    585585                             On      : Boolean := True);
    586586   --  AKA
     
    589589
    590590   --  ANCHOR(`form_opts()',`Get_Options')
    591    procedure Get_Options (Frm     : in  Form;
     591   procedure Get_Options (Frm     : Form;
    592592                          Options : out Form_Option_Set);
    593593   --  AKA
     
    601601
    602602   --  ANCHOR(`post_form()',`Post')
    603    procedure Post (Frm  : in Form;
    604                    Post : in Boolean := True);
     603   procedure Post (Frm  : Form;
     604                   Post : Boolean := True);
    605605   --  AKA
    606606   --  ALIAS(`unpost_form()')
     
    644644
    645645   --  ANCHOR(`set_current_field()',`Set_Current')
    646    procedure Set_Current (Frm : in Form;
    647                           Fld : in Field);
     646   procedure Set_Current (Frm : Form;
     647                          Fld : Field);
    648648   --  AKA
    649649   pragma Inline (Set_Current);
    650650
    651651   --  ANCHOR(`current_field()',`Current')
    652    function Current (Frm : in Form) return Field;
     652   function Current (Frm : Form) return Field;
    653653   --  AKA
    654654   pragma Inline (Current);
    655655
    656656   --  ANCHOR(`set_form_page()',`Set_Page')
    657    procedure Set_Page (Frm  : in Form;
    658                        Page : in Page_Number := Page_Number'First);
     657   procedure Set_Page (Frm  : Form;
     658                       Page : Page_Number := Page_Number'First);
    659659   --  AKA
    660660   pragma Inline (Set_Page);
     
    676676
    677677   --  ANCHOR(`set_new_page()',`Set_New_Page')
    678    procedure Set_New_Page (Fld      : in Field;
    679                            New_Page : in Boolean := True);
     678   procedure Set_New_Page (Fld      : Field;
     679                           New_Page : Boolean := True);
    680680   --  AKA
    681681   pragma Inline (Set_New_Page);
Note: See TracChangeset for help on using the changeset viewer.