Rockbox Development > Feature Ideas
Proper Theme Deletion
BdN3504:
I would like to see a viewers kind of feature, that can only be performed on cfg files in the themes directory. a long select will bring up the context menu in that folder which lists "remove theme". this feature will read out the theme file delete all files whose location is pointed in the cfg file, excpet for the font.
I think this must be possible... the option to access files of a certain kind is given, the option to delete files is given, the option to read out a cfg file is given, the option to delete folders is given, so there shouldn't be much of a hassle.
Screenshots explain what i mean.
hm how can i do this myself?
i can't find out which parts of the code i have to modify...
where can i find the context menu?
i think i can use these lines to get to the directories i am looking for in settings.h
--- Code: ---#define WPS_DIR ROCKBOX_DIR "/wps"
#define THEME_DIR ROCKBOX_DIR "/themes"
--- End code ---
please direct me to the right place, if i'm posting / looking for help in the wrong spot.
motionman95:
Hmm...good idea, LOL. I think I'll work on it.
motionman95:
Hey, I've have an awesome prototype that's pretty much ready. When the prototype's complete, I'll see if I can put it in the tracker.
BdN3504:
good to hear. so you've implemented it as a plug in?
motionman95:
Not intentionally. I plan to convert to a viewer after I learn how a viewer plugin works.
Navigation
[0] Message Index
[#] Next page
Go to full version