From 6d609e009f4836418bbe5b404be8ae03d29ef8cb Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Wed, 7 Jul 2010 09:33:47 +0000 Subject: Theme Editor: Implemented caching for rendered text, added profiling info to debug build, added a 500msec delay when rendering after code changes to prevent editor from hanging on large themes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27332 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/gui/skindocument.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils/themeeditor/gui/skindocument.h') diff --git a/utils/themeeditor/gui/skindocument.h b/utils/themeeditor/gui/skindocument.h index 7563b3cb53..f7ac2bbc2c 100644 --- a/utils/themeeditor/gui/skindocument.h +++ b/utils/themeeditor/gui/skindocument.h @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include "findreplacedialog.h" @@ -113,6 +115,10 @@ private: DeviceState* device; FindReplaceDialog* findReplace; + + QTime lastUpdate; + static const int updateInterval; + QTimer checkUpdate; }; #endif // SKINDOCUMENT_H -- cgit v1.2.3