aboutsummaryrefslogtreecommitdiff
path: root/startmenu.lua
blob: c253113342d2945fc58d2838a801c67ceefcc57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
function drawMenu()
  love.graphics.setCanvas(start.cvs)
  love.graphics.setColor(192, 192, 192)
  love.graphics.rectangle("fill", 0, 0, 250, 350)
  love.graphics.setColor(220, 220, 220)
  love.graphics.setLineWidth(4)
  love.graphics.line(0, 0+350, 0, 0, 0+250, 0) --BoxLight
  love.graphics.setColor(150,150,150)
  love.graphics.line(0+250, 0+350, 0+250, 0) --BoxShadow
  love.graphics.setColor(0,0,120)
  love.graphics.rectangle("fill", 0, 0, 30, 350)
  love.graphics.setColor(192, 192, 192)
  love.graphics.print("WINBLOWS 98 OR SOME SHIT", 11, 340, -1.5708)
  if(sys.mouse.x >= 35 and sys.mouse.x <= 242
  and sys.mouse.y >= 600-30-350+2+5 and sys.mouse.y <= 600-30-350+2+5+50) then
    love.graphics.setColor(0,0,120)
    love.graphics.rectangle("fill", 35, 5, 208, 50)
    love.graphics.setColor(220,220,220)
    love.graphics.print("INTERNET", 85, 5+22)
    if sys.mouse.p.p == true and win[2].ex == true then
      win[2].ex = false
      win[2].s = 0.2
      win[2].layer = 1
    end
  else
    love.graphics.rectangle("fill", 35, 5, 208, 50)
    love.graphics.setColor(70,70,70)
    love.graphics.print("INTERNET", 85, 5+22)
  end
  love.graphics.setColor(255,255,255)
  love.graphics.draw(icons[32].internet, 44, 13)
  love.graphics.setColor(192, 192, 192)
  if(sys.mouse.x >= 35 and sys.mouse.x <= 242
  and sys.mouse.y >= 600-30-350+2+5+55 and sys.mouse.y <= 600-30-350+2+5+50+55) then
    love.graphics.setColor(0,0,120)
    love.graphics.rectangle("fill", 35, 5+55, 208, 50)
    love.graphics.setColor(220,220,220)
    love.graphics.print("CHAT", 85, 5+55+22)
    if sys.mouse.p.p == true and win[1].ex == true then
      win[1].ex = false
      win[1].s = 0.2
      win[1].layer = 1
    end
  else
    love.graphics.rectangle("fill", 35, 5+55, 208, 50)
    love.graphics.setColor(70,70,70)
    love.graphics.print("CHAT", 85, 5+55+22)
  end
  love.graphics.setColor(255,255,255)
  love.graphics.draw(icons[32].chat, 44, 60+10)
  love.graphics.setColor(192, 192, 192)
  if(sys.mouse.x >= 35 and sys.mouse.x <= 242
  and sys.mouse.y >= 600-30-350+2+5+55+55 and sys.mouse.y <= 600-30-350+2+5+50+55+55) then
    love.graphics.setColor(0,0,120)
    love.graphics.rectangle("fill", 35, 5+55+55, 208, 50)
    love.graphics.setColor(220,220,220)
    love.graphics.print("FILES", 85, 5+55+55+22)
  else
    love.graphics.rectangle("fill", 35, 5+55+55, 208, 50)
    love.graphics.setColor(70,70,70)
    love.graphics.print("FILES", 85, 5+55+55+22)
  end
  love.graphics.setColor(255,255,255)
  love.graphics.draw(icons[32].files, 44, 60+10+54)
  love.graphics.setColor(192, 192, 192)
  if(sys.mouse.x >= 35 and sys.mouse.x <= 242
  and sys.mouse.y >= 600-30-350+2+5+55+55+55 and sys.mouse.y <= 600-30-350+2+5+50+55+55+55) then
    love.graphics.setColor(0,0,120)
    love.graphics.rectangle("fill", 35, 5+55+55+55, 208, 50)
    love.graphics.setColor(220,220,220)
    love.graphics.print("TORRENTS", 85, 5+55+55+55+22)
  else
    love.graphics.rectangle("fill", 35, 5+55+55+55, 208, 50)
    love.graphics.setColor(70,70,70)
    love.graphics.print("TORRENTS", 85, 5+55+55+55+22)
  end
  love.graphics.setColor(255,255,255)
  love.graphics.draw(icons[32].torrentr, 44, 60+10+54+55)
  love.graphics.setColor(192, 192, 192)
  if(sys.mouse.x >= 35 and sys.mouse.x <= 242
  and sys.mouse.y >= 600-30-350+2+5+55+55+55+55 and sys.mouse.y <= 600-30-350+2+5+50+55+55+55+55) then
    love.graphics.setColor(0,0,120)
    love.graphics.rectangle("fill", 35, 5+55+55+55+55, 208, 50)
    love.graphics.setColor(220,220,220)
    love.graphics.print("HELP", 85, 5+55+55+55+55+22)
  else
    love.graphics.rectangle("fill", 35, 5+55+55+55+55, 208, 50)
    love.graphics.setColor(70,70,70)
    love.graphics.print("HELP", 85, 5+55+55+55+55+22)
  end
  love.graphics.setColor(255,255,255)
  love.graphics.draw(icons[32].help, 44, 60+10+54+55+55)
  love.graphics.setCanvas()
  love.graphics.setColor(255,255,255)
  love.graphics.draw(start.cvs, 0, 600-30-350+2)
end