Improve auto-detection of menu colors when using very small palettes

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1584 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-08-22 16:48:19 +00:00
parent 7efbe04c6a
commit 3ed9d0d652
4 changed files with 84 additions and 25 deletions

View File

@@ -2682,6 +2682,11 @@ void Set_current_skin(const char *skinfile, T_Gui_skin *gfx)
MC_Light = gfx->Color[2];
MC_White = gfx->Color[3];
MC_Trans = gfx->Color_trans;
MC_OnBlack=MC_Dark;
MC_Window=MC_Light;
MC_Lighter=MC_White;
MC_Darker=MC_Dark;
// Set menubars to point to the new data
for (i=0; i<3; i++)