bitdream / loon-simple

Automatically exported from code.google.com/p/loon-simple
0 stars 0 forks source link

EmulatorButton用不能自定义外观么? #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
我更改了外观,如下
            EmulatorButton.getLeft().draw(GraphicsUtils.loadImage("res/emulatorbutton_left.png").getLGraphics());
            EmulatorButton.getUp().draw(GraphicsUtils.loadImage("res/emulatorbutton_up.png").getLGraphics());
            EmulatorButton.getDown().draw(GraphicsUtils.loadImage("res/emulatorbutton_down.png").getLGraphics());
            EmulatorButton.getRight().draw(GraphicsUtils.loadImage("res/emulatorbutton_right.png").getLGraphics());
结果报错,强行终止,不知道是不是图片需要格式,比如必��
�是24位色彩啊,或者大小必须是2的n次方啊什么的?

Original issue reported on code.google.com by wuyinqiu...@gmail.com on 23 Dec 2011 at 4:47