Move GfxObjId type to gfxobj_id.h file.

This commit is contained in:
David Capello 2010-10-10 18:56:59 -03:00
parent 3774d6a167
commit 7f14c8e287
2 changed files with 25 additions and 2 deletions

View File

@ -20,6 +20,7 @@
#define RASTER_GFXOBJ_H_INCLUDED
#include <list>
#include "raster/gfxobj_id.h"
enum GfxObjType {
GFXOBJ_CEL,
@ -35,8 +36,6 @@ enum GfxObjType {
GFXOBJ_RGBMAP,
};
typedef unsigned int GfxObjId;
class Cel;
class Layer;

24
src/raster/gfxobj_id.h Normal file
View File

@ -0,0 +1,24 @@
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2010 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef RASTER_GFXOBJ_ID_H_INCLUDED
#define RASTER_GFXOBJ_ID_H_INCLUDED
typedef unsigned int GfxObjId;
#endif