++it;
}
d_owner->getAxon()->getVComponent()->prepareForDraw(isAnimationInterval);
+
+ float s = d_owner->getViewSize();
+ float ew = fabs(getPageX()) * 2 + s + 0.75;
+ float ed = fabs(getPageY()) * 2 + s + 0.75;
+
+ DCVCPage *page = getPageBelonging();
+ if (ew > page->getWidth())
+ {
+ page->setWidth(ew);
+ }
+
+ if (ed > page->getDepth())
+ {
+ page->setDepth(ed);
+ }
}
void DCVCCell::drawChildren(bool isAnimationInterval)
void DCVCPage::prepareChildrenForDraw(bool isAnimationInterval)
{
+ setWidth(10.0);
+ setDepth(6.0);
for (int i = 0; i < d_cells.size(); ++i)
{
d_cells.at(i)->prepareForDraw(isAnimationInterval);
virtual bool isResizingArea(float x, float y, float z) const { return false; }
QString getLocationPath() const { return d_locationPath; }
bool getIsModified(DCContainer *container) const;
+ inline float getWidth() const { return d_width; }
+ inline float getDepth() const { return d_depth; }
const QList<DCVPageComponent*>* getCells() const { return &d_cells; }
const QList<DCVPageComponent*>* getCellCodeClasses() const { return &d_cellCodeClasses; }