TEGL WINDOWS TOOLKIT Release 3.0

The TEGL WINDOWS TOOLKIT lets you create DOS based GUI applications that
are completely stand alone.  The library of functions are linked into
your application so just one '.exe' file will contain the fully
functional system.  The library is extensive, there are over 500
functions but you can build an impressive program by using a fraction of
these.

The GUI provides a basic frame that you draw to and attach mouse and
keyboard events to.  A program creates frames (menus are frames with
mouse and key click already attached) and then turns over the action to
the event-supervisor which just loops waiting for an event (mouse pass
over, mouse click, key click or timer) to happen.  When something does
happen the event-supervisor calls your event-handler (a function with a
standard parameter list) and things happen.

Mouse click areas are a relative rectangular area on a frame.  You can
set an event-handler to be called when the mouse either passes over a
click area or when the mouse is over the click area and a button is
pressed.  This mechanism leads to buttons that can be pressed and many
other interesting and attractive effects.  The mouse cursor can be
customized to change as it passes over frames or mouse click areas
attached to frames.  You can create your own custom mouse cursor shapes
with the Icon Editor.

Key clicks are captured at an interrupt level (if you want) and can be
local to a frame or global to the program.  Key click activate

Menus:	the option menu is a general purpose drop-down or pop-up menu
that you can attach to any frame.  Menu selections can be simple
event-handlers or they can launch another menu, toggle a boolean value
or set a radio check mark.  A menu with too many selections to display
at one time grows a slider-bar to scroll between the selections.  A
floating bar menu (really a frame with option menus attached) is also
provided.

Dialogues:  with Release 3.0 we have a new dialogue manager that
provides extensive control over dialogues and makes it easier for you to
design your own dialogue elements.  Basic dialogue elements are labels,
buttons, icon buttons, radio buttons, check boxes, string editing and
integer and float editing.  Tabs move through dialogue elements and the
Enter and Escape key can be attached to default button presses.  Space
bar is used to press any highlighted button selection.	For special
dialogues a dispatcher event-handler can be installed so the program can
examine every action that occurs with the dialogue.

High level routines encompass many of the GUI functions into a
consistent window's like interface.  The windows have a large choice of
options:  header bar, space-bar menu, local menu, minimize and maximize
buttons, sliders, text simulation, world coordinates and extensive color
control.

GRAPHICS

The toolkit includes the TEGL Graphics Interface.  This is composed of
video drivers for most popular video modes (CGA, Hercules, EGA and VGA)
as well as Super VGA in 16 and 256 colors for many of the video adaptors
available.  The drivers are all written in assembler for speed.
Auto-detection for standard video modes is also provided.  The TGI
includes 40 fonts (TGI is available separately) and the Font Editor
includes 200 more.

Standard graphics functions are functionally the same as the BGI
(Borland Graphics Interface).

Text output using bit-image fonts is highly optimized.	Your graphics
application will maintain text mode zip.

VIRTUAL MEMORY

The toolkit includes a virtual-memory manager that is used to provide
graphic image buffering.  Your application can also use this as an easy
method to allocate additional memory that can come from XMS, EMS or a
hard drive spill file.

ACCESSORIES

TEGL Icon Editor - this program lets you create 16 color icons up to 100
x 100 pixels.  Icons can be saved as a text file or binary file or as
CONSTANTS that can be included directly into your application.	Binaries
can be either loaded onto the heap or linked in after being converted to
object files.

Many functions are provided.  You can create your own mouse cursor
shapes (must be 16x16 pixels) and include these into your programs so
the mouse cursor can app ear however you want.	You can edit more than
one icon at a time and copy portions (or all) of an icon.  You can merge
and overlay portions of an icon and you can clear, rotate, reverse and
shrink icons.

The Icon Editor also has some complementary programs which allow you to
store icons in library files, pull out constants from include files and
extract icons fr om library files.

TEGL Font Editor

The TEGL Font Editor lets you create new fonts or edit existing fonts.
These are bit image fonts that the Toolkit can quickly display on the
screen.  This easy to use program saves fonts as binary files that can
either be loaded onto the heap or converted to object format and
included into your program.  Included with the font editor are more than
two hundred fonts.

The Font Editor has functions let you draw or fill circles and
rectangles, rotate and shift, expand and shrink, mirror image, center,
draw lines, flood fill, shift and line drawing.

Binary to Object converter:  a utility program that converts binary
files to object code format prior to linking into a program.

