diff options
| author | Keith Packard <keithp@keithp.com> | 2014-06-24 18:24:02 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-06-24 18:25:18 -0700 |
| commit | ade2cc9abb8ca403a9ae5d1f9c145ab72ce94919 (patch) | |
| tree | a049e59c6b97021e8f6c3305b5dc7f87f9963d26 /altosuilib/AltosUIMapCacheListener.java | |
| parent | 97269bb90c1602a1f8c54fc7b6c34383a0370621 (diff) | |
altosuilib: Make map cache size configurable
Systems with sufficient memory can get smoother map scrolling by
making the cache larger. Would be nice to do this automatically?
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIMapCacheListener.java')
| -rw-r--r-- | altosuilib/AltosUIMapCacheListener.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/altosuilib/AltosUIMapCacheListener.java b/altosuilib/AltosUIMapCacheListener.java new file mode 100644 index 00000000..680d123e --- /dev/null +++ b/altosuilib/AltosUIMapCacheListener.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_3; + +public interface AltosUIMapCacheListener { + public void map_cache_changed(int map_cache); +} |
