effectsListModel.addElement(new ShadowEffect());\r
new EffectPanel(colorEffect);\r
\r
+ addWindowListener(new WindowAdapter() {\r
+ public void windowClosed (WindowEvent event) {\r
+ System.exit(0);\r
+ // Gdx.app.quit();\r
+ }\r
+ });\r
+\r
setVisible(true);\r
}\r
\r
\r
@Override public void resume () {\r
}\r
- \r
+\r
@Override public void dispose () {\r
}\r
}\r
public class UnicodeFontTest implements ApplicationListener {\r
private UnicodeFont unicodeFont;\r
\r
+ @Override\r
public void create() {\r
unicodeFont = new UnicodeFont("c:/windows/fonts/arial.ttf", 48, false,\r
false);\r
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\r
}\r
\r
+ @Override\r
public void render() {\r
GL11.glClear(GL_COLOR_BUFFER_BIT);\r
\r
// \uD802\uDC02\uD802\uDC03\uD802\uDC12 == 0x10802, 0x10803, s0x10812\r
}\r
\r
- public void dispose() {\r
- }\r
-\r
public static void main(String[] args) {\r
new LwjglApplication(new UnicodeFontTest(), "UnicodeFont Test", 800,\r
600, false);\r
\r
@Override\r
public void dispose() {\r
- // TODO Auto-generated method stub\r
-\r
}\r
\r
@Override\r
public void pause() {\r
- // TODO Auto-generated method stub\r
-\r
}\r
\r
@Override\r
public void resume() {\r
- // TODO Auto-generated method stub\r
-\r
}\r
}\r
return false;\r
}\r
\r
- public void dispose () {\r
- }\r
-\r
@Override public void dispose () {\r
- // TODO Auto-generated method stub\r
-\r
}\r
\r
@Override public void pause () {\r
- // TODO Auto-generated method stub\r
-\r
}\r
\r
@Override public void resume () {\r
- // TODO Auto-generated method stub\r
-\r
}\r
}\r
\r