1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Index: manual/plugins/theme_remove.tex
===================================================================
--- manual/plugins/theme_remove.tex  (revision 0)
+++ manual/plugins/theme_remove.tex  (revision 0)
@@ -0,0 +1,82 @@
+% $Id $ %
+\subsection{\label{ref:ThemeRemove}Theme Remove}
+\begin{description}
+This plugin offers a way to remove a theme. Open the \setting{Context Menu} upon a theme 
+\fname{.cfg} file and select \setting{Open With... $\rightarrow$ theme\_remove}.
+Some files are not removed regardless of the \setting{Remove Options} such as
+\fname{rockbox\_default.wps}\opt{lcd_bitmap}{ and the font file currently in use}.
+\end{description}
+
+\note{
+  This plugin deletes files on the \dap{}. The changes done to the
+  files could break another theme.
+}
+
+\subsubsection{Theme Remove menu}
+\begin{description}
+  \item[Remove Theme.]
+  Selecting this will delete the files specified in the \setting{Remove Options}.
+  After a theme has been succesfully removed, a log message is displayed listing 
+  which items have been deleted and which are being kept. Exit this screen by 
+  pressing any key. A file called \fname{theme\_remove\_log.txt} is created in 
+  the root directory of your \dap{} listing all the changes.
+
+  \item[Remove Options.]
+  This menu specifies which items are removed if
+  \setting{Remove Theme} is selected in the menu.
+
+  One of the following options can be chosen for each setting.
+  \begin{description}
+    \item[Ask.]
+    Selecting this option brings up a dialogue with two options:
+    press \ActionYesNoAccept{} to confirm deletion or any other key to cancel.
+    \item[Remove if not Used.]
+    Selecting this option will remove the file automatically, if it is not 
+    used by another theme.
+    \item[Never Remove.]
+    Selecting this option will always skip deleting the file.
+    \item[Always Remove.]
+    Selecting this option will remove the file  with no regard to
+    whether it's used by another theme or not.
+  \end{description}
+
+  \begin{description}
+\opt{lcd_bitmap}{
+    \item[Font.]
+    Specifies how the \fname{.fnt} file belonging to a theme \fname{.cfg} file is handled.
+}%
+    \item[WPS.]
+    Specifies how the \fname{.wps} file belonging to a theme \fname{.cfg} file is handled.
+\opt{HAVE_REMOTE_LCD}{
+    \item[Remote WPS.]
+    Specifies how the \fname{.rwps} file belonging to a theme \fname{.cfg} file is handled.
+}%
+\opt{lcd_non-mono}{
+    \item[Backdrop.]
+    Specifies how the backdrop \fname{.bmp} file belonging to a theme \fname{.cfg} file is handled.
+}%
+\opt{lcd_bitmap}{
+    \item[Iconset.]
+    Specifies how the iconset \fname{.bmp} file belonging to a theme \fname{.cfg} file is handled.
+    \item[Viewers Iconset.]
+    Specifies how the viewers iconset \fname{.bmp} file belonging to a theme \fname{.cfg} file is handled.
+}%
+\opt{HAVE_REMOTE_LCD}{
+    \item[Remote Iconset.]
+    Specifies how the remote iconset \fname{.bmp} file belonging to 
+    a theme \fname{.cfg} file is handled.
+    \item[Remote Viewers Iconset.]
+    Specifies how the remote viewers iconset \fname{.bmp} file belonging to 
+    a theme \fname{.cfg} file is handled.
+}% HAVE_REMOTE_LCD
+\opt{lcd_color}{
+    \item[Filetype Colours.]
+     Specifies how the colours \fname{.colours} file belonging to a theme \fname{.cfg} file is handled.
+}%
+
+    \item[Create Log File.]
+    Setting this to \setting{No} prevents the log file from being created.
+    \end{description}
+  \item[Quit.]
+  Exits this plugin.
+\end{description}
Index: manual/plugins/main.tex
===================================================================
--- manual/plugins/main.tex  (revision 22086)
+++ manual/plugins/main.tex  (working copy)
@@ -149,6 +149,8 @@
 
 {\input{plugins/text_viewer.tex}}
 
+{\input{plugins/theme_remove.tex}}
+
 {\input{plugins/vbrfix.tex}}
 
 \opt{recorder,recorderv2fm,ondio}{\input{plugins/wavplay.tex}}