mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Theme Editor: Began implementing code generation for movable viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2db08d4153
commit
49865b23f6
12 changed files with 104 additions and 23 deletions
|
|
@ -301,7 +301,7 @@ void SkinDocument::codeChanged()
|
|||
|
||||
if(lastUpdate.msecsTo(QTime::currentTime()) >= updateInterval)
|
||||
{
|
||||
model->render(project, device, &fileName);
|
||||
model->render(project, device, this, &fileName);
|
||||
checkUpdate.stop();
|
||||
lastUpdate = QTime::currentTime();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,10 @@ public:
|
|||
|
||||
TabType type() const{ return Skin; }
|
||||
|
||||
QGraphicsScene* scene(){ return model->render(project, device, &fileName); }
|
||||
QGraphicsScene* scene()
|
||||
{
|
||||
return model->render(project, device, this, &fileName);
|
||||
}
|
||||
|
||||
void showFind(){ findReplace->show(); }
|
||||
void hideFind(){ findReplace->hide(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue