Support and General Use > Theming and Appearance Customization
New WYSIWYG Theme Editor and other utilities in one app!
Inclement Death:
So, I played around with the existing theme editor and took a look at the code...
It was written in VB6 utilizing Windows Forms. VB6 is a dead language and I want more from a theme editor. So...
I started writing a new one with a C#/WPF front end, CLI (Common Language Interface), and a (hopefully) cross-platform capable C++ back end. The back end will handle all the processing so Linux and Apple devs can attach their own UIs to it for other platforms.
A lot of the UI items will be drag and drop; images, buttons, sliders, etc.
Background image, cached images, and settings will be set in a separate tab.
Images will be resized and converted based on selected device and moved to an %u201CIn Progress%u201D folder. The original images will be held in a temp folder so the theme can be resized for other devices.
The WPS output will be editable and in its own tab or collapsible area (haven%u2019t decided yet).
The goal of this project is to have a theme creator/editor that can package the entire theme and install it to the media player.
I could use some assistance with my screen size JSON file. Need to add all supported devices and their screen sizes. Using JSON because it%u2019s lightweight, easy to understand, and is supported across multiple languages.
I attached the JSON screen size file, but had to change the extension from .json to .txt since they are not in the allowed list.
EDIT: Updated screen size file. Forgot to add color depth.
bluebrother:
You're aware that the Rockbox Theme Editor we have in our git is written in C++, using the Qt framework?
Inclement Death:
I only saw the one on the "Useful Tools" wiki page... https://www.rockbox.org/wiki/EZWPS
Damn, I thought that was it and wasted a ton of time I could have spent working on something else.
Ok... I'll take a better look in the git repo.
cereal_killer:
Here is a link to a .exe of the Theme editor, if it is of and help: https://www.reddit.com/r/rockbox/comments/fh001f/build_theme_editor/
bluebrother:
--- Quote from: Inclement Death on August 31, 2020, 02:38:52 PM ---I could use some assistance with my screen size JSON file. Need to add all supported devices and their screen sizes. Using JSON because it%u2019s lightweight, easy to understand, and is supported across multiple languages.
--- End quote ---
Not a json file but that's what the existing editor is using. Also likely to be somewhat outdated, but well ...
https://git.rockbox.org/cgit/rockbox.git/tree/utils/themeeditor/resources/targetdb
Navigation
[0] Message Index
[#] Next page
Go to full version