mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-14 11:06:16 +05:00
Лучше поздно, чем никогда, бич
This commit is contained in:
parent
0ca5426c20
commit
faee1ea9c1
@ -785,12 +785,12 @@
|
||||
},
|
||||
{
|
||||
path="/MineOS/Applications/Calendar",
|
||||
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Calendar/Calendar.lua",
|
||||
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Calendar/Main.lua",
|
||||
about="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Calendar/About/",
|
||||
type="Application",
|
||||
icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Calendar/Icon.pic",
|
||||
createShortcut=true,
|
||||
version=1.0,
|
||||
version=1.01,
|
||||
},
|
||||
{
|
||||
path="/MineOS/Applications/PrintImage",
|
||||
|
||||
BIN
Applications/Calendar/Icon.pic
Normal file → Executable file
BIN
Applications/Calendar/Icon.pic
Normal file → Executable file
Binary file not shown.
6
Applications/Calendar/Calendar.lua → Applications/Calendar/Main.lua
Normal file → Executable file
6
Applications/Calendar/Calendar.lua → Applications/Calendar/Main.lua
Normal file → Executable file
@ -280,7 +280,7 @@ local function drawCalendar(xPos, yPos, year)
|
||||
drawMonth(xPos, yPos, massivGoda[i].firstDayPosition, massivGoda[i].countOfDays, year, i)
|
||||
--Корректируем коорды
|
||||
xPos = xPos + constants.xSpaceBetweenMonths + 27
|
||||
if i % 4 == 0 then xPos = 2; yPos = yPos + constants.ySpaceBetweenMonths + 15 end
|
||||
if i % 4 == 0 then xPos = 3; yPos = yPos + constants.ySpaceBetweenMonths + 15 end
|
||||
end
|
||||
end
|
||||
|
||||
@ -325,7 +325,7 @@ local function drawAll()
|
||||
--Очищаем экран
|
||||
ecs.square(1, 1, xMax, yMax, constants.backgroundColor)
|
||||
--Рисуем календарик
|
||||
drawCalendar(2, 2, constants.programYear)
|
||||
drawCalendar(3, 2, constants.programYear)
|
||||
--Рисуем парашу
|
||||
drawInfo()
|
||||
end
|
||||
@ -362,7 +362,7 @@ while true do
|
||||
end
|
||||
|
||||
drawInfo()
|
||||
drawCalendar(2, 2, constants.programYear)
|
||||
drawCalendar(3, 2, constants.programYear)
|
||||
|
||||
break
|
||||
end
|
||||
Loading…
Reference in New Issue
Block a user