Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drawMenuone1()
- if n == 0 then
- n=1
- end
- term.clear()
- drawBox(1,1,maxW,maxH,colors.general)
- drawBox(27,24,15,3,colors.general,'Закрить',3)
- drawBox(47,24,15,3,colors.general,'Удалить все',1)
- drawBox(35,17,15,3,colors.red,'Удалить',4)
- drawBox(51,17,10,3,colors.white,'----->',1)
- drawBox(24,17,10,3,colors.white,'<-----',1)
- commen={}
- drawBox(2,13,maxW-3,3,colors.gray)
- conf_R()
- local i = 0
- for key, val in pairs(positions) do
- i=i+1
- commen[i]=key
- end
- if i > 0 then
- setText(33,21,"Всего отзывов:"..i,colors.text)
- else
- setText(33,21,"Отзывов нету!",colors.text)
- end
- if #commen>0 then
- drawBox((90-u.len(commen[n]))/2-3,10,u.len(commen[n])+2,3,colors.text,commen[n],1)
- printFormatText(3,14,84,positions[commen[n]],colors.white)
- end
- if i > 0 then
- setText(33,20,"Отзыв N:"..n,colors.text)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement