Лучше поздно, чем никогда, бич

This commit is contained in:
Igor Timofeev 2017-10-19 02:37:09 +03:00
parent 0ca5426c20
commit faee1ea9c1
3 changed files with 5 additions and 5 deletions

View File

@ -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

Binary file not shown.

View 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