Commit Graph

98 Commits

Author SHA1 Message Date
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
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
440792dcd1 Optimized the routines to handle 'dirty' data structure 2008-02-13 01:55:07 +00:00
David Capello
82417c7aee Fixed flickering effect in the file-view widget. 2008-02-12 12:34:56 +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
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
33cde18bf1 Added JMutex, lock_current_sprite, and locked & mutex fields for Sprite.
Added readable/writable buttons in the Film Editor. Added forbidden cursor.
Fixed some bugs in editors_draw_sprite_tiled and cmd_configure_tools.
2008-01-23 16:16:43 +00:00
David Capello
dc6d0467ac 2008-01-21 21:54:22 +00:00
David Capello
1ee483cc28 Fixed some problems with focus (when close menus and windows). 2008-01-20 22:38:21 +00:00
David Capello
dfae80457b Fixed problems with the brush-cursor drawing code. 2008-01-13 20:49:02 +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
6fcea92d7b Fixed a problem with popup-menus. 2008-01-06 19:30:17 +00:00
David Capello
cbcc6953b4 Added goto_*_frame & play_animation commands. With this the 'Preview'
uses the same keys to move through frames that are specified in gui.xml
2008-01-05 18:32:12 +00:00
David Capello
d2be70c242 Added 'is_processing' in 'Base' structure to avoid sending menu-messages when there're menu-messages in the queue. 2008-01-05 18:08:12 +00:00
David Capello
8c2ebdfee4 Removed the IDLE message.
Added a lot of asserts (in the GUI code mainly).
2008-01-03 23:22:04 +00:00
David Capello
bbdd7a3f83 Now screen shots are generated directly in PNG format. 2007-12-19 20:09:27 +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
1851db4ac7 Fixed a problem when saving non-indexed images (reported by Trent Gamblin) 2007-12-09 01:52:58 +00:00
David Capello
9b755b2834 Fixed src/widgets/editor/editor.c 2007-12-06 21:32:44 +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
d1c38d7dfe Removed a lot of GUI functionality for scripting.
Added support to save PNG files.
Added alternative dirty rectangles technique to Jinete.
2007-12-06 03:00:10 +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
b8b0fc598a Better graphics resolution selection by default 2007-11-28 17:50:16 +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
4c980d3e46 Better focus handling in a new window. 2007-11-25 01:26:53 +00:00
David Capello
c059b77958 Added "Configure Screen" command. 2007-11-24 18:23:53 +00:00
David Capello
35f50b6d73 Added more directories to find data in UNIX like systems. 2007-11-19 16:10:00 +00:00
David Capello
429d6a83ef Renamed "frame" to "cel" 2007-11-16 20:49:40 +00:00
David Capello
8bbd7736fe Clarified "COMPILATION" section 2007-11-14 21:22:28 +00:00
David Capello
89e2452ed0 More commands transformed from Lua code to C 2007-11-09 04:10:19 +00:00
David Capello
36f861ddd7 Removed src/dialogs/effect/*.c 2007-11-08 00:54:31 +00:00
David Capello
0acca25989 Added "new_frame" command. Renamed writeable to writable. 2007-10-08 02:20:57 +00:00
David Capello
a1b9a6844b Added crop tool. 2007-10-04 02:44:09 +00:00
David Capello
c1879f7c07 Added sprite_properties command. 2007-09-30 16:04:18 +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
a198e43b7e Added "save_file_as" and "options" commands.
Added some dirty tricks to handle the mouse capture in Windows.
2007-09-27 20:13:06 +00:00
David Capello
a68a9e2e56 Added cmd_drawing_tools.c.
Fixed some errors with double memory free (from 'menuitems' and from 'commands').
Added the four main commands for the editor of sprites (close_editor, make_unique_editor, split_editor).
2007-09-27 18:02:23 +00:00
David Capello
670d468252 Added command_execute_open_file.
Removed jmanager_dispatch_draw_messages.
Fixed wheel behavior in the editor (only when the editor is in standby state).
Replaced scare/unscare_mouse jmouse_hide/show. Renamed ji_mouse -> jmouse.
Added command_execute_close_file
2007-09-26 19:34:06 +00:00
David Capello
8d94d16c0b Added all the "Command" stuff. 2007-09-23 20:13:58 +00:00
David Capello
a880a41ead Fixed display_switch_in_callback 2007-09-20 00:43:05 +00:00
David Capello
e82167b340 Added double-buffering for GUI, and PNG support 2007-09-20 00:32:35 +00:00
David Capello
57e978b102 Moved everything to trunk 2007-09-18 23:57:02 +00:00