rockbox/utils/themeeditor
Dominik Riebeling cc6cc53737 Fix wrong theme base path when loading a wps.
When loading a wps in the Theme Editor without having a theme cfg loaded
the base path derived from it would be wrong. Make sure to start from
the wps files folder when deriving it. Still assumes the wps file to be
in the standard layout, i.e. in a folder called wps/.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29545 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 21:05:57 +00:00
..
graphics Theme Editor: Updated rendering code to accomodate new format for %xd tags, including long names, numerical tile specification, tag-evaluating tile specification, and tile offset 2011-01-22 08:45:59 +00:00
gui Fix themeeditor building by correcting spelling of 'seperate'. 2010-11-07 12:29:19 +00:00
models Fix wrong theme base path when loading a wps. 2011-03-08 21:05:57 +00:00
qtfindreplacedialog Theme Editor: fix building on Windows. 2010-07-25 18:06:41 +00:00
quazip Theme Editor: Implemented download and decompression of font pack in the preferences dialog. Dialog will also allow the user to set a directory for a custom target database, but the update button doesn't work yet. Also fixed the file filters for open file/open project actions and resized the preferences dialog 2010-07-21 07:45:29 +00:00
resources Theme Editor: Added code generate/undo functionality to SkinViewer 2010-08-05 00:43:33 +00:00
zlib Theme Editor: Implemented download and decompression of font pack in the preferences dialog. Dialog will also allow the user to set a directory for a custom target database, but the update button doesn't work yet. Also fixed the file filters for open file/open project actions and resized the preferences dialog 2010-07-21 07:45:29 +00:00
addresourcedir.php
buildtargetdb.php Theme Editor: Modified buildtargetdb.php to read targets list from tools/builds.pm using includetargets.pl 2010-07-30 20:47:25 +00:00
includetargets.pl Theme Editor: Modified buildtargetdb.php to read targets list from tools/builds.pm using includetargets.pl 2010-07-30 20:47:25 +00:00
Info.plist Update theme editor app name for OS X bundle. 2010-07-28 20:56:20 +00:00
main.cpp
README
resources.qrc Theme Editor: Added code generate/undo functionality to SkinViewer 2010-08-05 00:43:33 +00:00
themeeditor-setup.bmp Add NSIS installer script. Expects to find a static build of the Theme Editor. 2010-08-07 21:21:50 +00:00
themeeditor.nsi Add NSIS installer script. Expects to find a static build of the Theme Editor. 2010-08-07 21:21:50 +00:00
themeeditor.pro Theme Editor: make cross compiling on OS X work. 2011-03-05 12:50:46 +00:00
themeeditor.rc

/***************************************************************************
 *             __________               __   ___.
 *   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.