diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 03:25:40 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 03:25:40 +0000 |
| commit | 53b619c6e80c9efc6993c23ff7b1035e8e101834 (patch) | |
| tree | 7bca9e3845748332c0e6288b5704e9b004f41a22 /utils/themeeditor/skindocument.h | |
| parent | fbfdaf5c79c664a6ec47b1c3a131577e77efbbd0 (diff) | |
| download | rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.zip rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.gz rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.bz2 rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.xz | |
Theme Editor: Added a preferences dialog and allowed modification of the syntax highlighting and editor colors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skindocument.h')
| -rw-r--r-- | utils/themeeditor/skindocument.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h index 84d12df..14a71e0 100644 --- a/utils/themeeditor/skindocument.h +++ b/utils/themeeditor/skindocument.h @@ -28,6 +28,7 @@ #include "skinhighlighter.h" #include "parsetreemodel.h" +#include "preferencesdialog.h" class SkinDocument : public QWidget { @@ -47,6 +48,8 @@ public: SkinDocument(QString file, QWidget* parent = 0); virtual ~SkinDocument(); + void connectPrefs(PreferencesDialog* prefs); + ParseTreeModel* getModel(){ return model; } QString getTitle(){ return title; } void genCode(){ editor->document()->setPlainText(model->genCode()); } @@ -59,6 +62,9 @@ public: signals: void titleChanged(QString); +public slots: + void colorsChanged(); + private slots: void codeChanged(); |