Fixed bug #2511762 (thanks to Clayton Enga for the patch).

Added the feature #2419098 (David Campo idea).
This commit is contained in:
David Capello 2009-01-24 00:41:01 +00:00
parent 98abdbf684
commit 8e498470d5
420 changed files with 859 additions and 754 deletions

View File

@ -1,9 +1,36 @@
===================================
AUTHOR
AUTHORS
===================================
David A. Capello <davidcapello@gmail.com>
Programmer, design, graphics, tester and the maintainer.
David Capello <davidcapello@gmail.com>
Programmer, designer, and maintainer.
Thanks for ideas, patches, bugs report and contributions to:
Alex Winter
Álvaro González (Kronoman X)
Angelo Mottola
Ben Davis (entheh)
Carl Olsson
Christer Sandberg
Clayton Enga
David Campo
Elias Pschernig (networm)
Elio Cuevas Gómez
Emmanuel Rousseau (God_Cells)
Hernán Echegoyemberry
Jon Rafkind (kazzmir)
Jonathan Taylor
Jorge Ramírez Flores
Juraj Michalek
Manuel De Miguel Moreno
Manuel Quiñones (manuq)
Mateusz Czaplinski
Nathan Smith (whitedoor)
Nora Amendez
Peter Wang (tjaden)
Robert J Ohannessian (Bob)
Trent Gamblin (trentg)
===================================
THANKFULNESS
@ -123,27 +150,3 @@ THANKFULNESS
Waldemar Celes, Roberto Ierusalimschy, and Luiz Henrique de
Figueiredo: For their excelent work with Lua.
<http://www.lua.org/>
And thanks for all the ideas and bugs report of:
Alex Winter
Álvaro González (Kronoman X)
Angelo Mottola
Ben Davis (entheh)
Carl Olsson
Christer Sandberg
Elias Pschernig (networm)
Elio Cuevas Gómez
Emmanuel Rousseau (God_Cells)
Hernán Echegoyemberry
Jon Rafkind (kazzmir)
Jonathan Taylor
Jorge Ramírez Flores
Juraj Michalek
Manuel De Miguel Moreno
Manuel Quiñones (manuq)
Mateusz Czaplinski
Nathan Smith (whitedoor)
Nora Amendez
Peter Wang (tjaden)
Robert J Ohannessian (Bob)
Trent Gamblin (trentg)

View File

