new Screen.save_frame() method for screenshots

using libGD (when detected at configure) enables each screen to
take a screenshot at any moment and save it into a file

this is useful for thumbnailing and demos of plugin effects
This commit is contained in:
Jaromil
2010-02-12 21:09:46 +01:00
parent ae7b1ad056
commit aceaf1d7f1
6 changed files with 69 additions and 1 deletions
@@ -0,0 +1,6 @@
include("test_rand.js");
rand_kbd.released_s = function() { scr.save_frame("rand_shot.png"); }