* Fix compile error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
8a247c8da4
commit
a236c7d03b
@ -1,16 +1,7 @@
|
||||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package com.jme3.system.awt;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author normenhansen
|
||||
*/
|
||||
public enum PaintMode {
|
||||
Accelerated,
|
||||
OnRequest,
|
||||
Repaint;
|
||||
|
||||
Repaint,
|
||||
OnRequest;
|
||||
}
|
||||
|
@ -104,8 +104,8 @@ public class RenderFontJme implements RenderFont {
|
||||
* @param size font size
|
||||
* @return width of the character or null when no information for the character is available
|
||||
*/
|
||||
public Integer getCharacterAdvance(final char currentCharacter, final char nextCharacter, final float size) {
|
||||
return Integer.valueOf( Math.round(font.getCharacterAdvance(currentCharacter, nextCharacter, size)) );
|
||||
public int getCharacterAdvance(final char currentCharacter, final char nextCharacter, final float size) {
|
||||
return Math.round(font.getCharacterAdvance(currentCharacter, nextCharacter, size));
|
||||
}
|
||||
|
||||
public void dispose() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user