X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fsamples%2Fncurses2-color_edit.adb;h=098f98d837b274f31ce051f16c731143f09ff09e;hp=a678ccf4bc5268d024a80da5fe5f98620d570b9d;hb=73ab536b636227eed291dad213ca88c93d422fb8;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/Ada95/samples/ncurses2-color_edit.adb b/Ada95/samples/ncurses2-color_edit.adb index a678ccf4..098f98d8 100644 --- a/Ada95/samples/ncurses2-color_edit.adb +++ b/Ada95/samples/ncurses2-color_edit.adb @@ -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 -- @@ -35,15 +35,14 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 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 " &