Commit graph

56 commits

Author SHA1 Message Date
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
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
4429fb02b7 Theme Editor: Removed some old hash code that caused viewer not to update due to hash collisions. Made Vf and Vb tags attached to viewport definition eat newline at end of line'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27238 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 08:05:03 +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
e763eb73b8 Theme Editor: Switched the order of the last two arguments to %Vp in rendering
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27233 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 04:47:32 +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
Robert Bieber
c215d97b4d Theme Editor: Made blank lines render newlines in the output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27206 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:29:58 +00:00
Robert Bieber
82618e82e6 Theme Editor: Fixed segfaulting conditional bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27204 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 01:45:24 +00:00
Robert Bieber
35150b6dcb Theme Editor: Implemented status bar enable/disable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27200 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 21:28:11 +00:00
Robert Bieber
8114979e8e Theme Editor: Added album art display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27199 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 19:35:00 +00:00
Robert Bieber
d2ed594246 Theme Editor: Implemented text alignment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27191 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 07:00:05 +00:00
Robert Bieber
9d6b5d6317 Theme Editor: Stopped conditionals and sublines from triggering newlines and made combo boxes in config panel return text if not used in a conditional
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27184 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:39:45 +00:00
Robert Bieber
3ecef7d801 Theme Editor: Implemented subline rendering, including conditional subline times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27182 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 19:59:33 +00:00
Robert Bieber
3313ab8bb1 Theme Editor: Implemented conditional rendering, most conditionals should work correctly now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27169 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 07:15:41 +00:00
Robert Bieber
449a895372 Theme Editor: Beginning to work on conditional rendering, just made fix to line following code to speed up horizontal scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27168 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 06:14:36 +00:00
Robert Bieber
aa13a5377c Theme Editor: Rearranged and separated tag execution and rendering code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27167 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 05:23:22 +00:00
Robert Bieber
5300c7014d Theme Editor: Added Show Viewports option to device configuration panel, implemented simple rendering of info tags from device configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27136 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:51:07 +00:00
Robert Bieber
c32728c91c Theme Editor: Began integrating device configuration panel with renderer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27135 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:18:21 +00:00
Robert Bieber
273b9d6050 Theme Editor: Fixed some compiler warnings and a segfault. Got some basic text rendering working (only with plaintext elements, no font support yet) as well as Viewport background color support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27126 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 05:14:13 +00:00
Robert Bieber
6d6156603c Theme Editor: Added dummy font class and implemented font load tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27096 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 20:18:31 +00:00
Robert Bieber
deab1bb2f5 Theme Editor: Added rendering support for some more tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27094 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 19:41:30 +00:00
Robert Bieber
7edf65d2d2 Theme Editor: Removed some lingering debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27086 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:52:00 +00:00
Robert Bieber
66a13be787 Theme Editor: Implemented %xd tag with subimages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27085 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:37:48 +00:00
Robert Bieber
d3027053f9 Theme Editor: Working on image rendering
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27083 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:18:22 +00:00