]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/ncurses2-color_test.adb
ncurses 5.9 - patch 20131012
[ncurses.git] / Ada95 / samples / ncurses2-color_test.adb
index ffa5259419667088292e9d84a99ff96f3231755e..c8f6c837ae17dfbfce6f6ef6a01d758a309fb26a 100644 (file)
@@ -7,7 +7,7 @@
 --                                 B O D Y                                  --
 --                                                                          --
 ------------------------------------------------------------------------------
 --                                 B O D Y                                  --
 --                                                                          --
 ------------------------------------------------------------------------------
--- Copyright (c) 2000,2006 Free Software Foundation, Inc.                   --
+-- Copyright (c) 2000-2006,2008 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            --
 --                                                                          --
 -- Permission is hereby granted, free of charge, to any person obtaining a  --
 -- copy of this software and associated documentation files (the            --
@@ -35,8 +35,8 @@
 ------------------------------------------------------------------------------
 --  Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
 --  Version Control
 ------------------------------------------------------------------------------
 --  Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
 --  Version Control
---  $Revision: 1.2 $
---  $Date: 2006/06/25 14:24:40 $
+--  $Revision: 1.3 $
+--  $Date: 2008/07/26 18:47:17 $
 --  Binding Version 01.00
 ------------------------------------------------------------------------------
 with ncurses2.util; use ncurses2.util;
 --  Binding Version 01.00
 ------------------------------------------------------------------------------
 with ncurses2.util; use ncurses2.util;
@@ -51,22 +51,22 @@ procedure ncurses2.color_test is
 
    color_names : constant array (0 .. 15) of String (1 .. 7) :=
      (
 
    color_names : constant array (0 .. 15) of String (1 .. 7) :=
      (
-      "black",
-      "red",
-      "green",
-      "yellow",
-      "blue",
+      "black  ",
+      "red    ",
+      "green  ",
+      "yellow ",
+      "blue   ",
       "magenta",
       "magenta",
-      "cyan",
-      "white",
-      "BLACK",
-      "RED",
-      "GREEN",
-      "YELLOW",
-      "BLUE",
+      "cyan   ",
+      "white  ",
+      "BLACK  ",
+      "RED    ",
+      "GREEN  ",
+      "YELLOW ",
+      "BLUE   ",
       "MAGENTA",
       "MAGENTA",
-      "CYAN",
-      "WHITE"
+      "CYAN   ",
+      "WHITE  "
       );
 
    procedure show_color_name (y, x : Integer; color : Integer) is
       );
 
    procedure show_color_name (y, x : Integer; color : Integer) is
@@ -105,7 +105,7 @@ begin
    end if;
 
    if Number_Of_Colors > 8 then
    end if;
 
    if Number_Of_Colors > 8 then
-      hello := "Test";
+      hello := "Test ";
    else
       hello := "Hello";
    end if;
    else
       hello := "Hello";
    end if;