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:
		
							parent
							
								
									2fb79034ac
								
							
						
					
					
						commit
						1e272832ea
					
				
							
								
								
									
										
											BIN
										
									
								
								share/grafx2/skins/font_Seen.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								share/grafx2/skins/font_Seen.png
									
									
									
									
									
										Normal file
									
								
							
										
											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  | 
							
								
								
									
										
											BIN
										
									
								
								share/grafx2/skins/skin_scenish.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								share/grafx2/skins/skin_scenish.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 24 KiB  | 
@ -666,8 +666,6 @@ int Init_program(int argc,char * argv[])
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  Set_current_skin(Config.Skin_file, gfx);
 | 
					  Set_current_skin(Config.Skin_file, gfx);
 | 
				
			||||||
  Fore_color=MC_White;
 | 
					 | 
				
			||||||
  Back_color=MC_Black;
 | 
					 | 
				
			||||||
  // Override colors
 | 
					  // Override colors
 | 
				
			||||||
  // Gfx->Default_palette[MC_Black]=Fav_menu_colors[0]=Config.Fav_menu_colors[0];
 | 
					  // 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];
 | 
					  // 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));
 | 
					  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
 | 
					  // Allocation de mémoire pour la brosse
 | 
				
			||||||
  if (!(Brush         =(byte *)malloc(   1*   1))) Error(ERROR_MEMORY);
 | 
					  if (!(Brush         =(byte *)malloc(   1*   1))) Error(ERROR_MEMORY);
 | 
				
			||||||
  if (!(Smear_brush   =(byte *)malloc(MAX_PAINTBRUSH_SIZE*MAX_PAINTBRUSH_SIZE))) Error(ERROR_MEMORY);
 | 
					  if (!(Smear_brush   =(byte *)malloc(MAX_PAINTBRUSH_SIZE*MAX_PAINTBRUSH_SIZE))) Error(ERROR_MEMORY);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user