summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--altosui/AltosFlightUI.java1
-rw-r--r--altosui/AltosFontListener.java22
-rw-r--r--altosui/AltosUIPreferences.java1
-rw-r--r--altosui/Makefile.am1
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 \