delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/13/11:24:37

From: Doug Eleveld <deleveld AT dds DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Announce: Code for composite and window objects for Allegro
Date: Mon, 13 Apr 1998 16:54:26 +0200
Organization: Rijksuniversiteit Groningen
Lines: 54
Message-ID: <35322722.7F6DA7BF@dds.nl>
NNTP-Posting-Host: client36-88.oprit.rug.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi Everyone,

Check out my homepage http://huizen.dds.nl/~deleveld/index.htm for a
link
to some new code that makes composite and window objects possible with
Allegro's gui.  Look for the Allegwin.zip package. 

While I was working on Degui 2.0, I made some composite objects (a group
of object that act as if they are one object) and I realized that
composite
object are a really useful way of encapsulating objects and making
complex
objects really easy to handle and use.  I thought that Allegro's
relatively
simple gui could really benifit from something like this.  So I spent a
few
days trying to get composite and windowed objects working.  I've gotten
composite objects (objects containing a DIALOG array) and window object
pretty much running now. 

Features:
  - Dialog within a dialog
  - Sub-objects are clipped to the window
  - Movable windows, just click title and drag
  - Object drawing order is variable

Some features that I think are possible to add
  - Windows with vertical and horizontal scrollbars

Do whatever you want with the code.  Make you own windowing gui or
whatever
you like.  It would be cool if you would support it as an Allegro add-on
and
possibly add scrollbars to windows and some new objects. If you use it I
do
expect that you mention my name somewhere in the docs, but it's not
likley
that I'll come to your house and kill you if you don't.

So take a look at it.  The code should just compile from the RHIDE
project
file, which I use (and love). I've marked all the places where I have
changed the Allegro code with !!! so do a search through the source for
!!!
and you'll find where I changed the Allegro source.  You can mail me if
you
want to talk about it in more depth at:

deleveld AT dds DOT nl or D DOT J DOT Eleveld AT anest DOT azg DOT nl

Have fun,

Doug Eleveld

- Raw text -


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