Commit graph

270 commits

Author SHA1 Message Date
Dominik Riebeling
db350ac3e2 themeeditor: Get revision info from git.
We're not using svn anymore. This isn't used, but at least try to get
the right value.

Change-Id: I66e726d28b504a0f15d5b6497a02963243ba466a
2020-09-04 19:08:54 +02:00
Dominik Riebeling
6810d83686 themeeditor: Update targetdb.
Change-Id: Iec78635b46e08a508a20048a14687f3be830ad63
2020-09-03 19:14:11 +02:00
Dominik Riebeling
93bb14c877 themeeditor: Make NSIS script work with mxe.
Change-Id: I592a28f64f88c4ec0d1c4f45aeb8148ac2bc7d9b
2020-09-03 19:09:43 +02:00
Dominik Riebeling
fa330c109d themeeditor: Make it compile with current Qt5.
- Replace use of obsolete members with their replacements.
- Fix type issue that requires explicitly creating the right object now.
- Update project file to work with Qt5.

Change-Id: I3af2b1520796e977e58c0a01e165c77c469a23b9
2020-09-03 18:45:48 +02:00
Dominik Riebeling
ff38666a19 themeeditor: Fix download URL for targetdb.
We're not using svn anymore since long.

Change-Id: I408b1c59dfaafe1e403b0fa49b912862b68c72f8
2020-09-03 18:45:48 +02:00
Dominik Riebeling
3ff7dc75a1 themeeditor: Fix menu Quit entry not working.
Change-Id: Ib527b4b4a7b450dee713dea93eaf93d85c0d4bfd
2020-09-03 18:45:48 +02:00
Torne Wuff
b9592e8be3 Convert one more file from DOS to UNIX.
Missed one, oops.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30925 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:52:21 +00:00
Torne Wuff
569285794b Bulk convert all DOS line endings to UNIX.
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.

Sorry everybody. I know this messes up blame.

Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
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