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
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
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
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
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
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
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
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
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
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
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
bae1836337
Theme Editor: Implemented some touch area click events
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27397 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 05:33:14 +00:00
Robert Bieber
f65ed0d3bc
Theme Editor: Added support for larger fonts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27379 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 05:12:11 +00:00
Robert Bieber
364af4f574
Theme Editor: Fixed rendering behavior of default viewport. Now when other viewports are present in the skin, only _text_ from the default viewport is not rendered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27378 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 04:36:05 +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
eb93e3b3d2
Theme Editor: Removed papause from line scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27345 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 05:30:00 +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
6d609e009f
Theme Editor: Implemented caching for rendered text, added profiling info to debug build, added a 500msec delay when rendering after code changes to prevent editor from hanging on large themes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27332 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 09:33:47 +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
88145656fb
Theme Editor: Delaying rendering of text lines until newline reached
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27330 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 07:49:00 +00:00
Robert Bieber
e03d373957
Theme Editor: WorkingWorking on speeding up the renderer, replaced for-loops with faster method call
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27329 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 07:38:38 +00:00
Robert Bieber
3214e3710a
Theme Editor: Made all lines of text render as a single graphic, viewport size limits now enforced on text width
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27327 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 06:50:30 +00:00
Robert Bieber
eccc2bd009
Theme Editor: Added font directory option in preferences dialog, renderer will now search that directory for fonts if they're not found in the project directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27322 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 20:23:27 +00:00
Robert Bieber
120f3e1c10
Theme Editor: Default theme font is now correctly loaded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27321 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 19:32:12 +00:00
Robert Bieber
39e252019f
Theme Editor: Rockbox FNT files now supported. Theme editor will currently load fonts from the current project directory, or use the built-in font if they're not present
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27318 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 19:19:11 +00:00
Robert Bieber
6a04479d63
Theme Editor: Began working on font loading. Font header info is now read and spewed out onto the debug console
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27301 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 22:15:17 +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
2f68e5be59
Theme Editor: SBS will now render underneath WPS, if both are present in project
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27265 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 22:57:42 +00:00
Robert Bieber
8219cfe988
Theme Editor: Status bar no longer drawn by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27263 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 21:56:29 +00:00
Robert Bieber
9d6851688e
Theme Editor: Fixed random outlining in default viewport, working on getting the viewer to refresh on re-render
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27235 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 05:58:06 +00:00
Robert Bieber
14caf67642
Theme Editor: Switched the last two parameters of the Vp tag back to their original orientation, made the playlist display the first half with ID3 info, the second half without, as if the list were mid-way through loading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27234 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 05:17:57 +00:00
Robert Bieber
f58174f7cc
Theme Editor: Renderer will not insert a newline at the end of a line if it's the same line in the wps file as the viewport declaration, to avoid forcing the first line of text down past where it belongs if Vf and Vb are used. The parser should be modified to make this unnecessary, when a consensus can be reached on how to do it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27230 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 00:27:47 +00:00
Robert Bieber
9742704070
Theme Editor: Altered tag table entry for %pb to make image optional, implemented progress bar rendering in theme editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27229 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 00:20:36 +00:00
Robert Bieber
26a2f810f1
Theme Editor: Fixed line numbering bug in parser. Implemented playlist display in renderer: playlist will use info for next track for all tracks other than the current track
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27227 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 21:49:55 +00:00
Robert Bieber
a54bfaa69e
Theme Editor: Renderer now adds a newline after EVERY logical line in the parse tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27222 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 20:30:19 +00:00
Robert Bieber
f09370058f
Theme Editor: Fixed album art positioning bug, removed unneeded debug code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27207 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:49:44 +00:00