From: Andre Kloss <kloss rbg informatik tu-darmstadt de>
To: dia-list gnome org
Subject: UrShape definition Part I
Date: Wed, 27 Jun 2001 15:41:26 +0200 (MET DST)
Hi, there.
Since I don't see anyone providing a basic UrShape definition, I'll
try to write one myself. It is far from complete, but I need to
advance with this project, since my profesor will stop me from using
dia if I don't have a "working draft" of a UrShape by Friday.
typedef struct UrShape {
ObjectOps my_ops; /* As seen in custom_object.c */
ObjectType my_type; /* dito */
ObjectTypeOps my_type_ops; /* nuff said */
/* ... and the other stuff from custom_objects ... */
int max_children;
UrShapePtr parent, child, pre_sibling, next_sibling;
/* This should do for the mini-dom */
} UrShape, *UrShapePtr;
Or something like this. This will not compile, but I just want to
formalize the basis. Someone willing to improve this?
cu Andre
--
Tolerance rulez, everything else sux! -- Andre Kloss