CPDial

Superclass: CPObject

Other Subclasses:

CPDial


#ifdef USE_SH_POOLS
 public:
  // Overload new/delete to use a SmartHeap pool
  void *operator new(size_t size) { return MemAllocPtr(gCockMemPool,size,FALSE); };
  void operator delete(void *mem) { if (mem) MemFreePtr(mem); };
#endif
public:

   virtual ~CPDial (void);
 float    mDialValue;
 //====================================================//
 // Dimensions and Locations
 //====================================================//

 int    mxCenter;
 int    myCenter;
 int    mRadius0;
 int    mRadius1;
 int    mRadius2;
 long    mColor[2][3];
// long    mColor0;
// long    mColor1;
// long    mColor2;
 int    mEndPoints;
 float    *mpValues;
 float    *mpPoints;
 float    *mpCosPoints;
 float    *mpSinPoints;
 RECT    mSrcRect;
 int    mxPos0, mxPos1, mxPos2, mxPos3;
 int    myPos0, myPos1, myPos2, myPos3;
 

 //====================================================//
 // Pointers to Runtime Member Functions
 //====================================================//

 void    Exec(SimBaseClass*);
 void    DisplayDraw(void);

 //====================================================//
 // Constructors and Destructors
 //====================================================//

 CPDial(ObjectInitStr*, DialInitStr*);