diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-20 15:42:05 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-01-20 15:45:16 -0800 |
commit | 3454592169dcb61b81de9af2b631b87e7dd86231 (patch) | |
tree | f0c164421914de1363d09c464200d55c82325364 /altosuilib/AltosPositionListener.java | |
parent | cf03ab3383b679e6617e8ab7004be91e5a727562 (diff) |
altosui: Make initial AltOS window position configurable
Give the user a choice of nine locations on the screen
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosPositionListener.java')
-rw-r--r-- | altosuilib/AltosPositionListener.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/altosuilib/AltosPositionListener.java b/altosuilib/AltosPositionListener.java new file mode 100644 index 00000000..4f90446c --- /dev/null +++ b/altosuilib/AltosPositionListener.java @@ -0,0 +1,22 @@ +/* + * Copyright © 2013 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; + +public interface AltosPositionListener { + public void position_changed(int position); +} |