Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-11 18:35:13 +0000
committerStijn Buys <ingar@osirion.org>2013-11-11 18:35:13 +0000
commite44fa0f1ca62fbcc640530abb2d085939f470d34 (patch)
treea7db2549b2d697e16e3f51d30c8570c9a0731e3c /src/mapwidget.h
parent669abae48358e131e36fda99043c6bac291e74e7 (diff)
Added box selection, deleted selected, duplicate selected, move selected.
Diffstat (limited to 'src/mapwidget.h')
-rw-r--r--src/mapwidget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mapwidget.h b/src/mapwidget.h
index d418602..559fdde 100644
--- a/src/mapwidget.h
+++ b/src/mapwidget.h
@@ -125,12 +125,18 @@ private slots:
void dragEntity(EntityWidget *entity, int x, int y);
private:
+ void doBoxSelect();
+
typedef QList<EntityWidget *> Entities;
int dragstart_x;
int dragstart_y;
+ int dragstop_x;
+ int dragstop_y;
+
bool is_dragging;
+ bool is_box_selecting;
// zoom factor, as a power of 2
int mapwidget_zoomfactor;