summaryrefslogtreecommitdiff
path: root/altosui/AltosFontListener.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-24 19:13:03 -0700
committerKeith Packard <keithp@keithp.com>2011-08-24 19:35:11 -0700
commitcbfbaabb39f9f7709d00cf3dc63cc1bc7563062e (patch)
tree418a3ab5f1bd9db5ff476bb5d70f076d23d0d852 /altosui/AltosFontListener.java
parent9849883a754a73b861dd7be530753ff5c2abb499 (diff)
altosui: Make flight monitor font size configurable
Tiny netbooks aren't tall enough for the 'usual' font size, so provide a smaller option. Then provide a bigger option, just because. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFontListener.java')
-rw-r--r--altosui/AltosFontListener.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/altosui/AltosFontListener.java b/altosui/AltosFontListener.java
new file mode 100644
index 00000000..0dda0f29
--- /dev/null
+++ b/altosui/AltosFontListener.java
@@ -0,0 +1,22 @@
+/*
+ * 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);
+}