@ -1,3 +1,20 @@
2009-01-23 David A. Capello <davidcapello@gmail.com>
* src/core/drop_files.cpp (subclass_hwnd): Added support to drop
files in Windows (feature #2419098, David Campo idea).
2009-01-18 David A. Capello <davidcapello@gmail.com>
* src/jinete/jscroll.h: Removed.
* Added 2009 year to copyright.
* src/jinete/*.*: Fixed the BSD license text.
* src/jinete/jstring.h (jstring::split): Applied the patch
of Clayton Enga to add the last token of the split string
(bug #2511762).
2008-10-18 David A. Capello <davidcapello@gmail.com>
* Version 0.6 released.

View File

@ -1,6 +1,6 @@
ASE - Allegro Sprite Editor
Copyright (C) 2001-2008 by David A. Capello
Copyright (C) 2001-2009 by David Capello
--------------------------------------------------------------------
See the "AUTHORS.txt" file for a complete list of contributors
@ -94,4 +94,4 @@ CONTACT INFO
http://www.aseprite.org/
----------------------------------------------------------------------------
Copyright (C) 2001-2008 by David A. Capello
Copyright (C) 2001-2009 by David Capello

View File

@ -61,7 +61,8 @@ Wish-list
+ the commands should be enabled/disabled/checked by the current
context state
+ the commands should use a new ase/ API and not the raster/ low-level
+ functions.c is a good example for the new ase/ API.
- "raster/Undoable" is the beginning
- All "functions.c" should be in Undoable
+ the dependencies should be:
commands/ -> ase/ -> raster/ -> jinete/
+ the list of 'sprites' should be in the context (maybe a

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -24,9 +24,9 @@
/* general information */
#define PACKAGE "ASE"
#define VERSION "0.6"
#define VERSION "0.6.1"
#define WEBSITE "http://www.aseprite.org/"
#define COPYRIGHT "Copyright (C) 2001-2008 David A. Capello"
#define COPYRIGHT "Copyright (C) 2001-2009 David Capello"
#define PRINTF verbose_printf

View File

@ -1,5 +1,5 @@
# Allegro Sprite Editor convolution matrices -*- Shell-script -*-
# Copyright (C) 2001-2008 by David A. Capello
# Copyright (C) 2001-2009 by David Capello
#
# Parser in "src/effect/convmatr.c"
#

View File

@ -1,5 +1,5 @@
<!-- Allegro Sprite Editor menus & keyboard shortcuts -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<gui>
<!-- keyboard shortcuts -->
<keyboard>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Warning - Important" name="advanced_mode_warning">
<grid columns="1">

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Cel Properties" name="cel_properties">
<grid columns="2">

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Color Curve" name="color_curve">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Configure Screen" name="configure_screen">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Convolution Matrix" name="convolution_matrix">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Draw Text" name="drawtext_window">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Duplicate Sprite" name="duplicate_sprite">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="" name="file_selector">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Frame Duration" name="frame_duration">
<grid columns="3">

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Convert Color" name="image_type">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Invert Color" name="invert_color">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="JPEG Options" name="jpeg_options">
<grid columns="2">

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window noborders desktop text="Main Window" name="main_window">
<box noborders vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Median Blur" name="median">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="New Image Layer" name="new_layer">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="New Sprite" name="new_sprite">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Options" name="options">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Palette Editor" name="palette_editor">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Play FLI/FLC" name="play_fli">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Point Properties" name="point_properties">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Replace Color" name="replace_color">
<box horizontal>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Sprite Properties" name="sprite_properties">
<box vertical>

View File

@ -1,5 +1,5 @@
<!-- ASE - Allegro Sprite Editor -->
<!-- Copyright (C) 2001-2008 by David A. Capello -->
<!-- Copyright (C) 2001-2009 by David Capello -->
<jinete>
<window text="Tools Configuration" name="configure_tool">
<box vertical>

View File

@ -1,11 +1,11 @@
# Allegro Sprite Editor tips
# Copyright (C) 2001-2008 David A. Capello
# Copyright (C) 2001-2009 by David Capello
**********************************************************************
\palette ase.pcx
\image ase.pcx
Welcome to ASE 0.6
Welcome to ASE 0.6.1
READ THIS!
@ -122,4 +122,4 @@ And remember look for updates in:
http://www.aseprite.org/
Copyright (C) 2001-2008 by David A. Capello
Copyright (C) 2001-2009 by David Capello

View File

@ -1,5 +1,5 @@
ASE Files (.ASE) Format description
Copyright (C) 2004-2005, 2007, 2008 by David A. Capello
Copyright (C) 2004-2009 by David Capello
----------------------------------------------------------------------
1. References

View File

@ -1,4 +1,4 @@
# Copyright (C) 2001-2008 by David A. Capello -*-Makefile-*-
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
# Manual configuration
# (in Unix like systems you can use ./fix.sh script)

View File

@ -1,4 +1,4 @@
# Copyright (C) 2001-2008 by David A. Capello -*-Makefile-*-
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
.PHONY = _default
_default: default

View File

@ -1,4 +1,4 @@
# Copyright (C) 2001-2008 by David A. Capello -*-Makefile-*-
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
ifndef CONFIGURED
include makefile.cfg

View File

@ -1,4 +1,4 @@
# Copyright (C) 2001-2008 by David A. Capello -*-Makefile-*-
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
######################################################################
# ASE
@ -82,6 +82,7 @@ COMMON_SOURCES = \
src/core/config.cpp \
src/core/core.cpp \
src/core/dirs.cpp \
src/core/drop_files.cpp \
src/core/file_system.cpp \
src/core/modules.cpp \
src/dialogs/aniedit.cpp \

View File

@ -1,4 +1,4 @@
# Copyright (C) 2001-2008 by David A. Capello -*-Makefile-*-
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
ifndef CONFIGURED
include makefile.cfg

View File

@ -1,4 +1,4 @@
# Copyright (C) 2001-2008 by David A. Capello -*-Makefile-*-
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
ifndef CONFIGURED
include makefile.cfg
@ -24,7 +24,7 @@ OBJ_DIR = obj/msvc
include makefile.lst
CFLAGS = -nologo \
-I. -Isrc -Ithird_party -W1 -Gd -O2 -EHa \
-I. -Isrc -Ithird_party -W1 -Gd -EHa \
-I$(LIBFREETYPE_DIR)/include \
-I$(LIBJPEG_DIR) \
-I$(LIBPNG_DIR) \
@ -37,11 +37,11 @@ LIBS = User32.lib Shell32.lib ComCtl32.lib ComDlg32.lib Gdi32.lib \
Msimg32.lib WinMM.lib AdvAPI32.lib Ole32.lib ShLwApi.lib Vfw32.Lib
ifdef DEBUGMODE
CFLAGS += -Zi -MDd
CFLAGS += -Zi -MDd -DDEBUGMODE
LFLAGS += -DEBUG
LIBS += Alld.lib
else
CFLAGS += -MD
CFLAGS += -O2 -MD -DNDEBUG
LFLAGS += -RELEASE
LIBS += Alleg.lib
endif

View File

@ -1,7 +1,7 @@
#! /bin/sh
dir="`pwd`"
version=0.6
version=0.6.1
distdir=ase-$version
freetype_files="third_party/freetype/ChangeLog \

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -19,12 +19,13 @@
#include "config.h"
#include "commands/commands.h"
#include "core/app.h"
#include "modules/gui.h"
#include "modules/sprites.h"
#include "raster/layer.h"
#include "raster/sprite.h"
#include "raster/undo.h"
#include "util/functions.h"
#include "raster/undoable.h"
#include "widgets/colbar.h"
static bool cmd_background_from_layer_enabled(const char *argument)
{
@ -41,10 +42,16 @@ static void cmd_background_from_layer_execute(const char *argument)
{
Sprite *sprite = current_sprite;
if (undo_is_enabled(sprite->undo))
undo_set_label(sprite->undo, "Background from Layer");
// each frame of the layer to be converted as `Background' must be
// cleared using the selected background color in the color-bar
int bgcolor = app_get_bg_color(sprite);
bgcolor = fixup_color_for_background(sprite->imgtype, bgcolor);
BackgroundFromLayer(sprite);
{
Undoable undoable(sprite, "Background from Layer");
undoable.background_from_layer(sprite->layer, bgcolor);
undoable.commit();
}
update_screen_for_sprite(sprite);
}

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2008 David A. Capello
* Copyright (C) 2008-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2008 David A. Capello
* Copyright (C) 2008-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -32,6 +32,7 @@
#include "modules/gui.h"
#include "modules/sprites.h"
#include "raster/image.h"
#include "raster/layer.h"
#include "raster/sprite.h"
#include "raster/undo.h"
#include "util/functions.h"
@ -136,9 +137,7 @@ static void cmd_new_file_execute(const char *argument)
/* if the background color isn't transparent, we have to
convert the `Layer 1' in a `Background' */
if (color_type(color) != COLOR_TYPE_MASK) {
BackgroundFromLayer(sprite);
/* clear the image to */
layer_configure_as_background(sprite->layer);
image_clear(GetImage(sprite),
get_color_for_image(imgtype, color));
}

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2008 David A. Capello
* Copyright (C) 2008-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2008 David A. Capello
* Copyright (C) 2001-2009 David Capello
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

Some files were not shown because too many files have changed in this diff Show More