diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-02 09:33:36 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-01-02 09:33:36 -0800 |
commit | ae09bd641a86970763380f3028f987ffcb791020 (patch) | |
tree | c0b9d8cdb79222a3b75490f1c272824705e2f105 | |
parent | 8af405f1ac4d1b930f10465fd0270a49176f16d1 (diff) |
altosui: Use shared AltosFontListener class
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosFlightUI.java | 1 | ||||
-rw-r--r-- | altosui/AltosFontListener.java | 22 | ||||
-rw-r--r-- | altosui/AltosUIPreferences.java | 1 | ||||
-rw-r--r-- | altosui/Makefile.am | 1 |
4 files changed, 2 insertions, 23 deletions
diff --git a/altosui/AltosFlightUI.java b/altosui/AltosFlightUI.java index 43df705e..604ea658 100644 --- a/altosui/AltosFlightUI.java +++ b/altosui/AltosFlightUI.java @@ -22,6 +22,7 @@ import java.awt.event.*; import javax.swing.*; import java.util.concurrent.*; import org.altusmetrum.AltosLib.*; +import org.altusmetrum.altosuilib.*; public class AltosFlightUI extends AltosFrame implements AltosFlightDisplay, AltosFontListener { AltosVoice voice; diff --git a/altosui/AltosFontListener.java b/altosui/AltosFontListener.java deleted file mode 100644 index 0dda0f29..00000000 --- a/altosui/AltosFontListener.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright © 2011 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 altosui; - -public interface AltosFontListener { - void font_size_changed(int font_size); -} diff --git a/altosui/AltosUIPreferences.java b/altosui/AltosUIPreferences.java index f6ee7e06..9c56d031 100644 --- a/altosui/AltosUIPreferences.java +++ b/altosui/AltosUIPreferences.java @@ -22,6 +22,7 @@ import java.util.*; import java.awt.Component; import javax.swing.*; import org.altusmetrum.AltosLib.*; +import org.altusmetrum.altosuilib.*; public class AltosUIPreferences extends AltosPreferences { diff --git a/altosui/Makefile.am b/altosui/Makefile.am index 593eeb0a..1bd98c1c 100644 --- a/altosui/Makefile.am +++ b/altosui/Makefile.am @@ -50,7 +50,6 @@ altosui_JAVA = \ AltosFlightStatus.java \ AltosFlightStatusUpdate.java \ AltosFlightUI.java \ - AltosFontListener.java \ AltosFreqList.java \ AltosHexfile.java \ Altos.java \ |