X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fada%2Fterminal_interface-curses__ads.htm;h=e2bab26ad82a9fab5443c93ab21917e3258912ac;hp=727cc8316d9f8132912e1ba5f71b61560a13e463;hb=bca50d0d8592defee6c584fdedd25f4b1a31345b;hpb=34d602f272c394e9a980438e636e1ce4d355f83b diff --git a/doc/html/ada/terminal_interface-curses__ads.htm b/doc/html/ada/terminal_interface-curses__ads.htm index 727cc831..e2bab26a 100644 --- a/doc/html/ada/terminal_interface-curses__ads.htm +++ b/doc/html/ada/terminal_interface-curses__ads.htm @@ -57,7 +57,7 @@ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System.Storage_Elements; -with Interfaces.C; -- We need this for some assertions. +with Interfaces.C; -- We need this for some assertions. with Terminal_Interface.Curses_Constants; @@ -403,8 +403,8 @@ -------------------------------------------------------------------------- - type Color_Number is range -1 .. Integer (Interfaces.C.short'Last); - for Color_Number'Size use Interfaces.C.short'Size; + type Color_Number is range -1 .. Integer (Interfaces.C.short'Last); + for Color_Number'Size use Interfaces.C.short'Size; -- (n)curses uses a short for the color index -- The model is, that a Color_Number is an index into an array of -- (potentially) definable colors. Some of those indices are @@ -419,8 +419,8 @@ Cyan : constant Color_Number := Curses_Constants.COLOR_CYAN; White : constant Color_Number := Curses_Constants.COLOR_WHITE; - type RGB_Value is range 0 .. Integer (Interfaces.C.short'Last); - for RGB_Value'Size use Interfaces.C.short'Size; + type RGB_Value is range 0 .. Integer (Interfaces.C.short'Last); + for RGB_Value'Size use Interfaces.C.short'Size; -- Some system may allow to redefine a color by setting RGB values. type Color_Pair is range 0 .. 255; @@ -1965,8 +1965,8 @@ pragma Inline (Reset_Terminal_State); type Stdscr_Init_Proc is access - function (Win : Window; - Columns : Column_Count) return Integer; + function (Win : Window; + Columns : Column_Count) return Integer; pragma Convention (C, Stdscr_Init_Proc); -- N.B.: the return value is actually ignored, but it seems to be -- a good practice to return 0 if you think all went fine