assdraw: use CSS syntax to save colors since it actually supports alpha

Originally committed to SVN as r6862.
This commit is contained in:
Thomas Goyne 2012-05-24 01:56:18 +00:00
parent eb1184b329
commit 091af97248
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ void ASSDrawFrame::LoadSettings()
void ASSDrawFrame::SaveSettings()
{
#define CFGWRITE(var) config->Write(wxString(#var,wxConvUTF8), var);
#define CFGWRITECOLOR(color) config->Write(wxString(#color,wxConvUTF8), color.GetAsString(wxC2S_HTML_SYNTAX));
#define CFGWRITECOLOR(color) config->Write(wxString(#color,wxConvUTF8), color.GetAsString(wxC2S_CSS_SYNTAX));
config->SetPath(_T("settings"));
CFGWRITECOLOR(colors.canvas_bg)
CFGWRITECOLOR(colors.canvas_shape_normal)