Eliminate superfluous DPG executes

This commit is contained in:
WandererFan
2017-08-14 19:49:42 -04:00
committed by wmayer
parent 2524053887
commit e35e2f2573
26 changed files with 159 additions and 242 deletions

View File

@@ -77,7 +77,7 @@ public:
DrawPage* findParentPage() const;
bool allowAutoPos() {return autoPos;}; //sb in DPGI??
void setAutoPos(bool state) {autoPos = state;};
void setAutoPos(bool state) {autoPos = state;}; //autopos is obsolete
bool isMouseMove() {return mouseMove;};
void setMouseMove(bool state) {mouseMove = state;};
virtual QRectF getRect() const; //must be overridden by derived class
@@ -86,6 +86,7 @@ public:
virtual void setPosition(double x, double y);
bool keepUpdated(void);
boost::signal<void (const DrawView*)> signalGuiPaint;
virtual double getScale(void) const;
protected:
void onChanged(const App::Property* prop);