Commit Graph

9604 Commits

Author SHA1 Message Date
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
cf3521dfe8 Fixed some bugs in merge-down & crop commands using the Background layer. 2008-05-05 04:03:31 +00:00
David Capello
c8b3c4ff67 Removed generated files. 2008-05-05 02:23:08 +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
369b57f074 Unix text format 2008-04-28 16:32:45 +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
8908d25e07 Fixed New Frame: now it copies the entire Cel of the previous frame.
Fixed bugs when undo cels with offset < 0,0 (because the sign wasn't being saved)
2008-04-14 03:05:19 +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
bc95527cbf Fixed the soften-ink for transparent layers. 2008-03-29 20:02:42 +00:00
David Capello
714f7b062c Fixed the soften-ink to support tiled mode. 2008-03-29 14:45:43 +00:00
David Capello
c090bde1ee Renamed filedata to format_options 2008-03-29 04:35:30 +00:00
David Capello
eb26972a11 Renamed filedata to format_options 2008-03-29 04:24:36 +00:00
David Capello
1a74066f1e 2008-03-29 03:44:24 +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
0ffbf5164c Fixed a problem to load the root element in a Unix like file-system 2008-03-28 02:55:15 +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
c1a6959e6b Modified the undo implementation 2008-03-23 02:08:06 +00:00
David Capello
d2944d5def Added raster/palette.[ch] (duh) 2008-03-22 21:44:03 +00:00
David Capello
bec33706bf Color-bar now support palette-range. 2008-03-22 20:13:05 +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
030a9694b6 Added fileitem_get_keyname. Fixed get_key_for_pidl. 2008-02-18 23:37:57 +00:00
David Capello
2b81efabb4 Added fileitem_get_keyname 2008-02-18 23:37:04 +00:00
David Capello
39184d3286 Minor changes to start in the correct folder specified by the config variable CurrentDirectory 2008-02-18 23:36:34 +00:00
David Capello
ccae3704f4 Fixed 'broadcast_key_msg' when generate the list of widgets to receive the message. 2008-02-18 23:35:44 +00:00
David Capello
257b25001a Fixed: the window is freed. The tooltip disappear when the user press a key. 2008-02-18 23:33:48 +00:00
David Capello
74686e9bb6 2008-02-18 23:32:04 +00:00
David Capello
1a1ace16b1 Simplified the 'preview' generation process 2008-02-18 23:31:38 +00:00
David Capello
1ab947b4f1 Added an assertion to test if get_fileitem_from_path returns the same pointers for the same path. 2008-02-18 23:30:32 +00:00
David Capello
bd851fdeca Minor changes 2008-02-18 23:29:35 +00:00
David Capello
04d0f50dfb 2008-02-17 21:06:37 +00:00
David Capello
7a4486a8f0 More optimizations. 2008-02-13 11:32:19 +00:00
David Capello
440792dcd1 Optimized the routines to handle 'dirty' data structure 2008-02-13 01:55:07 +00:00
David Capello
d304eaac04 The GFLI third_party was moved to src/file/fli 2008-02-12 15:56:47 +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
a71cec8514 Added src/file/fli directory. 2008-02-12 12:40:46 +00:00
David Capello
82417c7aee Fixed flickering effect in the file-view widget. 2008-02-12 12:34:56 +00:00
David Capello
82f6bb405b File removed 2008-02-12 12:16:24 +00:00
David Capello
11d7c54da5 Fixed a bug when loading some broken-GIF (the 'lzw_write_pixel' routine was called with pos < 0). 2008-02-11 02:05:29 +00:00
David Capello
7939776b94 Fixed a bug when loading some broken-GIF (the 'lzw_write_pixel' routine was called with pos < 0). 2008-02-11 02:04:33 +00:00
David Capello
a408d8917b Removed USE_PRECOMPILED_HEADER option. 2008-02-11 01:56:20 +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
112bde13c8 Added 'monitor_free' (to join threads after exit the program or cancel the loading process) 2008-02-10 19:02:53 +00:00
David Capello
378812a8cb Added an exit_hook (using 'add_gui_exit_hook') to avoid a memory leak (anyway it's at the end of the program, so it wasn't a problem). 2008-02-10 19:01:35 +00:00
David Capello
0e6ae3da5c Added memory-information when MEMLEAK is activated. 2008-02-10 19:00:14 +00:00
David Capello
f7083246cf Fixed some memory leaks 2008-02-10 18:59:08 +00:00