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
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
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
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
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
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
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
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
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
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
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
Robert Bieber
6e238f731f
Theme Editor: Added support for upper-case wps file extensions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27513 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 19:36:30 +00:00
Robert Bieber
7c52284b29
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
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27509 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 07:45:29 +00:00
Robert Bieber
3c4fb8abe4
Theme Editor: Added column number to parser error messages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27477 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 00:59:02 +00:00
Robert Bieber
eb52a45a0c
Theme Editor: If a pr project specifies a valid #target value, its settings are now loaded into the device configuration panel when the theme is loaded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27476 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 00:39:40 +00:00
Robert Bieber
4a46996922
Theme Editor: Integrated target db with project creation code. Now changing the target option in the New Project dialog will change the available options for wps documents, and the target id is stored in the new config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27451 a1c6a512-1295-4272-9138-f99709370657
2010-07-17 00:35:54 +00:00
Robert Bieber
025147effb
Theme Editor: Added target database, now populates combo box in new project dialog but otherwise not used yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27450 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 20:47:23 +00:00
Robert Bieber
3a354dd64f
Theme Editor: Corrected last commit. Touch areas should have been made relative, not absolute
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27436 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 19:04:01 +00:00
Robert Bieber
209e30854e
Theme Editor: Made toutouch area coordinates absolute rather than relative
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27435 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 18:58:58 +00:00
Robert Bieber
15488a00ea
Theme Editor: Committed FS#11477 to add a DECIMAL parameter type in the parser and adapt the Theme Editor to accomodate the change by Johnathan Gordon. Fixed bug in the parser caused by the patch (error was thrown on zero value) and adapted tag rendering for new format
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27426 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 06:24:11 +00:00
Robert Bieber
4b457d688b
Theme Editor: Added optional plaintext editing for config files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27415 a1c6a512-1295-4272-9138-f99709370657
2010-07-14 07:38:09 +00:00
Robert Bieber
64af2b3a16
Theme Editor: Made %pv tag display bar and select from conditional branches correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27398 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 06:07:50 +00:00
Robert Bieber
1423874007
Theme Editor: Added RBTouchArea class. Touch areas on a theme can now be displayed, but they're not clickable yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27369 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 06:43:50 +00:00
Robert Bieber
6358d41f31
Theme Editor: Began working on special cases for device option panel. Implemented path info for current and next file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27346 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 06:54:08 +00:00
Robert Bieber
13e97cd5f5
Theme Editor: Implemented line scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27344 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 22:25:42 +00:00
Robert Bieber
de9ba10aab
Theme Editor: Made auto-expand/highlight of parse tree optional (through preferences dialog), added Simulation Time variable to device config panel, subline alternation is now dependent on that rather than time in song
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27342 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 20:56:16 +00:00
Robert Bieber
6f06793f58
Theme Editor: Fixed rendering bug that caused text in sublines not to appear, implemented a global font cache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27331 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 08:41:36 +00:00
Robert Bieber
68756cca43
Theme Editor: Enabled conditional display of ID3/file info with checkbox on the device panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27296 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:12:52 +00:00
Robert Bieber
71b561e3df
Theme Editor: Fixed bug that caused WPS skins without SBS parents not to render their backdrops correctly. Added support for RTL-dependant text alignment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27295 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:02:40 +00:00
Jonathan Gordon
dc34785b18
s/SUBLINES/LINE_ALTERNATOR/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27271 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 02:04:14 +00:00
Robert Bieber
2a7fc15448
Theme Editor: WPS documents rendered within SBS documents can now set backdrops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27269 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 01:47:04 +00:00
Robert Bieber
32ff4e93bd
Theme Editor: Implemented a flags column in the tag table, removed the \n flag at the end of the param list and replaced it with a NOBREAK flag to prevent the renderer from inserting a line break at the end of the line. Modified the theme editor's renderer to accomodate this flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27268 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 01:39:57 +00:00
Robert Bieber
e472c3975e
Theme Editor: Fixed cd code generation bug: Tags whose paramlists end in \n will now have a newline inserted after them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27266 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:31:08 +00:00