From 8a68c31ffc98bda5abd3bd03f49727c7400bbba8 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Sun, 10 Feb 2013 14:28:30 -0500 Subject: This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future. Will also set overlay to lockscreen so we don't have inadvetent screen selections. Touching the screen will bring the display back up. add back check script for poweroff move diff time function to twrp-functions.cpp make sure we chmod after copy_file add read_file and write_file functions to twrp-functions.cpp make single thread try to force update screen add forceRender drop caches after tar processing Change-Id: I3c5c509dd39dbb05451bbfe5d8b56d53c90d8d1b --- gui/gui.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'gui/gui.h') diff --git a/gui/gui.h b/gui/gui.h index ee3cc272a..c6af2e4d1 100644 --- a/gui/gui.h +++ b/gui/gui.h @@ -1,13 +1,13 @@ -#ifndef _GUI_HEADER -#define _GUI_HEADER - -int gui_console_only(); -int gui_init(); -int gui_loadResources(); -int gui_start(); -int gui_startPage(const char* page_name); -void gui_print(const char *fmt, ...); -void gui_print_overwrite(const char *fmt, ...); - -#endif // _GUI_HEADER - +#ifndef _GUI_HEADER +#define _GUI_HEADER + +int gui_console_only(); +int gui_init(); +int gui_loadResources(); +int gui_start(); +int gui_startPage(const char* page_name); +void gui_print(const char *fmt, ...); +void gui_print_overwrite(const char *fmt, ...); + +#endif // _GUI_HEADER + -- cgit v1.2.3