Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 24

Threaded View

  1. #23
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    123
    Rep Power
    245

    thumbup

    the problem is well contained in the data.zip which was modified by additions in 2014 (i.e. 1 year after the distribution of the archive), we find modifications in layers.ui and functions.lua which stage this capture unusual screen, I put the elements in comments to keep track of the elements and incorporated the two files in the data.zip
    Gjon will therefore be able to keep his new [Only registered and activated users can see links. ] as is


    Spoiler: UI

    ;********************************************
    ;----Capture Screen---------------
    ;********************************************

    ;<layer ui_wOverCaptureMessage z=100006>
    ; <DIV class=full>
    ; <BUTTON resize_bmp=1 left=25% right=25% top=40% bottom=40% bmp="msgbox_bg.bmp" onrelease='ui_wOverCaptureMessage:HIDE()'>
    ; <TEXT txt_wOverCaptureMessage class="font_main bd inv" padding=0 left=10% top=5% right=10% bottom=5% align="center" valign="center" leading=_0.80 wordwrap=2>
    ; </BUTTON>
    ; </DIV>
    ;</layer>
    ;<layer ui_wOverCapture z=(vActiveState == "st_easynav" && !%navigation.is_in_simulation && %lua.dragMode ? 34 : 100005)>
    ; <DIV class=header>
    ; <BUTTON left=0 top=0 w=66% h=100% onrelease=sc_wOverCapture visible=(!(st_EasyNav.isActive && !%navigation.is_in_simulation && !%lua.dragMode))>
    ; </DIV>
    ;</layer>

    Spoiler: LUA

    -----------------------------------
    -----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()
    Last edited by lunapark; 26th October 2023 at 02:27 PM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •