Commit Graph

97 Commits

Author SHA1 Message Date
David Capello
7fa04dddb2 Moved check_args.cpp from src/core/ to src/. 2010-07-16 17:00:37 -03:00
David Capello
f2f1bb26f2 Replaced old DIRS structure with ResourceFinder class. 2010-07-16 16:56:45 -03:00
David Capello
513844c538 Minor reorder of files in makefile.lst. 2010-07-16 16:49:23 -03:00
David Capello
a82d721913 Moved get_pretty_memsize (core.h) to get_pretty_memory_size (mem_utils.h). 2010-07-16 16:05:56 -03:00
David Capello
c400ea0cd0 Added CheckUpdates command. 2010-07-04 12:07:38 -03:00
David Capello
ee3e04386b Added LinkLabel widget. 2010-07-03 14:33:31 -03:00
David Capello
449cdd686f Added Donate command. 2010-07-03 13:36:39 -03:00
David Capello
3d89a21e2f Added "Quick Reference" command.
- Added Launcher class to open files and URLs.
2010-07-03 13:34:17 -03:00
David Capello
08cbfee5f0 Updated copyright year to 2010 in some text files. 2010-06-24 20:49:24 -03:00
David Capello
3f6f1471fd Removed mouse speed option.
Removed _setup_mouse_speed() function and dialog/options.cpp file.
All the code is in cmd_options.cpp now.
2010-04-25 15:52:19 -03:00
David Capello
314e59dae1 Now the user can move selected pixels (still WIP).
Details:
Added EDITOR_STATE_MOVING_PIXELS state to Editor.
Added PixelsMovement helper class.
Added Undoable::paste_image().
2010-04-24 21:23:40 -03:00
David Capello
cc12e8e88e Added GfxMode and CurrentGfxModeGuard classes.
Now ConfigureScreen command uses these classes.
2010-04-22 18:28:12 -03:00
David Capello
47ed48468a Moved some files from ASE_SOURCES to COMMON_SOURCES. 2010-04-22 18:19:00 -03:00
David Capello
9a95a40e92 Added RgbMap class (this class will replace rgb_map Allegro usage). 2010-04-20 23:32:44 -03:00
David Capello
bc4e08f454 Added Vaca::Application and Vaca/main.h, and removed Vaca::System.
Now the application compiles with MinGW.
2010-03-30 10:22:47 -03:00
David Capello
61c1e08be1 Added RecentFiles C++ class to replace legacy C implementation of recent files. 2010-03-27 23:43:08 -03:00
David Capello
0f597f747d Removed tips. 2010-03-24 17:24:28 -03:00
David Capello
2a82911b18 Removed asm code. 2010-03-24 14:10:46 -03:00
David Capello
13ca98244d Removed inexistent win32/Mutex.cpp file from VACA_SOURCES. 2010-03-23 21:59:14 -03:00
David Capello
44b80672f2 Added properties to Component class. 2010-03-20 13:28:06 -03:00
David Capello
5ae14b550b Added Vaca::String class.
Added Vaca::Exception class.
Added Vaca::System class.
Added vaca_main().
The main/WinMain is defined inside vaca library.
2010-03-12 23:16:05 -02:00
David Capello
33854fed54 Moved vaca lib to third_party directory.
Fixed a problem compiling MutexImpl for win32.
2010-03-10 16:57:38 -03:00
David Capello
2a27405173 Added Vaca::Mutex.
Now Vaca is compiled as a library (.lib/.a).
Removed jmutex.cpp, jpoint.cpp, jsize.cpp.
2010-03-10 00:34:50 -02:00
David Capello
cb97884026 - 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 17:47:45 -02:00
David Capello
6867f2c6a5 Added PopupWindow widget. 2010-03-07 16:10:48 -02:00
David Capello
12f762b47f Added jpoint.cpp in the COMMON_SOURCES list. 2010-03-07 11:44:38 -02:00
David Capello
700ab045d2 Added algo_polygon() algorithm. 2010-02-28 23:02:50 -02:00
David Capello
7cdf9d6fe5 Minor change (sorted COMMON_SOURCES list). 2010-02-28 21:48:17 -02:00
David Capello
43dde6ed78 Removed jxml.cpp and jxml.h 2010-02-01 00:00:29 +00:00
David Capello
0c6765fb88 Modules converted to C++ classes. 2010-01-29 03:15:33 +00:00
David Capello
ebc4cfe437 Added jpoint and jsize to makefile.lst 2010-01-25 22:42:52 +00:00
David Capello
017ece697f Now XML files are loaded with tinyxml library 2009-12-16 23:24:57 +00:00
David Capello
11a094cb05 Moved app.cpp from src/core/ to src/ 2009-12-11 14:53:05 +00:00
David Capello
6fff5ea8f4 Added tinyxml in the build process. 2009-12-11 13:10:56 +00:00
David Capello
5d64181f16 Added SkinneableTheme class. Thanks to Ilija Melentijevic for the graphics. 2009-11-21 20:02:31 +00:00
David Capello
33ca3cf8e0 Added support to load png files through Allegro library (now you can save/load palettes in PNG files) 2009-11-19 00:34:07 +00:00
David Capello
e4dd1905fb Added change_color command to change FG color-index with keyboard (Ilija Melentijevic idea). 2009-11-18 14:51:05 +00:00
David Capello
9e5d0dc2f2 Renamed file cmd_eyedropper_tool.cpp to cmd_eyedropper.cpp 2009-10-09 02:36:30 +00:00
David Capello
4710ddf041 Removed deprecated files. 2009-10-09 02:11:03 +00:00
David Capello
5455136f35 Internal refactoring of commands to support record/play macros in the near future. 2009-10-09 01:34:06 +00:00
David Capello
b0c56578ca Moved modules/sprites.cpp to effect/images_ref.cpp 2009-08-17 23:45:55 +00:00
David Capello
39203e34c2 Removed deprecated files canvasze.cpp and canvasze.h. 2009-08-17 21:26:20 +00:00
David Capello
3dbb7c088b Moved console.* from src/console to src/ 2009-08-17 19:32:09 +00:00
David Capello
8b8f13edf9 + Added support to paste/copy text from/to Windows clipboard.
+ Added support to process Ctrl+C / Ctrl+V / Ctrl+P keys in all entry fields.
+ Fixed a bug where file names for new sprites are lower-case always (in Windows).
2009-08-09 21:24:32 +00:00
David Capello
67a830183b + Modified makefile.vc to handle a completelly static compilation with VC++9.0 Express Edition
(the new compiler used for the following Win32 binary releases).
+ Modified some error handling code to use C++ exceptions.
+ Modified some collections (std::vector, std::map, etc.) from instances to pointers.
2009-08-05 01:53:02 +00:00
David Capello
f9ac4089f5 Fixed compilation problems with gcc/vc. 2009-08-02 23:40:42 +00:00
David Capello
a872edd377 Fixed critical bugs in rendering code with zoom. 2009-08-02 22:23:37 +00:00
David Capello
edc4da4b8e Added new command to rotate canvas. 2009-06-14 19:16:42 +00:00
David Capello
8ac979667c Fixed compilations problems with ase_exception and JWidgetPtr with g++ 2009-06-11 15:50:10 +00:00
David Capello
3885f37f45 + CurrentSprite class was split in SpriteWrapper/Reader/Writer, and CurrentSpriteReader/Writer wrappers.
+ More routines are using exceptions for error handling.
+ Added JWidgetPtr class.
+ Added Undoable::set_imgtype/layer_from_background/flatten_layers.
2009-06-11 15:11:11 +00:00