#ifndef _XtRect_h
#define _XtRect_h

// #include <xt++/WindowObj.h>
#include <xt++/Object.h>

/**********************************************************
 * Rectangle Object Instance Data Structures
 *
 **********************************************************/
/* these fields match CorePart and can not be changed */

class RectObjRec : public ObjectRec {
//protected:
  public: // so that the offset macro works
    Position        x, y;               /* rectangle position               */
    Dimension       width, height;      /* rectangle dimensions             */
    Dimension       border_width;       /* rectangle border width           */
    Boolean         managed;            /* is widget geometry managed?       */
    Boolean         sensitive;          /* is widget sensitive to user events*/
    Boolean         ancestor_sensitive; /* are all ancestors sensitive?      */
};
// typedef RectObjRec *RectObj;

/* there is no RectObjClass, use WindowObjClass instead */

// externalref WindowObjClass rectObjClass;

#endif _XtRect_h
/* DON'T ADD STUFF AFTER THIS #endif */
