X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2FAda95.html;h=8d38806bf37af8e0453bff0d3233dfba700c3d27;hp=043b9de5d2ca56c8f6cdf122c0e6795db1ff62fd;hb=3ab4db240283db0682a66a8587f2174508348bc6;hpb=a8987e73ec254703634802b4f7ee30d3a485524d diff --git a/doc/html/Ada95.html b/doc/html/Ada95.html index 043b9de5..8d38806b 100644 --- a/doc/html/Ada95.html +++ b/doc/html/Ada95.html @@ -1,8 +1,7 @@ - - - -Ada95 Binding for ncurses - - -

Ada95 Binding for ncurses

-by Jürgen Pfeifer. - -
-

General Remarks

- - -

Limitations

- - -

Hierarchy of packages

- -If you want to navigate through the html pages of the package specs, click here. -

Implementation Details

-

Behind the abstraction

-All the new types like Window, Panel, -Menu, Form etc. are just -opaque representations of the pointers to the corresponding -low level (n)curses structures like -WINDOW *, PANEL *, -MENU * or FORM *. -So you can safely pass them to C routines that expect a pointer -to one of those structures. -

Extended ripoffline() usage

-The official documentation of (n)curses says, that the line parameter -determines only whether or not exactly one line is -stolen from the top or bottom of the screen. So essentially only the -sign of the parameter is evaluated. ncurses has internally implemented -it in a way, that uses the line parameter also to control the amount of -lines to steal. This mechanism is used in the Rip_Off_Lines -routine of the binding. -

How user defined field types work

-TBD -

Enumeration fields handling

-The (n)curses documentation says, that the String arrays to be passed to -an TYPE_ENUM fieldtype must not be automatic variables. This is not true -in this binding, because it is internally arranged to safely copy these -values. -

Using other Ada compilers

-This should basically not be a problem. -

Port to other curses implementations

-Basically it should not be too hard to make all this run on a regular SVr4 -implementation of curses. The problems are probably these:
- -I'm quite sure I forgot something. - - + + + + + + + Ada95 Binding for ncurses + + + + + +

Ada95 Binding for ncurses

+ +

by Jürgen Pfeifer.

+
+ +

General Remarks

+ + + +

Limitations

+ + + +

Hierarchy of packages

+ + + +

If you want to navigate through the html pages of the package + specs, click here.

+ +

Implementation Details

+ +

Behind the abstraction

+ +

All the new types like Window, + Panel, Menu, + Form etc. are just opaque representations of the + pointers to the corresponding low level (n)curses structures like + WINDOW *, PANEL *, MENU + * or FORM *. So you can safely pass + them to C routines that expect a pointer to one of those + structures.

+ +

Extended ripoffline() usage

+ +

The official documentation of (n)curses says, that the line + parameter determines only whether or not exactly + one line is stolen from the top or bottom of the + screen. So essentially only the sign of the parameter is + evaluated. ncurses has internally implemented it in a way, that + uses the line parameter also to control the amount of lines to + steal. This mechanism is used in the + Rip_Off_Lines routine of the binding.

+ +

How user defined field + types work

+ +

TBD

+ +

Enumeration fields handling

+ +

The (n)curses documentation says, that the String arrays to be + passed to an TYPE_ENUM fieldtype must not be automatic variables. + This is not true in this binding, because it is internally + arranged to safely copy these values.

+ +

Using other Ada + compilers

+ +

This should basically not be a problem.

+ +

Port to other curses implementations

+ +

Basically it should not be too hard to make all this run on a + regular SVr4 implementation of curses. The problems are probably + these:

+ + + +

I'm quite sure I forgot something.

+ +