Commit graph

48 commits

Author SHA1 Message Date
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
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
8cd51a70c5 Theme Editor: Implemented negative x/y/w/h values in viewport declarations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27205 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:07:41 +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
1fbea62797 Theme Editor: Fixed conditional viewport display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27185 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 21:09:29 +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
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
481bcf2632 Theme Editor: Renderer now allows multiple viewports to share an identifier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27112 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 18:55:04 +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
f4fd16cd64 Theme Editor: Fixed image display relative to viewport
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27084 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 07:23:47 +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
Robert Bieber
ac9287bdb5 Theme Editor: Began in implementing tag rendering, %X tag now recognized
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27043 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 07:55:50 +00:00
Robert Bieber
e1d8a3dc63 Theme Editor: Reworked information passing among render functions, now loads all viewports and shows Custom UI viewport in blue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27026 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 20:11:58 +00:00
Robert Bieber
d18aa51ded Theme Editor: Fixed some compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27023 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 18:24:30 +00:00
Robert Bieber
d8827b5ff1 Theme Editor: Working on rendering viewports, display will now show %V(...) viewports as red rectangles over backdrop or background color
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26940 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 21:10:01 +00:00
Robert Bieber
02c377469a Theme Editor: Continuing work on rendering, skin preview will now show backdrop or background color depending on config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26900 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 20:44:11 +00:00