Commit graph

384 commits

Author SHA1 Message Date
Robert Bieber
c272144867 Theme Editor: Added New Project feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27439 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 21:39:09 +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
b76b6448a2 Theme Editor: Added Close Project feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27412 a1c6a512-1295-4272-9138-f99709370657
2010-07-14 05:06:42 +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
b99066440f Theme Editor: Implemented timer panel functionality, added missing seconds field to device control panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27354 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 02:11:34 +00:00
Robert Bieber
73a3747bc1 Theme Editor: Built a ui for the timer panel, not functional yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27353 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 21:53:27 +00:00
Robert Bieber
91a0e8a4c2 Theme Editor: Simplified clock tab in device control panel, now one set of values controls all the cX tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27351 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 19:44:30 +00:00
Robert Bieber
cd98d01926 Theme Editor: Implemented the song time (pS, pE, px, pc, etc.) in the device configuration panel, all depending on one value for current time in song and one value for length of song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27347 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 08:14:04 +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
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
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
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
ce5ee193d4 Theme Editor: Moved volume options in device configuration panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27326 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 06:17:02 +00:00
Dominik Riebeling
86d8a53a2b Add Theme Editor application icon for Windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27325 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 22:05:03 +00:00
Dominik Riebeling
b4443ef167 Add Info.plist and application icon to Theme Editor on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27324 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 21:46:53 +00:00
Dominik Riebeling
e464128c54 Rework libskin_parser Makefile for OS X support.
- add similar trickery that is used for the libraries used by Rockbox Utility
  to allow building as universal binary.
- don't overwrite CC, we need to set this from outside for building OS X 10.4
  compatible binaries.
- extend Theme Editor project file to build 10.4 compatible binaries on OS X.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27323 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 21:08:16 +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
8a23b8eb1e Theme Editor: Added the built-in font to the project resources
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27300 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:58:06 +00:00
Robert Bieber
27debea5a0 Theme Editor: Fixed redundant directory separator bug in addresourcedir script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27299 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:42:08 +00:00
Robert Bieber
ac58d02cee Theme Editor: Added a small PHP script to auto-generate a qrc entry for a directory with aliases for each file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27298 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:38:04 +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
d4e7ab7a93 Theme Editor: Switched device configuration panel to a QFormLayout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27267 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:48:10 +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
5aa684f058 Theme Editor: Implemented replace and replace all in find/replace dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27254 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 08:23:20 +00:00
Robert Bieber
a8bb62e6e2 Theme Editor: Made irrelevant menu items disabled at startup, made wrap-around search work in the find/replace dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27253 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:53:06 +00:00
Robert Bieber
fb09d6354c Theme Editor: Removed some old debug code in skindocument.cpp, began implementing a new find/replace dialog, due to licensing issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27252 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:08:59 +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
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