-----------------------------------
-----Capture Screen----------------
-----------------------------------
-- wShowCaptureMessageTimer = -1
-- sc_wOverCapture = function()
-- if type(sc_wCaptureScreen) == "function" then
-- sc_wCaptureScreen()
-- else
-- if wShowCaptureMessageTimer ~= -1 then
-- killDelayed(wShowCaptureMessageTimer)
-- wShowCaptureMessageTimer = -1
-- ui_wOverCaptureMessage:HIDE()
-- end
-- MODEL.ui.__screenshot()
-- doDelayed(15, function()
-- txt_wOverCaptureMessage.TEXT = m_i18n("DEBUG~Screen Captured")
-- ui_wOverCaptureMessage:SHOW()
-- wShowCaptureMessageTimer = doDelayed(100, function() ui_wOverCaptureMessage:HIDE() end)
-- end)
-- end
-- end
-- obs_wovercapture = var.observer({ONCHANGE = function() doDelayed(1, function() ui_wOverCapture:SHOW() ui_wOverCaptureMessage:HIDE() end) end, MODEL = MODEL.ui.vActiveState, TRIGGER_ON_START = false})
-- obs_wovercapture:START()
Bookmarks