Fix issue 251: random transparent color for new layers
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1219 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
21e3cfe959
commit
776da3980d
@ -11,7 +11,7 @@ $(OBJDIR)/buttons_effects.o: buttons_effects.c buttons.h struct.h const.h engine
|
|||||||
global.h graph.h help.h input.h misc.h readline.h sdlscreen.h windows.h
|
global.h graph.h help.h input.h misc.h readline.h sdlscreen.h windows.h
|
||||||
$(OBJDIR)/engine.o: engine.c const.h struct.h global.h graph.h misc.h special.h \
|
$(OBJDIR)/engine.o: engine.c const.h struct.h global.h graph.h misc.h special.h \
|
||||||
buttons.h operatio.h shade.h errors.h sdlscreen.h windows.h brush.h \
|
buttons.h operatio.h shade.h errors.h sdlscreen.h windows.h brush.h \
|
||||||
input.h engine.h pages.h
|
input.h engine.h pages.h layers.h
|
||||||
$(OBJDIR)/factory.o: factory.c brush.h struct.h const.h buttons.h engine.h errors.h \
|
$(OBJDIR)/factory.o: factory.c brush.h struct.h const.h buttons.h engine.h errors.h \
|
||||||
filesel.h global.h graph.h io.h misc.h readline.h sdlscreen.h windows.h
|
filesel.h global.h graph.h io.h misc.h readline.h sdlscreen.h windows.h
|
||||||
$(OBJDIR)/fileformats.o: fileformats.c errors.h global.h struct.h const.h \
|
$(OBJDIR)/fileformats.o: fileformats.c errors.h global.h struct.h const.h \
|
||||||
@ -72,7 +72,7 @@ $(OBJDIR)/pxwide.o: pxwide.c global.h struct.h const.h sdlscreen.h misc.h graph.
|
|||||||
pxwide.h
|
pxwide.h
|
||||||
$(OBJDIR)/pxwide2.o: pxwide2.c global.h struct.h const.h sdlscreen.h misc.h graph.h \
|
$(OBJDIR)/pxwide2.o: pxwide2.c global.h struct.h const.h sdlscreen.h misc.h graph.h \
|
||||||
pxwide2.h
|
pxwide2.h
|
||||||
$(OBJDIR)/readini.o: readini.c const.h global.h struct.h misc.h readini.h
|
$(OBJDIR)/readini.o: readini.c const.h errors.h global.h struct.h misc.h readini.h
|
||||||
$(OBJDIR)/readline.o: readline.c const.h struct.h global.h misc.h errors.h \
|
$(OBJDIR)/readline.o: readline.c const.h struct.h global.h misc.h errors.h \
|
||||||
sdlscreen.h readline.h windows.h input.h
|
sdlscreen.h readline.h windows.h input.h
|
||||||
$(OBJDIR)/realpath.o: realpath.c
|
$(OBJDIR)/realpath.o: realpath.c
|
||||||
|
|||||||
1
pages.c
1
pages.c
@ -73,6 +73,7 @@ T_Page * New_page(byte nb_layers)
|
|||||||
page->Filename[0]='\0';
|
page->Filename[0]='\0';
|
||||||
page->File_format=DEFAULT_FILEFORMAT;
|
page->File_format=DEFAULT_FILEFORMAT;
|
||||||
page->Nb_layers=nb_layers;
|
page->Nb_layers=nb_layers;
|
||||||
|
page->Transparent_color=0; // Default transparent color
|
||||||
page->Next = page->Prev = NULL;
|
page->Next = page->Prev = NULL;
|
||||||
}
|
}
|
||||||
return page;
|
return page;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user