Commit graph

116 commits

Author SHA1 Message Date
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
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
9079cddd83 Theme Editor: Added settingsChanged() signal to DeviceState class
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27110 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 18:43:06 +00:00
Robert Bieber
1ae6ee263b Theme Editor: Fixed some resource alias issues, implemented device configuration panel that loads options from a text file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27102 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 07:59:41 +00:00
Robert Bieber
58ad1e7c4b Theme Editor: Began working on device status dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27097 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 20:46:43 +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
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
4f93abaccd Theme Editor: Fixed typo that broke compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26960 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 14:11:07 +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
Robert Bieber
a9b30ee002 Theme Editor: Made allll destructors virtual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26895 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 18:47:03 +00:00
Robert Bieber
1dc2c5ebcb Theme Editor: Stopped combo boxes in configuration editor from scrolling on mouse-wheel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26879 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 07:34:24 +00:00
Robert Bieber
75560845aa Theme Editor: Working on renderer infrastructure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26878 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 06:59:46 +00:00
Jonathan Gordon
36b934d241 Move the skin parser to a seperate library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26877 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 06:52:02 +00:00
Robert Bieber
ca564287ee Theme Editor: Moved source files into subdirectories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26876 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 05:37:01 +00:00
Robert Bieber
604b17aa08 Theme Editor: Began working on skin preview viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26874 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 00:40:07 +00:00
Robert Bieber
60d5f5050b Theme Editor: Items from line under cursor now selected in parse tree view
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26870 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 19:24:53 +00:00
Robert Bieber
0d48448500 Theme Editor: Replaced line edits for key names with combo boxes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26868 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 07:47:03 +00:00
Robert Bieber
267a446887 Theme Editor: Implemented save/save as in the configuration file editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26863 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:55:56 +00:00
Robert Bieber
0c26a790ee Theme Editor: Added copyright headers to ConfigDocument files, continued work on configuration editing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26862 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:31:28 +00:00
Maurus Cuelenaere
98a5780d6d Theme editor: only accept valid colors in the preference dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26857 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 11:06:40 +00:00
Robert Bieber
2e320f66f4 Theme Editor: Changed color to colour in preferences. Made parse tree viewer alternate line colors and auto-scroll/expand with cursor in editor window. Implemented TabContent abstract class so that more than just skin documents can be loaded in tabs. Made SkinDocument implement TabContent. Began implementing ConfigDocument for editing configuration files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26851 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 06:54:58 +00:00
Robert Bieber
d827d20416 Theme Editor: Set window title on the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26841 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 07:12:53 +00:00
Robert Bieber
44c122b43c Theme Editor: Made new tabs raise to forefront
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26840 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 06:47:05 +00:00
Robert Bieber
046832c821 Theme Editor: Stripped out the sub-classes for ProjectModel and turned ProjectModel into a list model, also replaced the project tree view with a list view
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26839 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 06:20:07 +00:00
Jonathan Gordon
35b09cb615 initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26825 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 03:13:01 +00:00
Robert Bieber
ce0d21437e Theme Editor: Made errors display in status bar when cursor is on error'd line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26801 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 21:24:38 +00:00
Robert Bieber
fa08c83e29 Theme Editor: Fixed status bar update bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26798 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 20:51:49 +00:00
Robert Bieber
2aecee81cb Theme Editor: Made editor highlight all errors in a document, not just the first one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26795 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 20:11:45 +00:00
Robert Bieber
3c95dbb208 Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:51:34 +00:00
Robert Bieber
0c38353869 Theme Editor: Switched error highlighting to the line numbers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26785 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:03:49 +00:00
Robert Bieber
1b613f583d Theme Editor: Modified parser to integrate the %V tag into the VIEWPORT element, in the same style as CONDITIONAL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26762 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 08:03:32 +00:00
Robert Bieber
66d9ab289f Theme Editor: Fixed code generation with new CONDITIONAL elements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26753 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:52:53 +00:00
Robert Bieber
4b77e82d67 Theme Editor: Fixed issue with parsing conditionals in sublines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26752 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:22:16 +00:00
Robert Bieber
64321adf43 Theme Editor: Applied FS#11389, switched conditional elements to use tag fields along with children, instead of holding the tag as the first child
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26751 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:02:44 +00:00
Jonathan Gordon
466a69814e Fix the bar type param to use nullable ints
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26741 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 14:50:11 +00:00
Robert Bieber
c3a698e46a Theme Editor: Added project settings to the project panel view
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26737 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 07:51:21 +00:00
Robert Bieber
cb26aecf92 Theme Editor: Opening an already opened document no longer spawns a new tab
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26736 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 07:06:38 +00:00
Robert Bieber
fc94a92ad1 Theme Editor: Enabled loading project files from the project panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26732 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 21:37:15 +00:00
Robert Bieber
1cc95c541b Theme Editor: Got project viewer displaying WPS files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26731 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 20:28:51 +00:00
Jonathan Gordon
9ac4b44610 SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated.
NEW PARSER: add an 'N' param type which will accept any number of strings, will cause very big problems if this isnt the last param for a tag.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26727 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 16:15:01 +00:00
Jonathan Gordon
20b9020adc fix %C, and the viewport colour tags so they parse
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26726 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 14:51:52 +00:00