altosui: Use shared AltosFontListener class
authorKeith Packard <keithp@keithp.com>
Wed, 2 Jan 2013 17:33:36 +0000 (09:33 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 2 Jan 2013 17:33:36 +0000 (09:33 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosFlightUI.java
altosui/AltosFontListener.java [deleted file]
altosui/AltosUIPreferences.java
altosui/Makefile.am

index 43df705e96add4f6ff98777d586567c0db1dec8e..604ea6580103529ed6d77bcb532de8fd977ea25e 100644 (file)
@@ -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 (file)
index 0dda0f2..0000000
+++ /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);
-}
index f6ee7e06910d11f6a90edffdace729bca9206979..9c56d0318e35eb26372e7554e7d27086640d3f52 100644 (file)
@@ -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 {
 
index 593eeb0a4600d10bfcd45a842cd92fabf4d8ab0b..1bd98c1c2e0545d5861283ecd1f1fa059fa552a9 100644 (file)
@@ -50,7 +50,6 @@ altosui_JAVA = \
        AltosFlightStatus.java \
        AltosFlightStatusUpdate.java \
        AltosFlightUI.java \
-       AltosFontListener.java \
        AltosFreqList.java \
        AltosHexfile.java \
        Altos.java \