]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/ncurses2-color_edit.adb
ncurses 5.7 - patch 20091226
[ncurses.git] / Ada95 / samples / ncurses2-color_edit.adb
index a678ccf4bc5268d024a80da5fe5f98620d570b9d..098f98d837b274f31ce051f16c731143f09ff09e 100644 (file)
@@ -7,7 +7,7 @@
 --                                 B O D Y                                  --
 --                                                                          --
 ------------------------------------------------------------------------------
--- Copyright (c) 2000,2004 Free Software Foundation, Inc.                   --
+-- Copyright (c) 2000-2006,2009 Free Software Foundation, Inc.              --
 --                                                                          --
 -- Permission is hereby granted, free of charge, to any person obtaining a  --
 -- copy of this software and associated documentation files (the            --
 ------------------------------------------------------------------------------
 --  Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
 --  Version Control
---  $Revision: 1.4 $
---  $Date: 2004/08/21 21:37:00 $
+--  $Revision: 1.6 $
+--  $Date: 2009/12/26 17:38:58 $
 --  Binding Version 01.00
 ------------------------------------------------------------------------------
 with ncurses2.util; use ncurses2.util;
 with ncurses2.genericPuts;
 with Terminal_Interface.Curses; use Terminal_Interface.Curses;
 
-
 procedure ncurses2.color_edit is
    use Int_IO;
 
@@ -54,8 +53,6 @@ procedure ncurses2.color_edit is
                            value   : RGB_Value;
                            usebase : Boolean);
 
-
-
    procedure change_color (current : Color_Number;
                            field   : RGB_Enum;
                            value   : RGB_Value;
@@ -85,7 +82,6 @@ procedure ncurses2.color_edit is
 
    end change_color;
 
-
    package x is new ncurses2.genericPuts (100); use x;
 
    tmpb : x.BS.Bounded_String;
@@ -175,7 +171,7 @@ begin
             Set_Character_Attributes;
          end if;
          Set_Character_Attributes;
-         Add (ch => ')');
+         Add (Ch => ')');
       end loop;
       Add (Line => Line_Position (Number_Of_Colors + 3), Column => 0,
            Str => "Use up/down to select a color, left/right to change " &