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:
4
misc.c
4
misc.c
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user