summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index e61c6552e2..08ce703859 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -26,6 +26,7 @@
26#include "parsetreemodel.h" 26#include "parsetreemodel.h"
27 27
28#include "rbimage.h" 28#include "rbimage.h"
29#include "rbprogressbar.h"
29 30
30#include <iostream> 31#include <iostream>
31 32
@@ -611,6 +612,18 @@ bool ParseTreeNode::execTag(const RBRenderInfo& info, RBViewport* viewport)
611 612
612 return false; 613 return false;
613 614
615 case 'p':
616 switch(element->tag->name[1])
617 {
618 case 'b':
619 /* %pb */
620 new RBProgressBar(viewport, info, element->params_count,
621 element->params);
622 return true;
623 }
624
625 return false;
626
614 case 'w': 627 case 'w':
615 switch(element->tag->name[1]) 628 switch(element->tag->name[1])
616 { 629 {