Wed Aug 20 10:19:50 2003 Michael Jennings (mej)
When saving settings, make sure to save the font effects too. Spotted by ptiJo <ptiJo@noos.fr>. SVN revision: 7353
This commit is contained in:
parent
16a35e6a1e
commit
e5b7bd4890
|
@ -5075,3 +5075,8 @@ script. You can now pass "-m /path/to/menufile" to Etbg_update_list
|
|||
to generate the entries in the specified file. Hopefully I'll make
|
||||
this process automated, at least on my end, in the near future.
|
||||
----------------------------------------------------------------------
|
||||
Wed Aug 20 10:19:50 2003 Michael Jennings (mej)
|
||||
|
||||
When saving settings, make sure to save the font effects too. Spotted
|
||||
by ptiJo <ptiJo@noos.fr>.
|
||||
----------------------------------------------------------------------
|
||||
|
|
|
@ -3175,6 +3175,30 @@ save_config(char *path, unsigned char save_theme)
|
|||
fprintf(fp, " font bold %s\n", rs_boldFont);
|
||||
}
|
||||
#endif
|
||||
if (fshadow.do_shadow) {
|
||||
const char *corners[] = {
|
||||
"top_left",
|
||||
"top_right",
|
||||
"bottom_left",
|
||||
"bottom_right"
|
||||
};
|
||||
unsigned char shad = 0;
|
||||
|
||||
fprintf(fp, " font effects");
|
||||
for (i = 0; i < 4; i++) {
|
||||
if (fshadow.shadow[i]) {
|
||||
fprintf(fp, " %s 0x%08x", corners[i], (unsigned int) fshadow.color[i]);
|
||||
shad = 1;
|
||||
}
|
||||
}
|
||||
if (shad) {
|
||||
fprintf(fp, "\n");
|
||||
} else {
|
||||
fprintf(fp, " none\n");
|
||||
}
|
||||
} else {
|
||||
fprintf(fp, " font effects none\n");
|
||||
}
|
||||
fprintf(fp, "end attributes\n\n");
|
||||
|
||||
if (save_theme) {
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
LISTFILE=pixmaps.list
|
||||
|
||||
if [ "x$1" = "x-m" ]; then
|
||||
echo "Mmmm, got menu file $2"
|
||||
shift
|
||||
ETBG_MENUFILE="$1"
|
||||
export ETBG_MENUFILE
|
||||
|
|
Loading…
Reference in New Issue