public:
ObjectType type;
ObjectState state;
+ unsigned int layer;
protected:
ObjectState oldState;
bool needUpdate;
std::vector<Connection> connected;
// Class variables
+ public:
static QFont * font;
+ protected:
static bool fixedAngle;
static bool fixedLength;
static int viewportHeight;
static bool selectionInProgress;
static QRectF selection;
static double gridSpacing; // Grid spacing in base units
+ static int currentLayer;
};
#endif // __OBJECT_H__