Panel Background color was not being saved to color settings files

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3888 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2003-07-07 12:21:37 +00:00
parent d9590c6db2
commit d5d9cf4017

View File

@ -654,6 +654,7 @@ printf("Initializing color settings to defaults\n");
ColorWhichItem whichitem(B_PANEL_BACKGROUND_COLOR);
rgb_color col={216,216,216,255};
settings.AddData(whichitem.Text(),(type_code)'RGBC',&col,sizeof(rgb_color));
SetRGBColor(&col,0,0,0);
whichitem.SetAttribute((color_which)B_PANEL_TEXT_COLOR);