delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/24/21:07:04

Xref: news2.mv.net comp.os.msdos.djgpp:580
From: y0000201 AT ws DOT rz DOT tu-bs DOT de (Stephan Schild)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GUI's?
Date: 19 Jan 1996 19:34:45 GMT
Organization: Technische Universitaet Braunschweig, Germany
Lines: 57
Sender: y0000201 AT rznb16 DOT rz DOT tu-bs DOT de (Stephan Schild)
Distribution: world
Message-ID: <4dorom$la6@ra.ibr.cs.tu-bs.de>
References: <9601142133 DOT AA19204 AT dutetvd DOT ET DOT TUDelft DOT NL>
NNTP-Posting-Host: rznb16.rz.tu-bs.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <9601142133 DOT AA19204 AT dutetvd DOT ET DOT TUDelft DOT NL>, alwin AT dutetvd (Alwin 
	Beukers) writes:
|> Hi! 
|> Does anybody know where I can find SWORD? And are there other GUI interfaces
|> available? 
|> Does there exist a gui lib by Csaba Biegl ? I received some time ago a copy of a
|> library directly from him, which I quite liked. Was this library made publically
|> available ?
|>  
|> Thanx,
|> Alwin!
|>  

Hi Alwin.

I wrote my own GUI, using Csaba Biegl's GRX. It is NOT complete, but has 
	- unlimited number of windows, resizeable, moveable, ...
	- Buttons, Menu-Buttons, Scrollbars
	- Hot-Keys for Buttons
	- Menus
	- Text input fields
	- Text areas (including scrolling)
	- Text messages (shows text only, is inactive)
	- Grafic areas
	- Hot spots
	- almost complete documentation (in german, TeX)
	- run-time renaming of most named objects (windows, text inputs, ...),
		using a config file. Makes porting to another language quite easy
	- probably a lot of bugs (it didn't crash on me for some time, so 
		there is hope)

it still lacks high level objects like
	- File selects
	- real Alert-windows (there is a primitive kind of Alert)
	- a GUI-builder
	- ...

Most of the objects can call user-defined functions when they are clicked with 
the left/right mouse button, Scrollbars also support the third button. Usually
the right button displays a menu, menus may call other menus.
It should work in any graphics mode, best with at least 256 colors because of 
the poor color handling 

The user interface is rather uncommon. At the time I began the project I was not
very comfortable with pointers, so my library uses integer numbers to
identify it's objects. Inside they refer to pointers, so it wastes some time,
but there was no need to change it as I am almost the only one to use it, so
far.

So far I used it for two games, a 3 dimensional Minesweeper clone and a
strategy game that will be much better than Civilisation if I ever complete it
(At this time it is not even close to completion, but it does show the use of
my GUI.)



Stephan Schild		s DOT schild AT tu-bs DOT de

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019