Missed some bits.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2879 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-11-26 02:07:45 +00:00
parent 104763ac88
commit 5424a66006
3 changed files with 29 additions and 38 deletions
@@ -1,5 +1,5 @@
//
// $Id: PuzzleBoardView.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
// $Id: PuzzleBoardView.java,v 1.2 2003/11/26 02:07:45 mdb Exp $
package com.threerings.puzzle.client;
@@ -26,7 +26,8 @@ import com.threerings.media.image.Mirage;
import com.threerings.media.sprite.Sprite;
import com.threerings.media.sprite.SpriteManager;
import com.threerings.yohoho.client.YoUI;
// import com.threerings.yohoho.client.YoUI;
import com.threerings.puzzle.Log;
import com.threerings.puzzle.client.ScoreAnimation;
import com.threerings.puzzle.data.Board;
@@ -91,17 +92,17 @@ public abstract class PuzzleBoardView extends VirtualMediaPanel
*/
public void setPaused (boolean paused)
{
if (paused) {
_pauseLabel = new Label(
YoUI.puzzle.getBundle().get(_pctrl.getPauseString()),
Label.BOLD | Label.OUTLINE, Color.WHITE, Color.BLACK,
_fonts[_fonts.length - 2]);
_pauseLabel.setTargetWidth(_bounds.width);
_pauseLabel.layout(this);
} else {
_pauseLabel = null;
}
repaint();
// if (paused) {
// _pauseLabel = new Label(
// YoUI.puzzle.getBundle().get(_pctrl.getPauseString()),
// Label.BOLD | Label.OUTLINE, Color.WHITE, Color.BLACK,
// _fonts[_fonts.length - 2]);
// _pauseLabel.setTargetWidth(_bounds.width);
// _pauseLabel.layout(this);
// } else {
// _pauseLabel = null;
// }
// repaint();
}
/**