2007-09-27 18:02:23 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
GCC="gcc -MM"
|
|
|
|
CFLAGS="-I. \
|
2007-12-06 03:00:10 +00:00
|
|
|
-Isrc \
|
2007-09-27 18:02:23 +00:00
|
|
|
-Ithird_party/lua/include \
|
|
|
|
-Ithird_party/intl \
|
|
|
|
-Ithird_party/libpng \
|
|
|
|
-Ithird_party/zlib \
|
2007-12-05 01:30:50 +00:00
|
|
|
-Ithird_party/jpeg \
|
2009-12-11 13:10:56 +00:00
|
|
|
-Ithird_party/tinyxml \
|
|
|
|
-Ithird_party/loadpng \
|
2007-12-06 03:00:10 +00:00
|
|
|
-Ithird_party/freetype/include \
|
2010-03-24 16:57:52 +00:00
|
|
|
-Ithird_party/vaca/include \
|
2007-09-27 18:02:23 +00:00
|
|
|
-Ithird_party"
|
|
|
|
|
|
|
|
rm -f makefile.dep
|
|
|
|
|
2007-12-06 03:00:10 +00:00
|
|
|
$GCC $CFLAGS \
|
2008-09-30 21:01:54 +00:00
|
|
|
src/*.cpp \
|
|
|
|
src/commands/*.cpp \
|
|
|
|
src/commands/fx/*.cpp \
|
|
|
|
src/core/*.cpp \
|
|
|
|
src/dialogs/*.cpp \
|
|
|
|
src/effect/*.cpp \
|
|
|
|
src/file/*.cpp \
|
|
|
|
src/file/*/*.cpp \
|
|
|
|
src/intl/*.cpp \
|
|
|
|
src/jinete/*.cpp \
|
|
|
|
src/modules/*.cpp \
|
|
|
|
src/raster/*.cpp \
|
- All tools stuff refactored in various files/components.
- Added classes: IToolLoop, Tool, ToolGroup, ToolInk, ToolController, ToolPointShape, ToolIntertwine, ToolBox, etc.
- Added ToolLoopManager.
- Removed old src/modules/tools.cpp.
- Added ISettings and UISettingsImpl, adding the tools settings (onion skinning, grid, tiled mode, etc.).
- Added App::PenSizeBeforeChange, PenSizeAfterChange, CurrentToolChange signals.
- Renamed Context::get_bg/fg_color to getBg/FgColor.
- Refactored Brush class to Pen and added PenType.
- Renamed tiled_t to TiledMode.
- get_config_rect now uses the new Rect class imported from Vaca instead of old jrect.
- Added default_skin.xml to load tool icons.
- Added pen preview in Editor::cursor stuff.
- Added Editor::decorators.
Note: This big patch is from some time ago. I did my best to pre-commit other small changes before this big one.
2010-03-07 19:47:45 +00:00
|
|
|
src/settings/*.cpp \
|
|
|
|
src/tools/*.cpp \
|
2008-09-30 21:01:54 +00:00
|
|
|
src/util/*.cpp \
|
|
|
|
src/widgets/*.cpp \
|
|
|
|
src/widgets/editor/*.cpp \
|
2009-03-02 01:27:42 +00:00
|
|
|
| sed -e 's/^\([a-z_\-]*\)\.o/\$(OBJ_DIR)\/\1\$(OBJ)/' >> makefile.dep
|