Преглед изворни кода

- Fixed nifty RenderDeviceJme compilation issue, a new float param has been added to the renderFont method in nifty's RenderDevice interface, it's called "f1" so it's kinda hard to tell what it stands for. For now it's not used in jme's renderFont method.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om пре 14 година
родитељ
комит
4c0f7b06ca
1 измењених фајлова са 7 додато и 2 уклоњено
  1. 7 2
      engine/src/niftygui/com/jme3/niftygui/RenderDeviceJme.java

+ 7 - 2
engine/src/niftygui/com/jme3/niftygui/RenderDeviceJme.java

@@ -186,8 +186,11 @@ public class RenderDeviceJme implements RenderDevice {
         buf.flip();
         quadColor.updateData(buf);
     }
-
-    public void renderFont(RenderFont font, String str, int x, int y, Color color, float size){
+    
+ 
+    @Override
+    public void renderFont(RenderFont font, String str, int x, int y, Color color, float size, float f1){        
+        //TODO find out what the f1 param is for
         if (str.length() == 0)
             return;
 
@@ -364,4 +367,6 @@ public class RenderDeviceJme implements RenderDevice {
         }
     }
 
+    
+
 }