Added: command 'make screenshot'

Now one may gradually remove 'make screenshot'-duplicates from other Lua-modules.
TODO: Since Shift+P is in use in inputbox to enter char 'P', one should discuss replacing Shift+P by something else, that is still free. Just an info: inputbox uses all buttons without modifiers => small characters; all buttons with Shift => CAPITALS; Alt+Q..P = digits (0..9) and etc.
NuPogodi 12 years ago
parent 093f99aaa7
commit fe5d39821f

@ -222,5 +222,12 @@ function Commands:new(obj)
G_charging_mode = false
end
)
-- Shift+P would be overwritten in inputbox by entering char 'P'
-- I suggest one should probably change the hotkey to, say, Alt+Space
obj:add(KEY_P, MOD_SHIFT, "P", "make screenshot",
function()
Screen:screenshot()
end
)
return obj
end

Loading…
Cancel
Save