mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
Ебать графонисто! И фичи пиздатые
This commit is contained in:
parent
98372ae177
commit
0aa1441ee6
@ -175,7 +175,11 @@ local function drawTopBar()
|
||||
drawCloses()
|
||||
local x, y = sizes.xFinder + 2, sizes.yFinder + 1
|
||||
obj.historyBack = GUI.button(x, y, 3, 1, 0xffffff, 0x262626, 0xAAAAAA, 0x000000, "<"); x = x + obj.historyBack.width + 1
|
||||
obj.historyBack.colors.disabled.button, obj.historyBack.colors.disabled.text = 0xFFFFFF, 0xdddddd
|
||||
if currentWorkPathHistoryElement == 1 then obj.historyBack.disabled = true; obj.historyBack:draw() end
|
||||
obj.historyForward = GUI.button(x, y, 3, 1, 0xffffff, 0x262626, 0xAAAAAA, 0x000000, ">"); x = x + obj.historyForward.width + 2
|
||||
obj.historyForward.colors.disabled.button, obj.historyForward.colors.disabled.text = 0xFFFFFF, 0xdddddd
|
||||
if currentWorkPathHistoryElement == #workPathHistory then obj.historyForward.disabled = true; obj.historyForward:draw() end
|
||||
|
||||
local cyka = {
|
||||
{objName = "sortingMethod", text = sortingMethods[config.currentSortingMethod], active = false},
|
||||
@ -397,6 +401,16 @@ while true do
|
||||
end
|
||||
end
|
||||
clickedAtEmptyArea = false
|
||||
elseif obj.historyBack:isClicked(eventData[3], eventData[4]) then
|
||||
obj.historyBack:press(0.2)
|
||||
currentWorkPathHistoryElement = currentWorkPathHistoryElement - 1
|
||||
getListAndDrawAll()
|
||||
clickedAtEmptyArea = false
|
||||
elseif obj.historyForward:isClicked(eventData[3], eventData[4]) then
|
||||
obj.historyForward:press(0.2)
|
||||
currentWorkPathHistoryElement = currentWorkPathHistoryElement + 1
|
||||
getListAndDrawAll()
|
||||
clickedAtEmptyArea = false
|
||||
elseif obj.search:isClicked(eventData[3], eventData[4]) then
|
||||
searchBarText = ""
|
||||
searchBarText = drawSearchBar(false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user