The 'Clear' function now clears with Transparent color instead of hard-coded 0. Outside edges of images are also drawn with this color. Reduced max layers to 16, for consistency with UI. Added help screens for Layer menu and Brush factory.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1349 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-02-14 04:50:23 +00:00
parent d5353b378d
commit 4219ca839d
12 changed files with 75 additions and 31 deletions

4
misc.c
View File

@@ -173,7 +173,7 @@ void Wait_end_of_click(void)
while(Mouse_K) if(!Get_input()) SDL_Delay(20);
}
void Hide_current_image_with_stencil(byte color, byte * stencil)
void Clear_current_image_with_stencil(byte color, byte * stencil)
//Effacer l'image courante avec une certaine couleur en mode Stencil
{
int nb_pixels=0; //ECX
@@ -192,7 +192,7 @@ void Hide_current_image_with_stencil(byte color, byte * stencil)
}
}
void Hide_current_image(byte color)
void Clear_current_image(byte color)
// Effacer l'image courante avec une certaine couleur
{
memset(