Commit graph

262 commits

Author SHA1 Message Date
Dominik Riebeling
2ce1dfedaa Theme Editor: add libskin_parser files to clean rule.
Since those are created below the build folder but unknown to qmake the
generated Makefile doesn't remove those. Explicitly add appropriate wildcards.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29932 a1c6a512-1295-4272-9138-f99709370657
2011-05-29 19:33:17 +00:00
Robert Bieber
5c47872b9c Theme Editor: Made touch area position relative to enclosing viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29618 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 04:20:13 +00:00
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
Dominik Riebeling
8c6b8e6cd5 Theme Editor: make cross compiling on OS X work.
The attempt to detect if building a fat library is necessary for libskin_parser
makes cross compiling fail on OS X. Allow overriding the target platform for
libskin_parser to fix that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29515 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 12:50:46 +00:00
Robert Bieber
5729be4017 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
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29107 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 08:45:59 +00:00
Teruaki Kawashima
24b0b38315 Fix themeeditor building by correcting spelling of 'seperate'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28528 a1c6a512-1295-4272-9138-f99709370657
2010-11-07 12:29:19 +00:00
Robert Bieber
b413169b2e Theme Editor: Changed playlist rendering to match new syntax
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27819 a1c6a512-1295-4272-9138-f99709370657
2010-08-15 02:04:06 +00:00
Robert Bieber
18a6f42f26 Theme Editor: Editor font/color settings are now applied to config documents
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27818 a1c6a512-1295-4272-9138-f99709370657
2010-08-15 01:50:27 +00:00
Robert Bieber
dfc109ac65 Theme Editor: Added warning messages for missing resources
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27803 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 19:14:54 +00:00
Robert Bieber
6dd974a7a3 Theme Editor: Enabled __list_icons__ special file name for %xl tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27799 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 06:04:32 +00:00
Robert Bieber
b477463d9c Theme Editor: Altered implementation of %ax tag so that viewport now simply mirrors itself across the screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27798 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 02:05:38 +00:00
Robert Bieber
1ee2cddf1a Theme Editor: Implemented some basic viewport/text mirroring with the %ax tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27795 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 23:05:53 +00:00
Robert Bieber
f4c06f3434 Theme Editor: RTC tags will now display nothing if RTC is not available on device
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27793 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 18:47:05 +00:00
Robert Bieber
f055ceeac6 Theme Editor: Fixed a bug that prevented ID3 info tags from working correctly in conditionals
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27792 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 18:40:35 +00:00
Robert Bieber
5602342613 Theme Editor: Added a warning console to the renderer, but haven't made any rendering classes use it yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27775 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 05:30:31 +00:00
Robert Bieber
d1a392a0e9 Theme Editor: Co Used a more efficient/less error-prone system for rendering SBS documents underneath WPS documents
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27765 a1c6a512-1295-4272-9138-f99709370657
2010-08-09 19:37:23 +00:00
Dominik Riebeling
f1184f963a Add NSIS installer script. Expects to find a static build of the Theme Editor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27745 a1c6a512-1295-4272-9138-f99709370657
2010-08-07 21:21:50 +00:00
Robert Bieber
df1ff115f5 Theme Editor: Added coordinate display when moving mouse around preview window
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27738 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 20:53:50 +00:00
Robert Bieber
76d1377d04 Theme Editor: Restricted resizing/moving of graphical elements to integer coordinates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27737 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 20:06:56 +00:00
Robert Bieber
87d2590bab Theme Editor: Made default viewport non-interactive in skin preview. Selecting and resizing the default viewport was causing lockups and segfaults
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27736 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 08:01:07 +00:00
Robert Bieber
92882f2a25 Theme Editor: Made progress bar display correctly when resized, fixed some segfaults caused by editing SBS elements from a WPS document and then turning SBS rendering off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27735 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 07:53:19 +00:00
Robert Bieber
d505bc0119 Theme Editor: Made SBS elements in WPS documents non-interactive, which makes it a little more difficult to crash the editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27734 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 05:34:01 +00:00
Robert Bieber
10b9e3b024 Theme Editor: Implemented resizing in RBMovable subclasses. Implementation is still somewhat crash-prone, but mostly works at this point
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27729 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 22:31:46 +00:00
Robert Bieber
c5025c7c78 Theme Editor: Made progress bars fully movable/savable from the preview panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27726 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 19:05:36 +00:00
Robert Bieber
f657e49103 Theme Editor: Fixed bug that crashed conditionals nested in sublines, began work on making progress bars implement RBMovable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27714 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 08:49:34 +00:00
Robert Bieber
265ee156f2 Theme Editor: Implemented saveGeometry() in RBAlbumArt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27713 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 08:03:32 +00:00
Robert Bieber
2ea1a34f98 Theme Editor: Stopped bug that caused segfault if SBS element was moved from within a WPS preview
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27712 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 07:38:02 +00:00
Robert Bieber
bfc20975b0 Theme Editor: Fixed image positioning bug, implemented saveGeometry() in RBImage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27711 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 07:28:01 +00:00
Robert Bieber
0b2174098d Theme Editor: Fixed ParseTreeModel's paramChanged function to emit the correct dataChanged range
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27709 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:35:04 +00:00
Robert Bieber
5d4b8e0b3f Theme Editor: Removed empty lines after comments in generated code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27708 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:25:53 +00:00
Robert Bieber
054a85fdca Theme Editor: Added code generate/undo functionality to SkinViewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27704 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 00:43:33 +00:00
Robert Bieber
c216100f84 Theme Editor: Overhauled main window toolbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27697 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:56:00 +00:00
Robert Bieber
bcf51beee7 Theme Editor: Replaced zoom icons with modified Tango icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27696 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:37:28 +00:00
Robert Bieber
d57d702e42 Theme Editor: Switched playback icons to tango icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27695 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:28:29 +00:00
Robert Bieber
49865b23f6 Theme Editor: Began implementing code generation for movable viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 09:16:52 +00:00
Robert Bieber
83c60a1012 Theme Editor: Created the RBMovable abstract class for screen elements that can be moved around, began implementing it and making images, viewports, and album art children of it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27685 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 22:29:26 +00:00
Robert Bieber
a83adc7d6d Theme Editor: Removed markup comments from CodeEditor files (it was originally a Nokia example, so it was marked up with comments for their documentation), implemented the beginnings of drag and drop editing. Viewports are now movable, but don't invoke code generation yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27675 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 08:42:30 +00:00
Robert Bieber
dad9810fe5 Theme Editor: Implemented Sx tag in renderer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27674 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 05:47:59 +00:00
Robert Bieber
436ed78b6f Theme Editor: SkinDocument class now checks file extension when loading a document and sets the cs device setting accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27673 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:32:37 +00:00
Robert Bieber
7cd57a9671 Theme Editor: Added a default label to switch block in devicestate.cpp to be safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27672 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:26:55 +00:00
Robert Bieber
c8824640f2 Theme Editor: Fixed rendering of %ca tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27671 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:23:39 +00:00
Rafaël Carré
a19fa2dafc themeeditor: fix build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27661 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 19:00:33 +00:00
Robert Bieber
d73c81f912 Theme Editor: Modified buildtargetdb.php to read targets list from tools/builds.pm using includetargets.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27630 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 20:47:25 +00:00
Robert Bieber
66f8c73dcd Theme Editor: Filled out the tagdb file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27629 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 19:16:43 +00:00
Robert Bieber
ba41fa537a Theme Editor: Made auto-complete functional and enabled it by default. Added a small subset of the available tags to the tagdb file, filling it out is todo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27625 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 08:38:38 +00:00
Robert Bieber
f8dd370ff8 Theme Editor: Began implementing syntax highlighting. What I've accomplished so far isn't particularly useful for anything other than testing, so at the moment it will only function if activated in the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27624 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 01:26:10 +00:00
Robert Bieber
89c1a88dc8 Theme Editor: Recent documents/projects that no longer exist are now cleared from the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27611 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:38:01 +00:00
Robert Bieber
5106d938c6 Theme Editor: Project Exporter will not check for internal settings keys as files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27610 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:17:12 +00:00
Robert Bieber
b22077cd60 Theme Editor: Renderer now correctly handles special case with only one branch in a conditional
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27609 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 06:41:33 +00:00
Robert Bieber
85040111fe ThemTheme Editor: Enabled sbs rendering underneath fms documents
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27608 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 06:10:28 +00:00