From ece997e937f1308fdb64b51245a32782320eb5d0 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 5 Dec 2003 05:15:03 +0000 Subject: [PATCH] Made getPuzzleFont() public. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2895 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../puzzle/client/PuzzleBoardView.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/java/com/threerings/puzzle/client/PuzzleBoardView.java b/src/java/com/threerings/puzzle/client/PuzzleBoardView.java index b80b72078..d2ee31190 100644 --- a/src/java/com/threerings/puzzle/client/PuzzleBoardView.java +++ b/src/java/com/threerings/puzzle/client/PuzzleBoardView.java @@ -1,5 +1,5 @@ // -// $Id: PuzzleBoardView.java,v 1.4 2003/11/26 23:06:05 mdb Exp $ +// $Id: PuzzleBoardView.java,v 1.5 2003/12/05 05:15:03 mdb Exp $ package com.threerings.puzzle.client; @@ -287,6 +287,17 @@ public abstract class PuzzleBoardView extends VirtualMediaPanel return FONT_SIZES.length; } + /** + * Returns the puzzle font of the specified size. + * + * @param size the desired font size; a value between 0 and {@link + * #getPuzzleFontCount} - 1. + */ + public static Font getPuzzleFont (int size) + { + return _fonts[size]; + } + /** * Positions the supplied animation so as to avoid any active * animations previously registered with this method, and adds the @@ -377,17 +388,6 @@ public abstract class PuzzleBoardView extends VirtualMediaPanel */ protected abstract void renderBoard (Graphics2D gfx, Rectangle dirty); - /** - * Returns the puzzle font of the specified size. - * - * @param size the desired font size; a value between 0 and {@link - * #getPuzzleFontCount} - 1. - */ - protected static Font getPuzzleFont (int size) - { - return _fonts[size]; - } - /** Our client context. */ protected PuzzleContext _ctx;