From e59ca4a3eaa53d66fb2dcd3ddbdd86d99b04b7c8 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 28 Jun 2021 00:21:26 +1200 Subject: Converted everything to XHTML 1.1 --- project/templates/fltkada.html | 53 +++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 24 deletions(-) (limited to 'project/templates/fltkada.html') diff --git a/project/templates/fltkada.html b/project/templates/fltkada.html index b7abb59..99f4749 100644 --- a/project/templates/fltkada.html +++ b/project/templates/fltkada.html @@ -11,15 +11,16 @@

FLTK Ada Binding

-

Git repository: Link
+

Git repository: Link
Estimated status: 80% complete

21/5/2018
-

This binding is now complete enough for most purposes. It certainly took more effort than expected, in -part due to underestimation of how much needed binding. The vast majority of useful classes are now usable -in Ada, with a few exceptions such as the Fl_Browser, Fl_Help_View, Fl_Table, and Fl_Tree widgets.

+

This binding is now complete enough for most purposes. It certainly took more effort than +expected, in part due to underestimation of how much needed binding. The vast majority of useful +classes are now usable in Ada, with a few exceptions such as the Fl_Browser, Fl_Help_View, Fl_Table, +and Fl_Tree widgets.

Noteworthy features and modifications include:

-

A mapping of what C++ headers and methods correspond to what Ada packages, functions, and procedures is -included. Also, the below "Hello world" code sample has been modified to work with the updated binding.

+

A mapping of what C++ headers and methods correspond to what Ada packages, functions, and +procedures is included. Also, the below "Hello world" code sample has been modified to work with the +updated binding.

25/6/2017
-

FLTK, or by its full name the Fast Light Toolkit, -is a graphical widget toolkit noteworthy for being so lightweight that it is commonly statically linked. -Projects that make use of it include the Dillo web -browser, the FLWM X window manager, and the -Equinox Desktop Environment. There are -bindings for it in several languages, including Python, Perl and Ruby, but not Ada. Until now!

+

FLTK, or by its full name the Fast Light Toolkit, +is a graphical widget toolkit noteworthy for being so lightweight that it is commonly statically +linked. Projects that make use of it include the Dillo web browser, the FLWM X window manager, +and the Equinox Desktop Environment. +There are bindings for it in several languages, including Python, Perl and Ruby, but not Ada. Until +now!

-

This is a spinoff from Adapad, and so despite not yet being complete it can be at least guaranteed to -be enough to write a text editor. It's a thick, loosely coupled binding, accomplished by first exporting -the interface to C, then importing that to Ada. Attempted usage of the internal C interface as a binding -on its own is not supported.

+

This is a spinoff from Adapad, and so despite not yet being complete it can be at least +guaranteed to be enough to write a text editor. It's a thick, loosely coupled binding, accomplished +by first exporting the interface to C, then importing that to Ada. Attempted usage of the internal C +interface as a binding on its own is not supported.

A typical FLTK Hello World program in Ada:

@@ -77,13 +81,14 @@ end Hello_World;
-

Aside from reworking the types to better fit the strongly typed philosophy of Ada, the entire library has -been structured to avoid explicit heap usage. As you can see from the above example, the intended use is to -declare FLTK objects on the stack. Allocation and deallocation of the C++ internals is handled automatically.

+

Aside from reworking the types to better fit the strongly typed philosophy of Ada, the entire +library has been structured to avoid explicit heap usage. As you can see from the above example, the +intended use is to declare FLTK objects on the stack. Allocation and deallocation of the C++ +internals is handled automatically.

-

A few other minor changes were involved, such as requiring widgets to be explicitly added to a group rather -than implicitly being added to the last group not yet ended. At the moment the package specifications should -provide sufficient information to allow programmers to work with the library.

+

A few other minor changes were involved, such as requiring widgets to be explicitly added to a +group rather than implicitly being added to the last group not yet ended. At the moment the package specifications should provide sufficient information to allow programmers to work with the library. +

{% endblock %} -- cgit