summaryrefslogtreecommitdiff
path: root/altosuilib/AltosUIMapZoomListener.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-11 18:46:47 -0700
committerKeith Packard <keithp@keithp.com>2014-06-11 18:46:47 -0700
commitdb2443fdbf65b65703217174303027c439124a83 (patch)
treedd18a92bddd7d39f2a37c46c045e06767fcf0a99 /altosuilib/AltosUIMapZoomListener.java
parentac33ca137551e32235cd2a0304da4b5e7af51a44 (diff)
altosuilib: Rewrite map GUI bits
Use a single large Canvas and draw images on top by hand. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIMapZoomListener.java')
-rw-r--r--altosuilib/AltosUIMapZoomListener.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/altosuilib/AltosUIMapZoomListener.java b/altosuilib/AltosUIMapZoomListener.java
new file mode 100644
index 00000000..02e8bb51
--- /dev/null
+++ b/altosuilib/AltosUIMapZoomListener.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright © 2014 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+package org.altusmetrum.altosuilib_2;
+
+public interface AltosUIMapZoomListener {
+ abstract public void zoom_changed(int zoom);
+}