Commit Graph

72 Commits

Author SHA1 Message Date
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
David Capello
59ae779fca + Added Context parameter to CurrentSprite.
+ Now CurrentSprite is defined in current_sprite.h.
+ Modified several routines to get the current sprite as parameter.
2009-06-02 14:08:56 +00:00
David Capello
c4be9fe5b4 Added Context and UIContext classes.
Added CurrentSprite class.
Removed current_sprite global.
Moved all functions of 'sprites' module to Context/UIContext.
2009-06-01 02:59:15 +00:00
David Capello
8f92f78702 - Added Job class.
- Added SpriteSizeJob class.
- Added ScopedLock class.
- Fixed some bugs.
2009-05-31 20:15:38 +00:00
David Capello
dd003a8f33 - Now "Image" is a C++ class with virtual methods;
- Removed ImageMethods (the C vtable for old "Image" structure);
- Added ImageImpl and ImageTraits;
- Added "Sprite Size" command (feature #2671468);
- Added "Canvas Size" command;
2009-05-31 16:02:32 +00:00
David Capello
73d1920e78 Added support to copy & paste to/from the Windows Clipboard. 2009-03-07 19:14:40 +00:00
David Capello
8e498470d5 Fixed bug #2511762 (thanks to Clayton Enga for the patch).
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello
9bf40439d4 Added jstring. The file-selector now uses jstrings. 2008-10-11 20:41:27 +00:00
David Capello
c327a740d7 Added Undoable class. 2008-10-02 02:31:07 +00:00
David Capello
1e44f9a454 Modified makefile.lst for cpp files.
Renamed src/test to src/tests.
2008-09-30 23:04:33 +00:00
David Capello
78f879fa14 Renamed some files and removed deprecated files.
Fixed a bug in fileview with i-search.
2008-09-30 01:25:11 +00:00
David Capello
bcc221ab59 Fixed a bug in FlattenLayers.
Fixed a bug when paste outside the sprite.
Fixed a bug in color-bar when drop colors in nowhere.
Fixed some compilation errors in MSVC.
2008-09-29 23:58:07 +00:00
David Capello
d181b9f215 Completelly removed the scripting support and lua files.
Updated the forum address.
2008-09-27 23:24:27 +00:00
David Capello
2e10ec3e21 Version 0.6b2 released.
Minor fixed and changes for the new release.
2008-05-06 15:22:57 +00:00
David Capello
f8db016cb9 Added NewFrame & RemoveFrame.
Fixed move/copy_cel, and the Animation Editor is almost ready.
Added the cel_movement_popup.
Removed all the "quick" stuff (quick-move/copy, etc.).
Removed some commands (crop cel, crop layer, link cel).
2008-05-05 02:07:04 +00:00
David Capello
837cf39c54 Added the new Animator Editor.
Other minor changes & refactorings.
2008-04-27 20:27:06 +00:00
David Capello
c090bde1ee Renamed filedata to format_options 2008-03-29 04:35:30 +00:00
David Capello
a951368da6 Added progress bar to apply-effect and save file operations.
Added support to configure file format with a FileData like JpegData.
2008-03-29 03:43:19 +00:00
David Capello
61a61bd2fa Added eraser and blur tools.
Added inks and better handling of tools->brushes->inks relationship.
color_t is now a ase_uint32.
Added the Background layer.
Fixed bugs loading some king of BMP files.
Removed the bgcolor from the Sprite and .ase files.
Added FileData and BmpData.
Renamed dirty_put to dirty_restore_image_data.
Renamed dirty_get to dirty_save_image_data.
Added get_pretty_memsize, sprite_get_memsize, undo_get_memsize to show memory-usage.
2008-03-27 14:29:33 +00:00
David Capello
19e8083256 + Added Editor::space_pressed to move the scroll with the space key.
+ Renamed Editor::cursor_eyedropper to Editor::alt_pressed.
+ Added statusbar_show_tip.
+ Added AppHooks.
+ Renamed color_button_* to colorbutton_*
+ Renamed GfxObj*Layer::parent to Layer*Layer::parent_layer.
+ Added Palette gfxobj and refactored a lot of code to this new Palette
  instead of Allegro's RGB/PALETTE.
+ Now jfile.c uses jxml.c.
+ New signature for callbacks in 'hook_signal' of modules/gui.c:
  bool hook(JWidget, void *);
- Removed colsel and minipal from dialogs.
+ Fixed mouse bounds in sliders.
2008-03-22 18:43:56 +00:00
David Capello
ef28731b5a Renamed exchange_colors to switch_colors
Removed the bugreport address
"color" is now in the core (isn't a module anymore)
Refactored palette_editor -> paledit
Added test_intmult.c
Completed test_jlist.c
Added test_init, test_init_gui & test_exit routines
Added test_jgrid.c
2008-03-15 01:54:45 +00:00
David Capello
275181990f Added:
- eye-dropper cursor to editor
- JM_SETCURSOR
- incremental-search to fileview widget
- jgrid widget
- JI_SIGNAL_SET_FONT
- sprite_getpixel
- colorselector widget
- test_jlist test
- HSV color type
- grid, exchange_colors, and eyedropper_tool commands
Fixed:
- duplication of layers
Renamed:
- jwidget_add_childs to jwidget_add_children
- status_bar to statusbar
- tool_bar to toolbar
- color_viewer to colorviewer
- color_bar to colorbar
- color_button to colorbutton
- rectfill_exclude to jrectexclude
- _graya_getk to _graya_getv
- _graya_k_shift to _graya_v_shift
Refactoring to color type:
- now it's a color_t structure instead of a string (char *)
Removed:
- mapgen.[ch]
- update_global_script_variables routine
- JM_CHAR (now it's JM_KEYPRESSED).
- README-es.txt
- FAQ.txt
2008-02-29 19:29:49 +00:00
David Capello
1f98194363 Renamed 'jcombox.c' to 'jcombobox.c' 2008-02-19 00:02:01 +00:00
David Capello
ae46058123 Moved FLI core routines from third_party/gfli to src/file/fli 2008-02-12 12:46:39 +00:00
David Capello
3290dfb7d5 Added thumbnails, tooltips, and now the file routines don't use PACKFILE (just FILE from stdio). 2008-02-10 19:06:03 +00:00
David Capello
528eaab937 Added threads to load files in background.
Added a new file-selector (using PIDLs for Win32).
2008-02-04 02:37:26 +00:00