Commit graph

164 commits

Author SHA1 Message Date
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
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
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
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
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
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
be70fd89be Theme Editor: Added an edit menu with a find/replace function (copied from an LGPL library)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27137 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 07:59:23 +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
33595878aa Theme Editor: Added a reset zoom button, made icons for all the zoom buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27129 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 06:56:15 +00:00
Robert Bieber
0db8bc4664 Theme Editor: Made the device configuration menu dockable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27128 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 05:49:16 +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
8f8ac0e38c Theme Editor: Added (I think) all of the tags to the device configuration window
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27121 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 21:03:01 +00:00
Robert Bieber
966052b328 Theme Editor: Removed dependency on lingering file from devicestate.cpp, fixed formatting in device state panel, working on tag list for device panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27116 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 19:16:48 +00:00