Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapwidget.h')
-rw-r--r--src/mapwidget.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mapwidget.h b/src/mapwidget.h
index 4f0a1fa..5bc3cb2 100644
--- a/src/mapwidget.h
+++ b/src/mapwidget.h
@@ -68,6 +68,13 @@ signals:
* @brief the selected() signal is emitted if an entity on the map is selected
* */
void selected(MapEntity *entity);
+
+public slots:
+ /**
+ * @brief move and resize child widgets
+ * This should be called whenever a child location on the map has changed.
+ * */
+ void resizeChildren();
private slots:
/**
@@ -76,8 +83,6 @@ private slots:
void select(MapEntity *entity);
private:
- void resizeChildren();
-
int mapwidget_zoom;
int dragstart_x;
int dragstart_y;