diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-24 19:13:03 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-24 19:35:11 -0700 |
commit | cbfbaabb39f9f7709d00cf3dc63cc1bc7563062e (patch) | |
tree | 418a3ab5f1bd9db5ff476bb5d70f076d23d0d852 /altosui/AltosIdleMonitorUI.java | |
parent | 9849883a754a73b861dd7be530753ff5c2abb499 (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/AltosIdleMonitorUI.java')
-rw-r--r-- | altosui/AltosIdleMonitorUI.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/altosui/AltosIdleMonitorUI.java b/altosui/AltosIdleMonitorUI.java index 142f0278..988a797c 100644 --- a/altosui/AltosIdleMonitorUI.java +++ b/altosui/AltosIdleMonitorUI.java @@ -284,6 +284,11 @@ public class AltosIdleMonitorUI extends JFrame implements AltosFlightDisplay { flightInfo.clear(); } + public void set_font() { + pad.set_font(); + flightInfo.set_font(); + } + public void show(AltosState state, int crc_errors) { try { pad.show(state, crc_errors); |