Add skin Scenish and font Seen, by iLKke. Update the logo in skin Modern. Fix selection of FG and BG colors (white and black) on program startup, to work with new skin where the lightest color is not white

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1389 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2010-03-17 23:17:24 +00:00
parent 2fb79034ac
commit 1e272832ea
4 changed files with 3 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -666,8 +666,6 @@ int Init_program(int argc,char * argv[])
}
}
Set_current_skin(Config.Skin_file, gfx);
Fore_color=MC_White;
Back_color=MC_Black;
// Override colors
// Gfx->Default_palette[MC_Black]=Fav_menu_colors[0]=Config.Fav_menu_colors[0];
// Gfx->Default_palette[MC_Dark] =Fav_menu_colors[1]=Config.Fav_menu_colors[1];
@ -689,6 +687,9 @@ int Init_program(int argc,char * argv[])
memcpy(Main_palette, Gfx->Default_palette, sizeof(T_Palette));
Fore_color=Best_color_nonexcluded(255,255,255);
Back_color=Best_color_nonexcluded(0,0,0);
// Allocation de mémoire pour la brosse
if (!(Brush =(byte *)malloc( 1* 1))) Error(ERROR_MEMORY);
if (!(Smear_brush =(byte *)malloc(MAX_PAINTBRUSH_SIZE*MAX_PAINTBRUSH_SIZE))) Error(ERROR_MEMORY);