[Igarden-commit] Garden/source/LayoutDB Element.h, 1.38.2.1, 1.38.2.2
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-28 23:19:24
|
Update of /cvsroot/igarden/Garden/source/LayoutDB In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16923 Modified Files: Tag: Release_branch_v1 Element.h Log Message: Enforce ordering of different types of elements Index: Element.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/LayoutDB/Element.h,v retrieving revision 1.38.2.1 retrieving revision 1.38.2.2 diff -C2 -d -r1.38.2.1 -r1.38.2.2 *** Element.h 1 Nov 2006 03:09:47 -0000 1.38.2.1 --- Element.h 28 Jan 2007 23:19:23 -0000 1.38.2.2 *************** *** 71,74 **** --- 71,85 ---- typedef enum { + kOrderBackground, + kOrderWalksDefault, + kOrderPatio, + kOrderContainer, + kOrderPlants, + kOrderStructures, + kNumOrderEntries // Must be last + } displayOrder_t; + + typedef enum + { kBeyondMaximumGrowth, kBeyondCurrentSize, *************** *** 177,180 **** --- 188,192 ---- bool IsLayerNamed(char* name); bool IsUnusedLayer(); + #pragma mark Document ClientDocument* GetDocument(); *************** *** 198,201 **** --- 210,214 ---- virtual void ExtractMaterialReferences(ClientDocument *doc); virtual bool isInGroup() { return false; } + virtual displayOrder_t GetDisplayOrder() { return kOrderWalksDefault; } virtual UInt32 NumItems() { return 0; } |