]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/samples/sample-manifest.ads
ncurses 4.1
[ncurses.git] / Ada95 / samples / sample-manifest.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                       GNAT ncurses Binding Samples                       --
4 --                                                                          --
5 --                             Sample.Manifest                              --
6 --                                                                          --
7 --                                 S P E C                                  --
8 --                                                                          --
9 --  Version 00.92                                                           --
10 --                                                                          --
11 --  The ncurses Ada95 binding is copyrighted 1996 by                        --
12 --  Juergen Pfeifer, Email: Juergen.Pfeifer@T-Online.de                     --
13 --                                                                          --
14 --  Permission is hereby granted to reproduce and distribute this           --
15 --  binding by any means and for any fee, whether alone or as part          --
16 --  of a larger distribution, in source or in binary form, PROVIDED         --
17 --  this notice is included with any such distribution, and is not          --
18 --  removed from any of its header files. Mention of ncurses and the        --
19 --  author of this binding in any applications linked with it is            --
20 --  highly appreciated.                                                     --
21 --                                                                          --
22 --  This binding comes AS IS with no warranty, implied or expressed.        --
23 ------------------------------------------------------------------------------
24 --  Version Control
25 --  $Revision: 1.4 $
26 ------------------------------------------------------------------------------
27 with Terminal_Interface.Curses; use Terminal_Interface.Curses;
28
29 package Sample.Manifest is
30
31    QUIT         : constant User_Key_Code    := User_Key_Code'First;
32    SELECT_ITEM  : constant User_Key_Code    := QUIT + 1;
33
34    FKEY_HELP    : constant Label_Number     := 1;
35    HELP_CODE    : constant Special_Key_Code := Key_F1;
36    FKEY_EXPLAIN : constant Label_Number     := 2;
37    EXPLAIN_CODE : constant Special_Key_Code := Key_F2;
38    FKEY_QUIT    : constant Label_Number     := 3;
39    QUIT_CODE    : constant Special_Key_Code := Key_F3;
40
41    Menu_Marker : constant String := "=> ";
42
43    Default_Colors  : constant Redefinable_Color_Pair := 1;
44    Menu_Fore_Color : constant Redefinable_Color_Pair := 2;
45    Menu_Back_Color : constant Redefinable_Color_Pair := 3;
46    Menu_Grey_Color : constant Redefinable_Color_Pair := 4;
47    Form_Fore_Color : constant Redefinable_Color_Pair := 5;
48    Form_Back_Color : constant Redefinable_Color_Pair := 6;
49    Notepad_Color   : constant Redefinable_Color_Pair := 7;
50    Help_Color      : constant Redefinable_Color_Pair := 8;
51    Header_Color    : constant Redefinable_Color_Pair := 9;
52
53 end Sample.Manifest;