Dec 132017
 
WTWG C PD User Interface Library: Text and Graphics (BGI). Part 2 of 2, includes full C source (usable with C++). Must compile; no executables. Turbo and Borland C/C++ ideal, but MSC apparently usable (according to docs).
File WTWG12B.ZIP from The Programmer’s Corner in
Category C Source Code
WTWG C PD User Interface Library: Text and Graphics (BGI). Part 2 of 2, includes full C source (usable with C++). Must compile; no executables. Turbo and Borland C/C++ ideal, but MSC apparently usable (according to docs).
File Name File Size Zip Size Zip Type
DEMOFORM.C 6465 2682 deflated
DEMOFORM.HLP 1924 951 deflated
DEMOFORM.HX 626 428 deflated
DEMOFORM.PRJ 19 19 stored
DEMOHEAP.C 2667 1230 deflated
DEMOHEAP.PRJ 19 19 stored
DEMOHKEY.C 3254 1301 deflated
DEMOHKEY.HLP 599 304 deflated
DEMOHKEY.HX 210 174 deflated
DEMOHKEY.PRJ 21 21 stored
DEMOMACR.C 1121 606 deflated
DEMOMACR.PRJ 17 17 stored
DEMOMENU.C 5767 1826 deflated
DEMOMENU.HLP 1181 503 deflated
DEMOMENU.HX 886 374 deflated
DEMOMENU.PRJ 19 19 stored
DEMOMOUS.C 8168 3183 deflated
DEMOMOUS.PRJ 19 19 stored
DEMOPAGE.C 4190 1737 deflated
DEMOPAGE.PRJ 19 19 stored
DIR2BAT.C 4596 1634 deflated
DIR2BAT.COM 9598 6091 deflated
DOSMENU.C 2409 1083 deflated
HEADER.DSK 5586 2431 deflated
HEAPDBG.C 8025 2573 deflated
MAKEHX.C 4255 1738 deflated
MBLANK.BAT 2 2 stored
MDEMO.BAT 942 391 deflated
MNEWMAKE.BAT 2182 919 deflated
MSC.H 2809 1146 deflated
MWMAKE.BAT 2448 1068 deflated
READ.ME 3596 1707 deflated
SUBMIT.DSK 3692 1600 deflated
TWMAKE.BAT 1475 716 deflated
TXT2MCR.C 1731 808 deflated
W50LINE.C 5815 2266 deflated
WABANDON.C 2800 1096 deflated
WALT.C 896 448 deflated
WBGI.C 8396 2302 deflated
WBUTTON.C 3112 1216 deflated
WBUTTONA.C 1606 655 deflated
WBUTTOND.C 1147 527 deflated
WBUTTONG.C 620 337 deflated
WBUTTONM.C 672 355 deflated
WBUTTONT.C 381 227 deflated
WCLEAR.C 3832 1530 deflated
WCLOCK.C 3693 1348 deflated
WCOPYALL.BAT 1472 535 deflated
WCOPYCUG.BAT 1290 556 deflated
WCOPYSRC.BAT 823 398 deflated
WCOPYZOO.BAT 150 119 deflated
WCURSOR.C 1206 579 deflated
WDEFINE.C 3118 1263 deflated
WDOS.C 1262 661 deflated
WDRAG.C 1263 535 deflated
WDRAW.C 4092 1421 deflated
WDTPARSE.C 953 419 deflated
WDVINIT.C 1564 782 deflated
WEGACLR.C 576 327 deflated
WERROR.C 345 216 deflated
WEXIT.C 404 271 deflated
WFLUSH.C 357 213 deflated
WFONT8.C 44248 2402 deflated
WFORM.C 21456 6710 deflated
WFORMERR.C 1066 595 deflated
WFPRINTF.C 3434 1347 deflated
WFRAME.C 1384 548 deflated
WFSCANFM.C 7442 2705 deflated
WFVALL.C 704 368 deflated
WFVDATE.C 630 358 deflated
WFVTIME.C 383 234 deflated
WGETC.C 7746 2899 deflated
WGETMON.C 3414 1398 deflated
WGETS.C 12911 4309 deflated
WGOTO.C 1563 723 deflated
WGSCRLV.C 5506 1758 deflated
WHEAP.C 24995 7123 deflated
WHELP.C 4460 1816 deflated
WHELP.H 730 410 deflated
WHIDE.C 1168 505 deflated
WHOTKEY.C 1701 712 deflated
WHPLJ.C 4801 2063 deflated
WHPLJIN.C 900 468 deflated
WINDOS.C 893 522 deflated
WINIT.C 6584 2636 deflated
WKBD.C 6772 2387 deflated
WLINK.C 2859 1132 deflated
WLOCATE.C 1902 801 deflated
WMACRO.C 4217 1697 deflated
WMALLOC.C 1552 615 deflated
WMKTIME.C 1818 776 deflated
WMOUSE.C 7409 2501 deflated
WMOUSELM.C 1703 681 deflated
WMOUSEMP.C 532 333 deflated
WMOUSEMV.C 757 381 deflated
WMSDRAG.C 2434 961 deflated
WMSFLUSH.C 330 227 deflated
WMSPOPUP.C 1077 495 deflated
WOPEN.C 705 357 deflated
WPALETTE.C 2471 853 deflated
WPICK.C 11084 3368 deflated
WPIPE.C 3150 1106 deflated
WPOPFKEY.C 1556 756 deflated
WPRINTF.C 711 400 deflated
WPROMPTC.C 4000 1683 deflated
WPROMPTS.C 2302 1048 deflated
WPULLDN.C 15536 4911 deflated
WPULLDP.C 384 216 deflated
WPUTC.C 2802 1048 deflated
WPUTCABS.C 4048 1584 deflated
WPUTFL.C 668 316 deflated
WPUTS.C 1274 614 deflated
WREALLOC.C 519 298 deflated
WRELOCAT.C 1921 799 deflated
WREOPEN.C 1193 571 deflated
WRESTORE.C 6316 2531 deflated
WROWCOL.C 1581 732 deflated
WSAVE.C 6409 2526 deflated
WSCREEN.H 1303 612 deflated
WSCRLLBR.C 6855 2369 deflated
WSCROLL.C 1512 661 deflated
WSETC.C 547 301 deflated
WSETPAGE.C 3918 1612 deflated
WSYS.H 3070 1219 deflated
WSYSRQ.C 2869 1115 deflated
WSYSRQA.C 804 452 deflated
WTIME.C 2557 1026 deflated
WTITLE.C 2616 1052 deflated
WTWG.H 36398 12231 deflated
WVALDATE.C 953 513 deflated
WVALTIME.C 792 453 deflated

