Remove straight paths checkbox and refactor

This commit is contained in:
BigBahss
2020-08-25 16:32:40 -04:00
committed by garak
parent de2246e2fd
commit 2fd3df9734
10 changed files with 19 additions and 66 deletions

View File

@@ -50,13 +50,12 @@ public:
void stopAnchor();
void initRightClickSelectionAnchor(int coordX, int coordY);
void stopRightClickSelectionAnchor();
void setSmartPathMode();
void setSmartPathMode(bool enable);
bool getSmartPathMode() { return this->smartPathMode; }
void setStraightPathMode();
void setStraightPathMode(bool enable);
bool getStraightPathMode() { return this->straightPathMode; }
void setSingleTileMode();
void stopSingleTileMode();
void setNormalPathMode();
void updateLocation(int x, int y);
void updateSelectionSize(int width, int height);
void setVisibility(bool visible);
@@ -76,7 +75,6 @@ private:
int selectionHeight;
QRgb color;
bool smartPathInEffect();
bool straightPathInEffect();
};