📄 menu.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
package mmae.ui;
import javax.microedition.lcdui.Graphics;
// Referenced classes of package mmae.ui:
// ItemBase
public class Menu extends ItemBase
{
String c;
public Menu(int i, String s)
{
super(i);
c = s;
}
public void draw(Graphics g)
{
g.setColor(0);
g.fillRect(left, top - 1, width, height + 1);
g.setColor(200, 200, 200);
g.drawRect(left - 1, top - 1, width - 1, height - 1);
g.setColor(255, 255, 255);
g.fillRect(left, top, width - 1, height - 1);
g.setColor(180, 30, 40);
g.fillRect(left, top, width - 1, 21);
g.setColor(255, 255, 255);
Graphics _tmp = g;
Graphics _tmp1 = g;
g.drawString(c, left + 5, top + 3, 0x10 | 0x4);
g.setColor(0);
if(itemNum != 0)
g.drawLine(left, top + 20, (left + width) - 2, top + 20);
g.setColor(49, 106, 197);
if(d != -1)
g.fillRect(left, top + 21 + d * 19, width - 1, 19);
for(int i = 0; i < itemNum; i++)
{
if(d == i)
g.setColor(255, 255, 255);
else
g.setColor(0);
Graphics _tmp2 = g;
Graphics _tmp3 = g;
g.drawString(b[i], left + 8, top + i * 19 + 22, 0x10 | 0x4);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -