brshcomp.h

Go to the documentation of this file.
00001 // $Id: brshcomp.h 1282 2006-06-09 09:46:49Z alex $
00002 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE
00003 ================================XARAHEADERSTART===========================
00004  
00005                Xara LX, a vector drawing and manipulation program.
00006                     Copyright (C) 1993-2006 Xara Group Ltd.
00007        Copyright on certain contributions may be held in joint with their
00008               respective authors. See AUTHORS file for details.
00009 
00010 LICENSE TO USE AND MODIFY SOFTWARE
00011 ----------------------------------
00012 
00013 This file is part of Xara LX.
00014 
00015 Xara LX is free software; you can redistribute it and/or modify it
00016 under the terms of the GNU General Public License version 2 as published
00017 by the Free Software Foundation.
00018 
00019 Xara LX and its component source files are distributed in the hope
00020 that it will be useful, but WITHOUT ANY WARRANTY; without even the
00021 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00022 See the GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License along
00025 with Xara LX (see the file GPL in the root directory of the
00026 distribution); if not, write to the Free Software Foundation, Inc., 51
00027 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00028 
00029 
00030 ADDITIONAL RIGHTS
00031 -----------------
00032 
00033 Conditional upon your continuing compliance with the GNU General Public
00034 License described above, Xara Group Ltd grants to you certain additional
00035 rights. 
00036 
00037 The additional rights are to use, modify, and distribute the software
00038 together with the wxWidgets library, the wxXtra library, and the "CDraw"
00039 library and any other such library that any version of Xara LX relased
00040 by Xara Group Ltd requires in order to compile and execute, including
00041 the static linking of that library to XaraLX. In the case of the
00042 "CDraw" library, you may satisfy obligation under the GNU General Public
00043 License to provide source code by providing a binary copy of the library
00044 concerned and a copy of the license accompanying it.
00045 
00046 Nothing in this section restricts any of the rights you have under
00047 the GNU General Public License.
00048 
00049 
00050 SCOPE OF LICENSE
00051 ----------------
00052 
00053 This license applies to this program (XaraLX) and its constituent source
00054 files only, and does not necessarily apply to other Xara products which may
00055 in part share the same code base, and are subject to their own licensing
00056 terms.
00057 
00058 This license does not apply to files in the wxXtra directory, which
00059 are built into a separate library, and are subject to the wxWindows
00060 license contained within that directory in the file "WXXTRA-LICENSE".
00061 
00062 This license does not apply to the binary libraries (if any) within
00063 the "libs" directory, which are subject to a separate license contained
00064 within that directory in the file "LIBS-LICENSE".
00065 
00066 
00067 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS
00068 ----------------------------------------------
00069 
00070 Subject to the terms of the GNU Public License (see above), you are
00071 free to do whatever you like with your modifications. However, you may
00072 (at your option) wish contribute them to Xara's source tree. You can
00073 find details of how to do this at:
00074   http://www.xaraxtreme.org/developers/
00075 
00076 Prior to contributing your modifications, you will need to complete our
00077 contributor agreement. This can be found at:
00078   http://www.xaraxtreme.org/developers/contribute/
00079 
00080 Please note that Xara will not accept modifications which modify any of
00081 the text between the start and end of this header (marked
00082 XARAHEADERSTART and XARAHEADEREND).
00083 
00084 
00085 MARKS
00086 -----
00087 
00088 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara
00089 designs are registered or unregistered trademarks, design-marks, and/or
00090 service marks of Xara Group Ltd. All rights in these marks are reserved.
00091 
00092 
00093       Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK.
00094                         http://www.xara.com/
00095 
00096 =================================XARAHEADEREND============================
00097  */
00098 
00099 // Brush Component and Definition classes
00100 
00101 #ifndef BRSHCOMP
00102 #define BRSHCOMP
00103 
00104 #include "linecomp.h"
00105 //#include "camfiltr.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00106 
00107 class BrushRef;
00108 class BaseCamelotFilter;
00109 class CXaraFileRecord;
00110 class CamelotRecordHandler;
00111 class Node;
00112 class PathProcessorBrush;
00113 class AttrBrushType;
00114 class BlendedBrushDefinition;
00115 class BrushData;
00116 class Range;
00117 
00118 enum ListUpdateType
00119 {
00120     UPDATE_NONE,
00121     UPDATE_LIST,
00122     UPDATE_PROPORTION,
00123     UPDATE_POSITION,
00124     UPDATE_LISTANDPOSITION
00125 };
00126 
00127 
00128 // indicates what type of offset from the path each object will have, e.g. all left of the path,
00129 // all right of the path, left then right etc.
00130 enum PathOffset {OFFSET_NONE,
00131                  OFFSET_ALTERNATE,
00132                  OFFSET_LEFT,
00133                  OFFSET_RIGHT,
00134                  OFFSET_RANDOM,
00135                  };
00136 
00137 // for brushes made from multiple objects this indicates the order in which the objects appear
00138 enum SequenceType { SEQ_FORWARD,
00139                     SEQ_BACKWARD,
00140                     SEQ_MIRROR,
00141                     SEQ_RANDOM};
00142 
00143 // various minimums and maximums that are used throughout the brush files
00144 const MILLIPOINT MIN_BRUSH_SPACING = 1000;
00145 const MILLIPOINT MAX_BRUSH_SPACING = 432000;
00146 const MILLIPOINT MAX_BRUSH_OFFSET  = 216000;
00147 const MILLIPOINT DEFAULT_BRUSH_SPACING = 10000;
00148 const double MIN_BRUSH_SCALE = 0.005;
00149 const double MAX_BRUSH_SCALE = 20;
00150 const UINT32 MAX_BRUSH_OBJECTS = 50;
00151 const UINT32 MIN_BRUSH_RAND = 0;
00152 const UINT32 MAX_BRUSH_RAND = 100;
00153 const UINT32 OFFSETTYPE_LEFT = 1;
00154 const UINT32 OFFSETTYPE_RIGHT = 2;
00155 const UINT32 OFFSETTYPE_CENTRE = 3;
00156 const double MAX_TIMESTAMP = 5000;
00157 const double MIN_TIMESTAMP = 2;
00158 #define MAX_ANGLE 2*PI;
00159 #define MIN_ANGLE -2*PI;
00160 const double MAX_ANGLE_DEG = 360;
00161 const double MIN_ANGLE_DEG = -360;
00162 const UINT32   MAX_PRESSURE_EFFECT = 100;
00163 const UINT32   MIN_PRESSURE_EFFECT = 0;
00164 const MILLIPOINT MAX_BRUSH_SIZE = 432000;
00165 const UINT32 BRUSHFILE_NONE = 9999;
00166 
00167 /********************************************************************************************
00168 
00169 >   typedef LineHandle BrushHandle;
00170 
00171     Author:     Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
00172     Created:    13/12/99
00173 
00174     Purpose:    A BrushHandle is a unique reference to a vector Brush in the
00175                 BrushComponent. All references to Brushs are done via BrushHandles,
00176                 which allows us to delete & relocate Brushs without worrying about
00177                 leaving lots of pointers to them lying about and causing havoc.
00178 
00179                 The special handle BrushHandle_NoBrush is used for illegal handles
00180                 and returning error states.
00181 
00182     SeeAlso:    BrushComponent; BrushDefinition
00183 
00184 ********************************************************************************************/
00185 
00186 typedef UINT32 BrushHandle;
00187 
00188 const BrushHandle BrushHandle_NoBrush = 0xffffffff;
00189 
00190 
00191 /********************************************************************************************
00192 
00193 >   class BrushDefinition : public CCObject
00194 
00195     Author:     Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
00196     Created:    13/12/99
00197 
00198     Purpose:    Stores a vector Brush definition
00199                 A static list of these items is held in the BrushComponent.
00200 
00201     SeeAlso:    BrushComponent
00202 
00203 ********************************************************************************************/
00204 
00205 class BrushDefinition : public LineDefinition
00206 {
00207 CC_DECLARE_DYNAMIC(BrushDefinition)
00208 
00209 public:
00210     BrushDefinition();
00211     BrushDefinition(Node *pBrushTree);
00212 
00213     ~BrushDefinition();
00214 
00215     // generates the brush objects from m_pTree
00216     BOOL        GenerateBrush();
00217     
00218     BOOL        RegenerateBrush(); 
00219 
00220     BOOL        IsActivated();  // has this definition been activated ok?
00221     void        SetActivated(BOOL Value);
00222 
00223     // call these functions before you render with this brush and when you finish,
00224     // as they generate and destroy the paths and attributes that we will use for
00225     // rendering with
00226     BOOL        StartRender();
00227     void        StopRender();
00228 public:
00229     BOOL        IsDifferent(LineDefinition *pOther);
00230     BOOL        AreBrushParametersIdentical(BrushDefinition* pOther);
00231 
00232     BrushDefinition* Copy();  // makes a copy of this definition
00233 
00234     BOOL        CopyInkTreeToClipboard();
00235     
00236     BOOL        UsesPressure();
00237 
00238     static BOOL ObjectCanCreateBrush(NodeRenderableInk* pObject);
00239 
00240 
00241 public:  // access functions
00242     // spacing fns
00243     MILLIPOINT  GetSpacing();
00244     BOOL        SetSpacing(MILLIPOINT Spacing);
00245     BOOL        SetSpacingIncrProp(double Incr);
00246     double      GetSpacingIncrProp();
00247     BOOL        SetSpacingIncrConst(MILLIPOINT Incr);
00248     MILLIPOINT  GetSpacingIncrConst();
00249     UINT32      GetSpacingMaxRand();
00250     BOOL        SetSpacingMaxRand(UINT32 Value);
00251     UINT32      GetSpacingRandSeed();
00252     void        SetSpacingRandSeed(UINT32 Seed);
00253 
00254 public: // offset fns
00255     PathOffset  GetPathOffsetType();
00256     MILLIPOINT  GetPathOffsetValue();
00257     void        SetPathOffsetType(PathOffset Offset);
00258     void        SetPathOffsetValue(MILLIPOINT Value);
00259     BOOL        SetPathOffsetIncrProp(double Incr);
00260     double      GetPathOffsetIncrProp();
00261     BOOL        SetPathOffsetIncrConst(MILLIPOINT Incr);
00262     MILLIPOINT  GetPathOffsetIncrConst();
00263     UINT32      GetOffsetTypeRandSeed();
00264     void        SetOffsetTypeRandSeed(UINT32 Seed);
00265     UINT32      GetOffsetValueMaxRand();
00266     BOOL        SetOffsetValueMaxRand(UINT32 Seed);
00267     UINT32      GetOffsetValueRandSeed();
00268     void        SetOffsetValueRandSeed(UINT32 Seed);
00269 
00270 public: // tiling fns
00271     void        SetTiling(BOOL Value);
00272     BOOL        IsTiled();
00273 public: // rotation fns
00274     BOOL        SetRotationAngle(double Angle);
00275     double      GetRotationAngle();
00276     double      GetRotationIncrConst();
00277     BOOL        SetRotationIncrConst(double Value);
00278     double      GetRotationIncrProp();
00279     BOOL        SetRotationIncrProp(double Value);
00280     void        SetRotated(BOOL Value);
00281     BOOL        IsRotated();
00282     UINT32      GetRotationMaxRand();
00283     BOOL        SetRotationMaxRand(UINT32 Value);
00284     UINT32      GetRotationRandSeed();
00285     void        SetRotationRandSeed(UINT32 Seed);
00286     UINT32      GetRotationMaxPressure();
00287     BOOL        SetRotationMaxPressure(UINT32 Pressure);
00288 
00289 public: // scaling fns
00290     double      GetBrushScaling() ;
00291     BOOL        SetBrushScaling(double Scale);
00292     double      GetBrushScalingIncr();
00293     BOOL        SetBrushScalingIncr(double Incr);
00294     double      GetBrushScalingIncrConst();
00295     BOOL        SetBrushScalingIncrConst(double Incr);
00296     UINT32      GetScalingMaxRand();
00297     BOOL        SetScalingMaxRand(UINT32 Value);
00298     UINT32      GetScalingRandSeed();
00299     void        SetScalingRandSeed(UINT32 Seed);
00300     UINT32      GetScalingMaxPressure();
00301     BOOL        SetScalingMaxPressure(UINT32 Pressure);
00302 
00303 public: // colour fns.
00304     double      GetHueIncrement();
00305     BOOL        SetHueIncrement(double Incr);
00306     UINT32      GetHueMaxRand();
00307     BOOL        SetHueMaxRand(UINT32 Max);
00308     UINT32      GetHueRandSeed();
00309     BOOL        SetHueRandSeed(UINT32 Seed);
00310 
00311     double      GetSatIncrement();
00312     BOOL        SetSatIncrement(double Incr);
00313     UINT32      GetSatMaxRand();
00314     BOOL        SetSatMaxRand(UINT32 Max);
00315     UINT32      GetSatRandSeed();
00316     BOOL        SetSatRandSeed(UINT32 Seed);
00317 
00318 public :    // sequence fns
00319     SequenceType GetSequenceType();
00320     void         SetSequenceType(SequenceType Type);
00321     UINT32       GetSequenceSeed();
00322     void         SetSequenceSeed(UINT32 Seed);
00323 
00324 public: // timestamping fns.
00325     double      GetTimeStampingPeriod();
00326     BOOL        SetTimeStampingPeriod(double Period);
00327 
00328 public: // transparency access
00329     INT32       GetBrushTransparency();
00330     BOOL        SetBrushTransparency(INT32 Value);
00331     UINT32      GetTransparencyPressure();
00332     BOOL        SetTransparencyPressure(UINT32 Value);
00333 
00334 public: // assorted other access fns 
00335     UINT32      GetNumBrushObjects() const;
00336     
00337     DocRect     GetLargestBoundingBox();  // gets the bbox of our largest object
00338     DocRect     GetLargestPossibleRect(BOOL AdjustForLineWidth = FALSE); // as above, plus all possible variations in scale
00339 
00340     MILLIPOINT  GetDefaultLineWidth(BOOL IgnorePressure = FALSE);
00341     BrushRef*   GetFirstBrushRef();
00342     BrushRef*   GetNextBrushRef();
00343     BrushRef*   GetBrushRef(UINT32 Index);
00344 
00345     void CalculateMaxScaling();
00346     double GetMaxScaling();
00347 
00348     // copies all the data to a path processor
00349     void       CopyDataToProcessor(PathProcessorBrush* pPathProc);
00350 
00351     BOOL        BrushContainsGroup();  // was this brush created from an object that included a group node?
00352 
00353     UINT32      GetBrushFileID();
00354     void        SetBrushFileID(UINT32 ID);
00355 
00356 public:  // writes brush definition to a filter
00357     BOOL        ExportBrush(BaseCamelotFilter *pFilter, const BrushHandle Handle);
00358 
00359 
00360 public:  // makes a brush data object out of the various members
00361     void InitialiseBrushData(BrushData* pData);
00362     BrushData* GetBrushData();
00363 
00364     void SetMembersFromData(BrushData Data);
00365 protected:  // internal helper functions
00366     BOOL        PreExportSubTree();  // must be called just prior to exporting the subtree
00367     BOOL        PostExportSubTree(); // etc.
00368 
00369     // generates a brushref from an inknode and adds it to the array
00370     BOOL        AddNewObject(NodeRenderableInk* pNode);  
00371     
00372     // if we are trying to generate a brush from a brushed object, then replace the brush with a group
00373     BOOL        ReplaceBrushWithGroup(NodeRenderableInk* pInk, NodeGroup** ppGroup);
00374 
00375     void        ResetMembers();  //  sets everything to default
00376 
00377     void        InitialiseBrushArray(UINT32 NumObjects); // allocates the brushref array
00378 
00379     UINT32      GetFirstRandomNumber(UINT32 Seed = 0);
00380     UINT32      GetNextRandomNumber();
00381 
00382 protected: 
00383     // brush specific data - these members affect the appearance of the brush and
00384     // are editable by the user via the BrushEdit dialog
00385 
00386     MILLIPOINT          m_BrushSpacing;  // the basic spacing along the path
00387     double              m_BrushSpacingIncrProp;  // the proportional spacing increment
00388     MILLIPOINT          m_BrushSpacingIncrConst; // constant spacing increment
00389     UINT32              m_BrushSpacingMaxRand; // the upper bound for spacing randomness    
00390     UINT32              m_BrushSpacingRandSeed; // the random seed for spacing
00391     UINT32              m_SpacingMaxPressure;
00392 
00393     BOOL                m_bTile;  // do we tile the fill attribute?
00394     BOOL                m_bRotate; //do we rotate along the path, should really be called m_bTangent I guess
00395     double              m_RotateAngle;
00396     double              m_RotAngleIncrProp;
00397     double              m_RotAngleIncrConst;
00398     UINT32              m_RotationMaxRand;
00399     UINT32              m_RotationRandSeed;
00400     UINT32              m_RotationMaxPressure;
00401 
00402     PathOffset          m_PathOffsetType;  // the type of offset pattern (see enum above)
00403     MILLIPOINT          m_PathOffsetValue; // size of the offset
00404     double              m_PathOffsetIncrProp; // proportional offset increment
00405     MILLIPOINT          m_PathOffsetIncrConst; // Constant offset increment
00406     UINT32              m_OffsetTypeRandSeed;
00407     UINT32              m_OffsetValueMaxRand; // maximum random offset value
00408     UINT32              m_OffsetValueRandSeed;
00409     UINT32              m_OffsetMaxPressure;
00410 
00411     double              m_BrushScaling;    // the scale factor of the original objects
00412     double              m_BrushScalingIncr;  // the proportional scaling increment
00413     double              m_BrushScalingIncrConst; //the constant increment as a percentage of the original scaling
00414     UINT32              m_BrushScalingMaxRand; // the upper bound for scaling randomness    
00415     UINT32              m_BrushScalingRandSeed; // the random seed for scaling
00416     UINT32              m_ScalingMaxPressure;   // the extent to which pressure affects scaling
00417 
00418         
00419     double              m_BrushHueIncrement;  // the amount that the hue increases/decreases each time
00420     UINT32              m_BrushHueMaxRand;    // the maximum random amount of hue
00421     UINT32              m_BrushHueRandSeed;
00422     UINT32              m_HueMaxPressure;
00423 
00424     double              m_BrushSatIncrement;  // as above but for saturation
00425     UINT32              m_BrushSatMaxRand;
00426     UINT32              m_BrushSatRandSeed;
00427     UINT32              m_SatMaxPressure;
00428 
00429     INT32               m_BrushTransparency;    // the new transparency control
00430     UINT32              m_TranspMaxPressure;
00431 
00432     SequenceType        m_SequenceType;     // the type of sequence (if we have > 1 ink object)
00433     UINT32              m_SequenceRandSeed; // if we have a random sequence this is the seed
00434 
00435     double              m_TimeStampPeriod;  // the time stamping period in milliseconds (or zero if no timestamping)
00436     UINT32              m_TimeStampMaxPressure;
00437 
00438 
00439 protected:  // helper member variables that are used internally
00440     std::vector< BrushRef * > m_BrushRefPtrArray;  // holds multiple blendrefs used to create the brush objects 
00441     UINT32              m_NumBrushObjects;   
00442     
00443     UINT32              m_LastBrushRefRetrieved;  // keeps track of which brushref was asked for last
00444 
00445     DocRect             m_LargestBoundingBox;   //BBox of the largest brush object in the definition
00446     BOOL                m_bInitOk;              // flag is set to TRUE if initialisation went ok
00447 
00448     double              m_MaxScaling;           // the scaling that will keep the size of objects to MAX_BRUSH_SIZE
00449 
00450     UINT32 m_DefaultFileID;  // if this brush was loaded in from a default file on start-up then it
00451                             // will be assigned an ID indicating which file
00452 
00453     BOOL                m_bActivated; // flag to indicate whether the definition has been deactivated
00454 };
00455 
00456 
00457 
00458 /********************************************************************************************
00459 
00460 >   class BrushComponentClass : public DocComponentClass
00461 
00462     Author:     Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
00463     Created:    22/2/97
00464     Purpose:    The class that gets a Brush doc component going on start up
00465                 We need to register our class as a document component and this is where
00466                 we do it all.
00467     SeeAlso:    DocComponentClass
00468 
00469 ********************************************************************************************/
00470 
00471 class BrushComponentClass : public DocComponentClass
00472 {
00473 CC_DECLARE_DYNAMIC(BrushComponentClass)
00474 
00475 public:
00476     static BOOL Init();
00477     static void DeInit();
00478     static BOOL LoadDefaultBrushes();
00479 
00480 public:
00481     BOOL AddComponent(BaseDocument *pDoc);
00482 };
00483 
00484 
00485 
00486 /********************************************************************************************
00487 
00488 >   class BrushComponent : public DocComponent
00489 
00490     Author:     Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
00491     Created:    22/2/97
00492 
00493     Purpose:    A document component for handling Brush definitions.
00494 
00495                 BrushComponents share a global cache of available Brush types.
00496                 Individual instances serve as managers for the list, mainly providing
00497                 import/export facilities for Brush definitions.
00498 
00499     SeeAlso:    DocComponent
00500 
00501 ********************************************************************************************/
00502 
00503 class BrushComponent : public LineComponent
00504 {
00505 
00506 CC_DECLARE_DYNAMIC(BrushComponent)
00507 
00508 public:
00509     BrushComponent();
00510     virtual ~BrushComponent();
00511 
00512 public:
00513     // if you are loading brushes at start-up these must be called
00514     static BOOL BeginLoadingDefaultFiles();
00515     static BOOL LoadNextDefaultFile();
00516     static void EndLoadingDefaults();
00517 
00518 public: // assorted access and such
00519     AttrBrushType* CreateAttributeNode(BrushHandle Handle);
00520     static AttrBrushType* CreateNode(BrushHandle Handle);
00521  
00522     virtual LineHandle AddNewItem(LineDefinition *pLine, BOOL AskName = FALSE);
00523                         // adds a new brush to the component
00524 
00525     static UINT32 GetNumberOfBrushes() {return m_Used;}
00526     static BrushDefinition *FindBrushDefinition(UINT32 Handle, BOOL IncludeDeactivated = FALSE);
00527                     // Finds the definition of a given Line
00528 
00529     BOOL CopyInkObjectsToClipboard(BrushHandle Handle); 
00530                     // copies the ink objects of a brush definition to the clipboard
00531 
00532 
00533     virtual BOOL        NameIsUnique(const String_32& NameString);
00534             // checks the definitions to see if this name is unique
00535 
00536     virtual String_32 GetUniqueName(String_32* pName = NULL);
00537             // Searches to see if the name provided is already in use by a brush    
00538 
00539     static void CancelNewBrush();
00540     static void SetNewName(String_32 NewName);
00541 public:         // Import/Export fns.
00542     
00543     virtual BOOL StartExport(BaseCamelotFilter *pFilter);
00544     
00545      BOOL StartImportBrush(CamelotRecordHandler *pHandler, CXaraFileRecord *pRecord, UINT32 ImportHandle);
00546 
00547      BOOL EndImportBrush(CamelotRecordHandler *pHandler);
00548                 // Starts and completes import of the Atomic Brush definition
00549 
00550      BOOL ExportLine(BaseCamelotFilter *pFilter, BrushHandle Handle);
00551                 // Exports a Brush definition (if necessary)
00552 
00553      BrushHandle FindImportedBrush(UINT32 ImportedHandle);
00554                 // Finds the internal handle of the stroke definition with the given imported handle
00555 
00556     BrushDefinition* GetImportBrushDefinition();
00557     void             CleanUpAfterImport();
00558                         // deletes the objects we create during an import
00559     
00560 private:            // Global Brush list & management functions
00561     virtual BOOL ExpandArray(void);
00562 
00563 
00564 
00565     BrushDefinition* m_pImportBrushDef;  // used to temporarily store data when importing a brush
00566 
00567     MILLIPOINT m_StoreSpacing;
00568     BOOL m_StoreTile;
00569     BOOL m_StoreRotate;
00570     double m_StoreRotateAngle;
00571     PathOffset m_StorePathOffsetType;
00572     MILLIPOINT m_StoreOffsetValue;
00573     
00574     static String_32 m_NewName;  // the name of our next brush (set by the naming dialog)
00575     static BOOL m_bCancelNewBrush;
00576     static UINT32 m_CurrentDefaultFile; // keeps track of which default file we are loading in on startup
00577 
00578 };
00579 
00580 
00581 
00582 #endif
00583 

Generated on Sat Nov 10 03:44:32 2007 for Camelot by  doxygen 1.4.4