summaryrefslogtreecommitdiff
path: root/utils/themeeditor/codeeditor.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-11 19:51:34 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-11 19:51:34 +0000
commit3c95dbb20859debe99edc874c57ddaa6f3acf3d2 (patch)
tree5198c578f6f4d769578676b94035824731b15771 /utils/themeeditor/codeeditor.h
parent0cca15c6d03991b9c169fdf4e0760f90928712a0 (diff)
downloadrockbox-3c95dbb20859debe99edc874c57ddaa6f3acf3d2.zip
rockbox-3c95dbb20859debe99edc874c57ddaa6f3acf3d2.tar.gz
rockbox-3c95dbb20859debe99edc874c57ddaa6f3acf3d2.tar.bz2
rockbox-3c95dbb20859debe99edc874c57ddaa6f3acf3d2.tar.xz
Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to '')
-rw-r--r--utils/themeeditor/codeeditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/codeeditor.h b/utils/themeeditor/codeeditor.h
index ec36d50..5df5b42 100644
--- a/utils/themeeditor/codeeditor.h
+++ b/utils/themeeditor/codeeditor.h
@@ -61,6 +61,7 @@ public:
int lineNumberAreaWidth();
void addError(int line){ errors.append(line); }
void clearErrors(){ errors.clear(); }
+ void setErrorColor(QColor color){ errorColor = color; }
protected:
void resizeEvent(QResizeEvent *event);
@@ -72,6 +73,7 @@ private slots:
private:
QWidget *lineNumberArea;
QList<int> errors;
+ QColor errorColor;
};
//![codeeditordefinition]