Download File WTWG12B.ZIP Here

Contents of the READ.ME file


This is the source distribution disk for the WTWG windows programs,
version 1.2. The source is archived in files WTWG12a.ZIP and
WTWG12b.ZIP. (the former contains documentation, while the latter
contains the source code in C format)


This is a windows/menus/mouse interface package, designed to run
in either text or graphics modes, designed to be EASY to learn
and use, small, and fast. It lacks some of the flash of the
'other' windows package, but is excellent for complex programs in
which the interface should be a secondary component of the
program (ie: performance before packaging). I am placing this
package in the public domain.


To install this source:


1) create a subdirectory where you want these files to go. (there
are a LOT of small files, so keep them separate from other
stuff). I use 'C:\TC\WINDOWS'

ie: 1) from the C:\> prompt type
CD \TC
(or CD \MSC if you use microsoft C )
2) create a subdirectory. Type the following:
MD WINDOWS
3) enter the new directory. Type:
CD WINDOWS

2) copy this disk into the new subdirectory. type
COPY A:*.*

3) unpack the zip archives. Type the following:
PKUNZIP -X WTWG* *.*

4) for help with the PKUNZIP program, type:
PKUNZIP

5) you can delete the archive file if you like:
ERASE WTWG*.ZIP

Set up 1) your compiler to look in the appropriate directories
for the #include headers and 2) your linker to look for the *.lib
files. If you use TurboC or TurboC++, and you use the integrated
environment, just check to 'OPTIONS' menu, compiler and linker
submenus. If you use the command line versions, create a
TURBOC.CFG file. For Microsoft C, this means a 'DOS ENVIRONMENT'
variable. See WTWG.DOC for more details.

Compile the utility programs MAKEHX.C, DIR2BAT.C and TXT2MCR.C
first. The source code for these programs contains instructions
for compiling them (comments near the top). The program DIR2BAT
is required by further .BAT files in this package - compile it
first.

To compile the libraries use the .BAT files TWMAKE.BAT (TurboC)
or MWMAKE.BAT (Microsoft C). These .BAT files give instructions
on their use if you type the TWMAKE or MWMAKE without parameters.

To the extent possible, I will fix errors in the distributed
files (ie, what I sent to the C Users Group) which are public
domain. You may use the source as you like, but I will not make
corrections to it after you have made changes. I tried to comment
any tricky areas, and I think the code is clear. Good luck,
you're on your own.

On the other hand, I would appreciate suggestions and comments
aimed at improving the package.

I am distributing these programs in the public domain; if you use
them and like them please send me a contribution for what you
think they're worth to you. Compare with other graphics-mode
windows-based user interface programs available commercially,
which don't give you the source code.


Sincerely,


David Blum


NOTE NEW ADDRESS:
8039 North 1st Street
Phoenix, AZ 85020


NOTE:

This readme file was modified slightly by CR Edwards, who converted
the archives to zip format (they were origionally zoo files) and made
the minor changes to this file to reflect this. I obtained this from
the C Users Group Public Domain (and Shareware) Library (Lawrence
Kansas, 913-841-1631), publishers of the C Users Journal Magazine.
None of the source nor any of the other files were modified.


 December 13, 2017  Add comments

Leave a Reply