Code:
private void drawMenu() {
int i = menuOffsetX;
int j = menuOffsetY;
int k = menuWidth;
int l = menuHeight + 1;
int i1 = 0x5d5447;
int xPos = menuOffsetX;
int yPos = menuOffsetY;
int menuW = menuWidth;
int menuH = menuHeight + 1;
int color = 0x5d5447;
//Border
DrawingArea.method338(yPos + 2, menuH - 4, 250, 0x706a5e, menuW, xPos);
DrawingArea.method338(yPos + 1, menuH - 2, 250, 0x706a5e, menuW - 2, xPos + 1);
DrawingArea.method338(yPos, menuH, 200, 0x706a5e, menuW - 4, xPos + 2);
//Border
DrawingArea.method338(yPos + 1, menuH - 2, 250, 0x2d2822, menuW - 6, xPos + 3);
DrawingArea.method338(yPos + 2, menuH - 4, 250, 0x2d2822, menuW - 4, xPos + 2);
DrawingArea.method338(yPos + 3, menuH - 6, 250, 0x2d2822, menuW - 2, xPos + 1);
//Border
DrawingArea.method338(yPos + 19, menuH - 22, 250, 0x524a3d, menuW - 4, xPos + 2);
DrawingArea.method338(yPos + 20, menuH - 22, 250, 0x524a3d, menuW - 6, xPos + 3);
//Menu Fill
DrawingArea.method335(0x112329, yPos + 20, menuW - 6, menuH - 23, 230, xPos + 3);
//Menu Header
DrawingArea.fillPixels(xPos + 3, menuW - 6, 1, 0x2a291b, yPos + 2);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x2a261b, yPos + 3);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x252116, yPos + 4);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x211e15, yPos + 5);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x1e1b12, yPos + 6);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x1a170e, yPos + 7);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 2, 0x15120b, yPos + 8);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x100d08, yPos + 10);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x090a04, yPos + 11);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x080703, yPos + 12);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x090a04, yPos + 13);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x070802, yPos + 14);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x090a04, yPos + 15);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x070802, yPos + 16);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x090a04, yPos + 17);
DrawingArea.fillPixels(xPos + 2, menuW - 4, 1, 0x2a291b, yPos + 18);
DrawingArea.fillPixels(xPos + 3, menuW - 6, 1, 0x564943, yPos + 19);
chatTextDrawingArea.method385(0xffffff, "Choose Option", j + 14, i + 3);
DrawingArea.method335(i1, j, k, l, 150, i);
DrawingArea.method335(0, j + 1, k - 2, 16, 150, i + 1);
DrawingArea.method338(j + 18, l - 19, 150, 0, k - 2, i + 1);
chatTextDrawingArea.method385(i1, "Choose Option", j + 14, i + 3);*/
int j1 = super.mouseX;
int k1 = super.mouseY;
if(menuScreenArea == 0) {
j1 -= 4;
k1 -= 4;
}
if(menuScreenArea == 1) {
j1 -= 519;
k1 -= 168;
}
if(menuScreenArea == 2) {
j1 -= 17;
k1 -= 338;
}
if(menuScreenArea == 3) {
j1 -= 519;
k1 -= 0;
}
for(int l1 = 0; l1 < menuActionRow; l1++) {
int i2 = j + 31 + (menuActionRow - 1 - l1) * 15;
int j2 = 0xffffff;
if(j1 > i && j1 < i + k && k1 > i2 - 13 && k1 < i2 + 3)
j2 = 0xffff00;
chatTextDrawingArea.method389(true, i + 3, j2, menuActionName[l1], i2);
}
}