Hey!

 I just got another idea how we could maybe solve this problem: We could
add some sort of "layers" to FreeCard. Every card and background may have
one or more layers which may contain a number of parts. Parts are numbered
uniquely only within a layer, and if you do not specify a layer, it
defaults to the topmost one.

 When a HyperCard stack is converted to a FreeCard stack, every card or
background receives two layers: one for the card/background picture, and
one for all the parts. Since the pictures appear below the parts in
HyperCard, the converter will use the layer that is topmost when evaluating
        the number of parts of this cd
and will take it to mean the same as
        the number of parts of last layer of this cd

And since the parts are all in that one layer, and the card picture is in
its own layer, the latter will not change the part numbers.

Advantages:
 -> Logically comprehensive and consistent use of objects
 -> Backward-compatibility to existing HyperCard stacks
 -> "Layers", a long-requested feature of many HyperCard users added smoothly

Disadvantages:
 -> "the number of parts of this cd" is not intuitive anymore, because
people might expect it to return the number of parts in *all* layers.

 Oh man, this is really a tough one.

Cheers,
-- M. Uli Kusterer

------------------------------------------------------------
             http://www.weblayout.com/witness
       'The Witnesses of TeachText are everywhere...'
 The future of programming: http://freecard.sourceforge.net


_______________________________________________
Freecard-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freecard-general

Reply via email to