
TWSIMAGE
Image display demo program for the TWS Window GUI System

This program is a demo of the TWS graphical user interface kit. TWS allows you to build an attractive, user-friendly, event-driven user interface for your DOS programs.  It uses the Metagraphics MetaWINDOW graphics system for the widest possible device support.

The TWSIMAGE program displays PCX graphics files.  It understands 256-color (8-bit) PCX formats, although the program itself can be run in any graphics mode except 1-bit monochrome modes.

Each image is displayed in its own window.  The size of the image depends on the size of the window.  When you resize the window (by grabbing the window border and dragging it) the image changes size to match.  There are also tools for modifying the image colors, contrast, brightness and other effects.

Notice what happens when you 'minimize' or 'iconize' the window.  The window icon contains a miniature of the picture mapped to the system color table.  This icon is created on-the-fly when the image is read from disk.

TWSIMAGE works best on 256-color or 32k-color displays, and at 1024x768 resolution.  It'll run in other modes but the display isn't as interesting.

All the source code for the TWSIMAGE demo is included (press the Source menu item to view the source code).  I've tried to comment it thoroughly.

This program demonstrates only a few of the features in the TWS system.  Included with this demo package is the ASCII version of the TWS reference manual.  Look it over for a complete description of the TWS system.

TWS is shareware.  Object libraries for Borland C/C++ and MetaWINDOW can be found on the Borland CompuServe forum, and on the Metagraphics BBS.  Registration is $79 for the TWS object libraries, 29 example programs and printed reference and tutorial manual.  Or for $159 add the complete source code.  To register or for more information contact:

    TWS
    PO Box 37464
    Albuquerque, NM  87176
    CIS 71160,2426
    Internet  71160.2426@compuserve.com

TWS requires MetaWINDOW from Metagraphics Corp., which must be purchased separately.

For another look at TWS in action, look for the demo TWSICON.ZIP on the Metagraphics BBS.  This is a graphics editor for TWS icon pixmaps.  It doesn't require a 256-color display.

Thanks for trying the demo!  Have fun!

-June 1994


