Commit Graph

36 Commits

Author SHA1 Message Date
David Capello
1fe1e2ff7b Removed real-time dithering option (because 8 bpp is not supported anymore). 2010-03-24 18:06:28 -03: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
1a80c8fcf8 Replaced \n to 
 entity (because now we use TinyXml parser). 2010-01-31 23:42:45 +00:00
David Capello
017ece697f Now XML files are loaded with tinyxml library 2009-12-16 23:24:57 +00:00
David Capello
2d5e227a5f Replaced "M" label with "MB". 2009-10-09 02:22:49 +00:00
David Capello
c56cad63e9 Fixed usability issues in the file-selector dialog. 2009-08-09 21:50:26 +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
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
8d5f265103 Added support for tiled-mode in X or Y axis only. 2009-03-09 00:05:37 +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
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
2e10ec3e21 Version 0.6b2 released.
Minor fixed and changes for the new release.
2008-05-06 15:22:57 +00:00
David Capello
3ce0a8fc85 Fixed the duplication of background layer: the flags aren't copied.
Minor changes.
2008-05-05 04:45:17 +00:00
David Capello
837cf39c54 Added the new Animator Editor.
Other minor changes & refactorings.
2008-04-27 20:27:06 +00:00
David Capello
215fd7dbd0 Added the jumble tool. 2008-04-14 17:56:38 +00:00
David Capello
f4b4996540 + Added the JPEG options dialog box.
+ Fixed some convolution matrices.
+ Fixed editors_draw_sprite_tiled & control_tool for tiled mode in
  transparent layers (non-Background).
+ Added gfxobj_id.
- Removed referenced stock (replaced with the ImageRef structure).
+ Fixed the whole 'target' stuff between effects and target_button.
+ Fixed app_get_fg_color & app_get_bg_color to return the black color
  instead of mask when a `Background' layer is actived.
+ Added get_color_for_layer & fixup_color_for_layer.
2008-04-12 03:09:53 +00:00
David Capello
19070bbfc1 2008-03-27 16:58:14 +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
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
David Capello
2aea148245 Fixed file_size_ex and outportw usage in Linux. 2008-01-31 18:48:58 +00:00
David Capello
dc6d0467ac 2008-01-21 21:54:22 +00:00
David Capello
7fe8991db2 Modified the way that GUI manager (jmanager) controls the message-loop. 2008-01-07 11:45:02 +00:00
David Capello
37be418a5a Added some of the new script functions (NewSprite, LoadSprite,
SaveSprite, SetSprite, NewLayer)
2007-12-13 15:55:01 +00:00
David Capello
ece7c72b0f Added ase_uint8, ase_uint16, ase_uint32 2007-12-11 20:05:18 +00:00
David Capello
d87b0dc8ff Added jwidget_set_max_size.
Modified some dialogs for a better look.
Fixed the interactive movement of the layer.
2007-12-06 20:05:32 +00:00
David Capello
c8db258b00 Added background color to sprite.
Renamed FileType to FileFormat.
Moved ase/jinete/src to ase/src/jinete.
Moved ase/jinete/include to ase/src/jinete.
Moved ase/jinete/freetype to ase/third_party/freetype.
2007-12-05 01:30:50 +00:00
David Capello
df0104734f Added libjpeg in the repository.
Fixed some bugs in the GUI system.
Added tabs, and removed the list-menu.
2007-11-28 14:19:36 +00:00
David Capello
2ea9551ce1 Renamed frpos -> frame. Added operations to handle frames and cels. 2007-11-19 14:23:15 +00:00
David Capello
40e3a27ce7 Header of all files updated 2007-11-16 18:25:45 +00:00
David Capello
3932753b38 More scripts removed. Better file-selector 2007-11-15 03:49:58 +00:00
David Capello
ce25bfaac4 Added all mask/selection commands.
Added all commands to select a tool.
Fixed a bug when setting the grid.
The about dialog shows AUTHORS.txt
2007-09-30 15:32:21 +00:00
David Capello
57e978b102 Moved everything to trunk 2007-09-18 23:57:02 +00:00