1
0
Fork 0
forked from len0rd/rockbox

Minor corrections to the .colours file editing; added .colours to the list of supported files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20407 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2009-03-20 19:33:20 +00:00
parent 2d77fde363
commit 71812ca1fd
2 changed files with 74 additions and 69 deletions

View file

@ -39,11 +39,12 @@ file find the instructions on the Rockbox website:
\wikilink{LangFiles} \wikilink{LangFiles}
\opt{lcd_color}{ \opt{lcd_color}{
\subsection{Changing Filetype Colours} \subsection{\label{ref:ChangingFiletypeColours}Changing Filetype Colours}
Rockbox has the capability to modify the \setting{File Browser} to show Rockbox has the capability to modify the \setting{File Browser} to show
different filetypes in different colours, depending on the file extension. files of different types in different colours, depending on the file extension.
\subsubsection{Set-up} \subsubsection{Set-up}
There are two steps to changing the filetype colours - creating There are two steps to changing the filetype colours: creating
a file with the extension \fname{.colours} and then activating it using a file with the extension \fname{.colours} and then activating it using
a config file. The \fname{.colours} files \emph{must} be stored in a config file. The \fname{.colours} files \emph{must} be stored in
the \fname{/.rockbox/themes/} directory. the \fname{/.rockbox/themes/} directory.
@ -51,7 +52,7 @@ file find the instructions on the Rockbox website:
your text editor of choice. your text editor of choice.
\subsubsection{Creating the .colours file} \subsubsection{Creating the .colours file}
The \fname{.colours} file consits of the file extension The \fname{.colours} file consists of the file extension
(or \fname{folder}) followed by a colon and then the colour desired (or \fname{folder}) followed by a colon and then the colour desired
as an RGB value in hexadecimal, as in the following example:\\* as an RGB value in hexadecimal, as in the following example:\\*
\\ \\
@ -102,7 +103,7 @@ file find the instructions on the Rockbox website:
automatically understands the automatically understands the
\fname{.colours} file format, but an external text editor can \fname{.colours} file format, but an external text editor can
also be used. To edit the \fname{.colours} file using Rockbox, also be used. To edit the \fname{.colours} file using Rockbox,
select it in the \setting{File Browser}. The file will open in ``play'' it in the \setting{File Browser}. The file will open in
the \setting{Text Editor}. Upon selecting a line, the following choices the \setting{Text Editor}. Upon selecting a line, the following choices
will appear:\\* will appear:\\*
\\ \\

View file

@ -53,7 +53,11 @@
& Rockbox Video & \fname{.rvf} & View a movie (Rockbox format)\\} & Rockbox Video & \fname{.rvf} & View a movie (Rockbox format)\\}
} }
& Link & \fname{.link} & Display list of target files and directories; & Link & \fname{.link} & Display list of target files and directories;
selecting one jumps to the target. \emph{see \reference{ref:Shortcutsplugin}}\\ selecting one jumps to the target. See \reference{ref:Shortcutsplugin}.\\
\opt{lcd_color}{
& Colours & \fname{.colours} & Open the colours file for editing.
See \reference{ref:ChangingFiletypeColours}.\\
}
\bottomrule \bottomrule
\end{tabularx} \end{tabularx}
\end{center} \end{center}