Dec 102017
 
Graphic windows uses metawndo; requires mouse; c source; mac like interf.
File PUBWIW_C.ZIP from The Programmer’s Corner in
Category C Source Code
Graphic windows uses metawndo; requires mouse; c source; mac like interf.
File Name File Size Zip Size Zip Type
CONTROL.C 10395 2093 deflated
CONTROL.H 3606 1091 deflated
GLOBALS.C 601 308 deflated
LOCAL.H 938 393 deflated
MARKERS.FNT 416 205 deflated
MENU.C 10622 2660 deflated
MENU.H 1370 497 deflated
README 2369 1124 deflated
SCROLL.C 11144 2016 deflated
SYSTEM08.FNT 2276 946 deflated
SYSTEM16.FNT 2596 926 deflated
SYSTEM24.FNT 2656 1028 deflated
UITEST.C 9879 2217 deflated
UITEST.EXE 132400 57607 deflated
WIN.DOC 11136 2368 deflated
WINDOW.C 28081 4658 deflated
WINDOW.H 2605 861 deflated

Download File PUBWIW_C.ZIP Here

Contents of the README file


*********************************************************************
* The Following Code is placed in the PUBLIC DOMAIN and may be used *
* by anyone for any purpose. Use at your own risk. *
*********************************************************************

This archive contains a prototype user interface loosely based upon the
APPLE Macintosh. Menus are handled differently, on a two button mouse
the left button serves to activate/deactivate, while the right button
serves to display the active PopUp Menu and select the current item.
The mouse buttons are not held down during the selection process. The
SYSTEM Menu is a dummy, only EXIT is a valid choice. Choose Create from the
PopUp Menu to create a window and then try other menu actions as well as
the Scroll Bar and Title Bar controls. Right titlebar box is Grow/Shrink,
while the left box is a GOAWAY.

The code is in a horrid state, documentation is sparse to non-existant,
more complete documentation will be available as I enhance the product
(I plan on building an Object Oriented Graphics Editor -- also Public
Domain.) There is an example application: UITEST.EXE, the "make" file in
the ARC may be used to build it.It is written in Lattice C 3.0+ and
calls MetaWindow Plus routines (it may work with other versions of
MetaWindow). Questions /comments should be directed to Don Bradford c/o
the MetaGraphics BBS.

Note:
The current software assumes an EGA Card / Monitor.


C Source Files
-------------
control.c Control Related Routines: Buttons, RadioButtons, etc.
menu.c MenuBar and PopUp Menu Routines.
uitest.c Example Application.
window.c Window Related Routines.
globals.c Global Declarations.
scroll.c Vertical Scroll Bar Routines - Horizontal in the works

Header Files
-----------
control.h
menu.h
window.h
local.h

Example MAKE FILE
-----------------

OBJ1= menu.obj window.obj control.obj uitest.obj globals.obj scroll.obj


menu.exe: $(OBJ1)
plink @uitest

uitest.obj : uitest.c
lc -n -mls -B -qd: uitest.c



Example LINK File -- PLINK
--------------------------

FILE \lc\l\c, menu, window, control, scroll, uitest, globals
SYMTAB
MAP=uitest.map
OUTPUT uitest.exe
SEARCH \lc\l\metaplus, \lc\l\lcm, \lc\l\lc



 December 10, 2017  Add comments

Leave a Reply