Mail Archives: djgpp/1994/05/18/09:44:18
>Hi...
>anybody know where I can find this "utility"
>-a system interface with menu, windows, ecc (for example Turbo Vision
> by Borland)
>
>-a database for djgpp
Hi.
There is SUIT, which is a user interface toolkit written in C and very
portable.
SUIT home is uvacs.cs.virginia.edu -- try
'finger suit AT uvacs DOT cs DOT virginia DOT edu' for details.
SUIT stuff for DJGPP is at asterix.inescn.pt in dir
pub/PC/devel, files SUITG*.ARJ
Contents of pub/PC/devel:
=========================
suitg110.arj - SUIT for DJGPP version 1.10
suitg111.arj - SUIT for DJGPP version 1.11
SUIT is a toolkit for creation/customization of graphical user
interfaces; it supports many widgets and is extensible. Easy to use.
im-grx.arj - SUIT widget for display of gray images
(included in both suitg*.arj above)
liblugpc.zip - LUG library for DJGPP
LUG is a library for reading/writing/manipulating images; it comes
also with many sample tools. Very easy to use!
sipp31.arj - SIPP 3.1 for almost anything (including DJGPP)
a library for creating images from scene descriptions with spheres,
boxes, polygons, etc; nice.
This archive contains the lib for DJGPP (libsipp.a)
srgpsph2.arj - SRGP/SPHIGS for DJGPP
srgpsph3.arj - SRGP/SPHIGS for Windows 3.1
SRGP is a 2D graphics package, powerful and easy to use; SPHIGS is
similar to PHIGS+ and supports 3D primitives, hierarchical objects,
shading, etc. Invented by the writers of the Bible of Computer
Graphics, Principles and Practice (Foley, Van Dam et al) - the book
is recommended to anybody interested in graphics (all the algorithms
use SRGP and SPHIGS).
vogl.arj - VOGL for DJGPP
VOGL is an emulation of SGI GL, which runs on UNIX/X11, Windows, Mac
and DOS (with and without DJGPP). It is a library supporting 2D and 3D
primitives.
SUIT example:
=============
#include "suit.h"
SUIT_object num1, num2, result;
void PerformAddition(SUIT_object button)
{
double temp1, temp2;
char buffer[100];
temp1 = atof(SUIT_getText(num1,"current value"));
temp2 = atof(SUIT_getText(num2,"current value"));
sprintf(buffer, "%f", temp1 + temp2);
SUIT_setText(result, "label", buffer);
}
void main (int argc, char *argv[])
{
SUIT_init(argv[0]);
num1 = SUIT_createTypeInBox("num 1",NULL);
num2 = SUIT_createTypeInBox("num 2",NULL);
result = SUIT_createLabel("result");
SUIT_createButton("GO", PerformAddition);
SUIT_createDoneButton(NULL);
SUIT_beginStandardApplication();
}
=====
Hope it helps,
Antonio Costa.
.........................................................................
O O
/ / I N E S C
| O | Antonio Costa | E-Mail acc AT asterix DOT inescn DOT pt
| |\ | O | acosta AT porto DOT inescn DOT pt
| | \ | / O Comp. Graphics & CAD | DECnet porto::acosta
| | \| / / |
| | / | | Largo Mompilher 22 | UUCP {mcvax,...}!...
O | |-O | | 4100 Porto PORTUGAL | Bell +351+02+321006
/ \ / \
O O O "Let the good times roll..."
- Raw text -