1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils/themeeditor
Maurus Cuelenaere 98a5780d6d Theme editor: only accept valid colors in the preference dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26857 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 11:06:40 +00:00
..
resources
codeeditor.cpp Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly 2010-06-11 19:51:34 +00:00
codeeditor.h Theme Editor: Made errors display in status bar when cursor is on error'd line 2010-06-11 21:24:38 +00:00
configdocument.cpp Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
configdocument.h Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
configdocument.ui Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
editorwindow.cpp Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
editorwindow.h Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
editorwindow.ui Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
main.cpp
parsetreemodel.cpp Theme Editor: Applied FS#11389, switched conditional elements to use tag fields along with children, instead of holding the tag as the first child 2010-06-10 21:02:44 +00:00
parsetreemodel.h
parsetreenode.cpp initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time 2010-06-13 03:13:01 +00:00
parsetreenode.h
preferencesdialog.cpp Theme editor: only accept valid colors in the preference dialog 2010-06-15 11:06:40 +00:00
preferencesdialog.h
preferencesdialog.ui Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
projectmodel.cpp Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
projectmodel.h Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
README
resources.qrc
skin_debug.c initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time 2010-06-13 03:13:01 +00:00
skin_debug.h
skin_parser.c initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time 2010-06-13 03:13:01 +00:00
skin_parser.h initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time 2010-06-13 03:13:01 +00:00
skin_scan.c
skin_scan.h
skindocument.cpp Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
skindocument.h Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
skinhighlighter.cpp
skinhighlighter.h
symbols.h
tabcontent.h Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00
tag_table.c
tag_table.h
themeeditor.pro Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files. 2010-06-15 06:54:58 +00:00

/***************************************************************************
 *             __________               __   ___.
 *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
 *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
 *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
 *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
 *                     \/            \/     \/    \/            \/
 * $Id$
 *
 * Copyright (C) 2010 Robert Bieber
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 * KIND, either express or implied.
 *
 ****************************************************************************/

To build the theme editor, you will need a Qt development environment with the
Qt core and GUI libraries and qmake, along with standard C and C++ compilers
and libraries.  To compile, cd to the source directory and run the "qmake"
command followed by "make".  This will produce the binary "themeeditor".

The binary will launch a GUI application that will allow you to create, open,
edit and save WPS files.  Editing takes place in the central tabbed text editor.
Docks on the edges of the main window will show you a file tree, an empty
"Skin Preview," and a parse tree of the current document.  At present, only the
parse tree and the editor work correctly.  You can close all the other panels
by clicking the 'x' buttons at their corners, if you desire.  You can also
rearrange and resize panels any way you please, including tearing them off into
separate windows.

From the preferences dialog (found in the File menu, or by pressing Ctrl+P), you
can change the font and color scheme of the editor and syntax highlighter.

If you catch a bug (other than unimplemented features, which abound at this
stage) or think of a feature you'd like to see implemented, you can send me an
email at robby(at)bieberphoto(dot)com, or catch me on the #rockbox IRC channel
on Freenode.