summaryrefslogtreecommitdiff
path: root/dgedit/canvastoolselections.h
diff options
context:
space:
mode:
Diffstat (limited to 'dgedit/canvastoolselections.h')
-rw-r--r--dgedit/canvastoolselections.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dgedit/canvastoolselections.h b/dgedit/canvastoolselections.h
index a8b37a3..a9e4d56 100644
--- a/dgedit/canvastoolselections.h
+++ b/dgedit/canvastoolselections.h
@@ -40,6 +40,7 @@ Q_OBJECT
public:
CanvasToolSelections(Canvas *canvas);
+ QString name() { return "Selections"; }
bool mouseMoveEvent(QMouseEvent *event);
bool mousePressEvent(QMouseEvent *event);
bool mouseReleaseEvent(QMouseEvent *event);
@@ -55,6 +56,7 @@ signals:
public slots:
void autoCreateSelections();
void clearSelections();
+ void thresholdChanged(double threshold);
private:
bool selection_is_moving_left;
@@ -64,8 +66,7 @@ private:
Canvas *canvas;
- float *data;
- size_t size;
+ double threshold;
QColor colSelBg;
QColor colSel;