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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user