From 03fd6c56fe57dcd7cc4a7f7166a00ece42491558 Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Thu, 13 Mar 2014 18:46:34 +0100 Subject: Implement "take a screenshot" feature * Like in android - press power+volume down, screenshots are saved in /sdcard/Pictures/Screenshots (if /sdcard is mounted) or /tmp Change-Id: Iaefa15b11a1d5fdfac57d77388db1621f378a8d4 Signed-off-by: Vojtech Bocek --- minuitwrp/minui.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'minuitwrp/minui.h') diff --git a/minuitwrp/minui.h b/minuitwrp/minui.h index cf905322a..f04f518b5 100644 --- a/minuitwrp/minui.h +++ b/minuitwrp/minui.h @@ -52,6 +52,8 @@ unsigned int gr_get_height(gr_surface surface); int gr_get_surface(gr_surface* surface); int gr_free_surface(gr_surface surface); +int gr_save_screenshot(const char *dest); + // input event structure, include for the definition. // see http://www.mjmwired.net/kernel/Documentation/input/ for info. struct input_event; -- cgit v1.2.3