- Timestamp:
- Jan 13, 2017, 3:21:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified ncurses/vendor/current/Ada95/gen/terminal_interface-curses-forms.ads.m4 ¶
r85 r1910 11 11 -- -- 12 12 ------------------------------------------------------------------------------ 13 -- Copyright (c) 1998 ,2006 Free Software Foundation, Inc.--13 -- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. -- 14 14 -- -- 15 15 -- Permission is hereby granted, free of charge, to any person obtaining a -- … … 39 39 -- Author: Juergen Pfeifer, 1996 40 40 -- Version Control: 41 -- $Revision: 1. 29$42 -- $Date: 200 6/06/25 14:30:21$41 -- $Revision: 1.30 $ 42 -- $Date: 2009/12/26 17:31:35 $ 43 43 -- Binding Version 01.00 44 44 ------------------------------------------------------------------------------ … … 90 90 91 91 procedure Free (FA : in out Field_Array_Access; 92 Free_Fields : inBoolean := False);92 Free_Fields : Boolean := False); 93 93 -- Release the memory for an allocated field array 94 94 -- If Free_Fields is True, call Delete() for all the fields in … … 229 229 REQ_PREV_CHOICE : Form_Request_Code renames F_Previous_Choice; 230 230 231 procedure Request_Name (Key : inForm_Request_Code;231 procedure Request_Name (Key : Form_Request_Code; 232 232 Name : out String); 233 233 … … 288 288 289 289 -- ANCHOR(`set_field_just()',`Set_Justification') 290 procedure Set_Justification (Fld : inField;291 Just : inField_Justification := None);290 procedure Set_Justification (Fld : Field; 291 Just : Field_Justification := None); 292 292 -- AKA 293 293 pragma Inline (Set_Justification); … … 302 302 -- ANCHOR(`set_field_buffer()',`Set_Buffer') 303 303 procedure Set_Buffer 304 (Fld : inField;305 Buffer : inBuffer_Number := Buffer_Number'First;306 Str : inString);304 (Fld : Field; 305 Buffer : Buffer_Number := Buffer_Number'First; 306 Str : String); 307 307 -- AKA 308 308 -- Not inlined … … 310 310 -- ANCHOR(`field_buffer()',`Get_Buffer') 311 311 procedure Get_Buffer 312 (Fld : inField;313 Buffer : inBuffer_Number := Buffer_Number'First;312 (Fld : Field; 313 Buffer : Buffer_Number := Buffer_Number'First; 314 314 Str : out String); 315 315 -- AKA 316 316 317 317 function Get_Buffer 318 (Fld : inField;319 Buffer : inBuffer_Number := Buffer_Number'First) return String;318 (Fld : Field; 319 Buffer : Buffer_Number := Buffer_Number'First) return String; 320 320 -- AKA 321 321 -- Same but as function … … 323 323 324 324 -- ANCHOR(`set_field_status()',`Set_Status') 325 procedure Set_Status (Fld : inField;326 Status : inBoolean := True);325 procedure Set_Status (Fld : Field; 326 Status : Boolean := True); 327 327 -- AKA 328 328 pragma Inline (Set_Status); … … 334 334 335 335 -- ANCHOR(`set_field_max()',`Set_Maximum_Size') 336 procedure Set_Maximum_Size (Fld : inField;337 Max : inNatural := 0);336 procedure Set_Maximum_Size (Fld : Field; 337 Max : Natural := 0); 338 338 -- AKA 339 339 pragma Inline (Set_Maximum_Size); … … 342 342 343 343 -- ANCHOR(`set_field_opts()',`Set_Options') 344 procedure Set_Options (Fld : inField;345 Options : inField_Option_Set);344 procedure Set_Options (Fld : Field; 345 Options : Field_Option_Set); 346 346 -- AKA 347 347 -- An overloaded version is defined later. Pragma Inline appears there 348 348 349 349 -- ANCHOR(`field_opts_on()',`Switch_Options') 350 procedure Switch_Options (Fld : inField;351 Options : inField_Option_Set;350 procedure Switch_Options (Fld : Field; 351 Options : Field_Option_Set; 352 352 On : Boolean := True); 353 353 -- AKA … … 356 356 357 357 -- ANCHOR(`field_opts()',`Get_Options') 358 procedure Get_Options (Fld : inField;358 procedure Get_Options (Fld : Field; 359 359 Options : out Field_Option_Set); 360 360 -- AKA … … 370 370 -- ANCHOR(`set_field_fore()',`Set_Foreground') 371 371 procedure Set_Foreground 372 (Fld : inField;373 Fore : inCharacter_Attribute_Set := Normal_Video;374 Color : inColor_Pair := Color_Pair'First);372 (Fld : Field; 373 Fore : Character_Attribute_Set := Normal_Video; 374 Color : Color_Pair := Color_Pair'First); 375 375 -- AKA 376 376 pragma Inline (Set_Foreground); 377 377 378 378 -- ANCHOR(`field_fore()',`Foreground') 379 procedure Foreground (Fld : inField;379 procedure Foreground (Fld : Field; 380 380 Fore : out Character_Attribute_Set); 381 381 -- AKA 382 382 383 383 -- ANCHOR(`field_fore()',`Foreground') 384 procedure Foreground (Fld : inField;384 procedure Foreground (Fld : Field; 385 385 Fore : out Character_Attribute_Set; 386 386 Color : out Color_Pair); … … 390 390 -- ANCHOR(`set_field_back()',`Set_Background') 391 391 procedure Set_Background 392 (Fld : inField;393 Back : inCharacter_Attribute_Set := Normal_Video;394 Color : inColor_Pair := Color_Pair'First);392 (Fld : Field; 393 Back : Character_Attribute_Set := Normal_Video; 394 Color : Color_Pair := Color_Pair'First); 395 395 -- AKA 396 396 pragma Inline (Set_Background); 397 397 398 398 -- ANCHOR(`field_back()',`Background') 399 procedure Background (Fld : inField;399 procedure Background (Fld : Field; 400 400 Back : out Character_Attribute_Set); 401 401 -- AKA 402 402 403 403 -- ANCHOR(`field_back()',`Background') 404 procedure Background (Fld : inField;404 procedure Background (Fld : Field; 405 405 Back : out Character_Attribute_Set; 406 406 Color : out Color_Pair); … … 409 409 410 410 -- ANCHOR(`set_field_pad()',`Set_Pad_Character') 411 procedure Set_Pad_Character (Fld : inField;412 Pad : inCharacter := Space);411 procedure Set_Pad_Character (Fld : Field; 412 Pad : Character := Space); 413 413 -- AKA 414 414 pragma Inline (Set_Pad_Character); 415 415 416 416 -- ANCHOR(`field_pad()',`Pad_Character') 417 procedure Pad_Character (Fld : inField;417 procedure Pad_Character (Fld : Field; 418 418 Pad : out Character); 419 419 -- AKA … … 423 423 424 424 -- ANCHOR(`field_info()',`Info') 425 procedure Info (Fld : inField;425 procedure Info (Fld : Field; 426 426 Lines : out Line_Count; 427 427 Columns : out Column_Count; … … 434 434 435 435 -- ANCHOR(`dynamic_field_info()',`Dynamic_Info') 436 procedure Dynamic_Info (Fld : inField;436 procedure Dynamic_Info (Fld : Field; 437 437 Lines : out Line_Count; 438 438 Columns : out Column_Count; … … 444 444 445 445 -- ANCHOR(`set_form_win()',`Set_Window') 446 procedure Set_Window (Frm : inForm;447 Win : inWindow);446 procedure Set_Window (Frm : Form; 447 Win : Window); 448 448 -- AKA 449 449 pragma Inline (Set_Window); … … 455 455 456 456 -- ANCHOR(`set_form_sub()',`Set_Sub_Window') 457 procedure Set_Sub_Window (Frm : inForm;458 Win : inWindow);457 procedure Set_Sub_Window (Frm : Form; 458 Win : Window); 459 459 -- AKA 460 460 pragma Inline (Set_Sub_Window); … … 466 466 467 467 -- ANCHOR(`scale_form()',`Scale') 468 procedure Scale (Frm : inForm;468 procedure Scale (Frm : Form; 469 469 Lines : out Line_Count; 470 470 Columns : out Column_Count); … … 474 474 -- MANPAGE(`form_hook.3x') 475 475 476 type Form_Hook_Function is access procedure (Frm : inForm);476 type Form_Hook_Function is access procedure (Frm : Form); 477 477 pragma Convention (C, Form_Hook_Function); 478 478 479 479 -- ANCHOR(`set_field_init()',`Set_Field_Init_Hook') 480 procedure Set_Field_Init_Hook (Frm : inForm;481 Proc : inForm_Hook_Function);480 procedure Set_Field_Init_Hook (Frm : Form; 481 Proc : Form_Hook_Function); 482 482 -- AKA 483 483 pragma Inline (Set_Field_Init_Hook); 484 484 485 485 -- ANCHOR(`set_field_term()',`Set_Field_Term_Hook') 486 procedure Set_Field_Term_Hook (Frm : inForm;487 Proc : inForm_Hook_Function);486 procedure Set_Field_Term_Hook (Frm : Form; 487 Proc : Form_Hook_Function); 488 488 -- AKA 489 489 pragma Inline (Set_Field_Term_Hook); 490 490 491 491 -- ANCHOR(`set_form_init()',`Set_Form_Init_Hook') 492 procedure Set_Form_Init_Hook (Frm : inForm;493 Proc : inForm_Hook_Function);492 procedure Set_Form_Init_Hook (Frm : Form; 493 Proc : Form_Hook_Function); 494 494 -- AKA 495 495 pragma Inline (Set_Form_Init_Hook); 496 496 497 497 -- ANCHOR(`set_form_term()',`Set_Form_Term_Hook') 498 procedure Set_Form_Term_Hook (Frm : inForm;499 Proc : inForm_Hook_Function);498 procedure Set_Form_Term_Hook (Frm : Form; 499 Proc : Form_Hook_Function); 500 500 -- AKA 501 501 pragma Inline (Set_Form_Term_Hook); … … 524 524 525 525 -- ANCHOR(`set_form_fields()',`Redefine') 526 procedure Redefine (Frm : inForm;527 Flds : inField_Array_Access);526 procedure Redefine (Frm : Form; 527 Flds : Field_Array_Access); 528 528 -- AKA 529 529 pragma Inline (Redefine); 530 530 531 531 -- ANCHOR(`set_form_fields()',`Set_Fields') 532 procedure Set_Fields (Frm : inForm;533 Flds : inField_Array_Access) renames Redefine;532 procedure Set_Fields (Frm : Form; 533 Flds : Field_Array_Access) renames Redefine; 534 534 -- AKA 535 535 -- pragma Inline (Set_Fields); … … 547 547 548 548 -- ANCHOR(`move_field()',`Move') 549 procedure Move (Fld : inField;550 Line : inLine_Position;551 Column : inColumn_Position);549 procedure Move (Fld : Field; 550 Line : Line_Position; 551 Column : Column_Position); 552 552 -- AKA 553 553 pragma Inline (Move); … … 575 575 576 576 -- ANCHOR(`set_form_opts()',`Set_Options') 577 procedure Set_Options (Frm : inForm;578 Options : inForm_Option_Set);577 procedure Set_Options (Frm : Form; 578 Options : Form_Option_Set); 579 579 -- AKA 580 580 pragma Inline (Set_Options); 581 581 582 582 -- ANCHOR(`form_opts_on()',`Switch_Options') 583 procedure Switch_Options (Frm : inForm;584 Options : inForm_Option_Set;583 procedure Switch_Options (Frm : Form; 584 Options : Form_Option_Set; 585 585 On : Boolean := True); 586 586 -- AKA … … 589 589 590 590 -- ANCHOR(`form_opts()',`Get_Options') 591 procedure Get_Options (Frm : inForm;591 procedure Get_Options (Frm : Form; 592 592 Options : out Form_Option_Set); 593 593 -- AKA … … 601 601 602 602 -- ANCHOR(`post_form()',`Post') 603 procedure Post (Frm : inForm;604 Post : inBoolean := True);603 procedure Post (Frm : Form; 604 Post : Boolean := True); 605 605 -- AKA 606 606 -- ALIAS(`unpost_form()') … … 644 644 645 645 -- ANCHOR(`set_current_field()',`Set_Current') 646 procedure Set_Current (Frm : inForm;647 Fld : inField);646 procedure Set_Current (Frm : Form; 647 Fld : Field); 648 648 -- AKA 649 649 pragma Inline (Set_Current); 650 650 651 651 -- ANCHOR(`current_field()',`Current') 652 function Current (Frm : inForm) return Field;652 function Current (Frm : Form) return Field; 653 653 -- AKA 654 654 pragma Inline (Current); 655 655 656 656 -- ANCHOR(`set_form_page()',`Set_Page') 657 procedure Set_Page (Frm : inForm;658 Page : inPage_Number := Page_Number'First);657 procedure Set_Page (Frm : Form; 658 Page : Page_Number := Page_Number'First); 659 659 -- AKA 660 660 pragma Inline (Set_Page); … … 676 676 677 677 -- ANCHOR(`set_new_page()',`Set_New_Page') 678 procedure Set_New_Page (Fld : inField;679 New_Page : inBoolean := True);678 procedure Set_New_Page (Fld : Field; 679 New_Page : Boolean := True); 680 680 -- AKA 681 681 pragma Inline (Set_New_Page);
Note:
See TracChangeset
for help on using the changeset viewer.