forked from len0rd/rockbox
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
This commit is contained in:
parent
6f06793f58
commit
6d609e009f
11 changed files with 158 additions and 18 deletions
|
|
@ -22,6 +22,8 @@
|
|||
#include "editorwindow.h"
|
||||
#include "projectmodel.h"
|
||||
#include "ui_editorwindow.h"
|
||||
#include "rbfontcache.h"
|
||||
#include "rbtextcache.h"
|
||||
|
||||
#include <QDesktopWidget>
|
||||
#include <QFileSystemModel>
|
||||
|
|
@ -49,6 +51,9 @@ EditorWindow::~EditorWindow()
|
|||
delete project;
|
||||
delete deviceConfig;
|
||||
delete deviceDock;
|
||||
|
||||
RBFontCache::clearCache();
|
||||
RBTextCache::clearCache();
|
||||
}
|
||||
|
||||
void EditorWindow::loadTabFromSkinFile(QString fileName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue