Commit Graph

1887 Commits

Author SHA1 Message Date
David Capello
7d1df59370 Win32: Show filename with extension instead of display name for files.
If the user has the "hide extensions for known file types" option
selected in Windows Explorer, the display name will not contain the
file extension, so it's better to use the filename (with extension)
directly.
2012-07-09 13:49:08 -03:00
David Capello
420a46f689 Fix issue #44 - Problems browsing files when "hide extensions for known file types" is enable.
As IShellFolder::GetAttributesOf() method returns attributes that are
common to all of the specified items, we cannot request attributes for
several items at the same time, so we've to request them one by one for
each item.
2012-07-09 13:46:14 -03:00
David Capello
cd23721a97 Add MainWindow & MainMenuBar, and replace rootmenu module with AppMenus class.
Also the ToolBar widget was published in the toolbar.h header file.
2012-07-09 13:20:58 -03:00
David Capello
91bf74350e Rename ui::Frame to ui::Window. 2012-07-08 23:24:42 -03:00
David Capello
a35aa7559a Do not use the embedded libloadpng.
Add the option to use a shared libloadpng library.
Patch by Tobias Hansen <tobias.han@gmx.de>
2012-07-08 21:21:01 -03:00
David Capello
c3030b9daa Add FrameNumber type. 2012-07-08 21:09:09 -03:00
David Capello
ac3ad1fbc2 Fix typo in TODO.md 2012-07-08 01:51:43 -03:00
David Capello
a290f45d34 Remove an empty line in TODO.md 2012-07-08 01:49:12 -03:00
David Capello
40f65b2e8a INSTALL.md: It looks like github needs 5 spaces to recognize code blocks. 2012-07-08 01:46:51 -03:00
David Capello
c9dea5abd9 Fix indentation of code blocks in INSTALL.md 2012-07-08 01:42:47 -03:00
David Capello
e7b6bed596 Move INSTALL.txt to INSTALL.md 2012-07-08 01:41:14 -03:00
David Capello
3124a9403f Move TODO.txt to TODO.md (and added some items). 2012-07-08 01:30:50 -03:00
David Capello
594a272c06 Add DocumentUndo to avoid app specific data in the undo library.
The UndoHistory was simplified, m_enabled/label/modification members
were removed because they aren't part of the undo library goal.
Now the "label" field is part of Open/CloseGroup undoers, and all undoers
must be enclosed in a group (this restriction is only for the app, the
undo library doesn't have this restriction). In this way, the
label/modification information is exchanged between an
OpenGroup <-> CloseGroup pair only.
2012-07-08 01:25:26 -03:00
David Capello
160bf5ba0a Change Undoer::getMemSize() to return size_t instead of int and added UndoConfigProvider.
UndoConfigProvider is useful to avoid a direct dependency of undo
library with Allegro.
2012-07-07 16:57:07 -03:00
David Capello
73af9f1c3a Fix issue #130 - converting to grayscale wasn't adding an undoer to revert the new grayscale palette. 2012-07-07 14:20:43 -03:00
David Capello
9b9daca59f Add "LockAxis" key (Shift) to move the selection in X or Y axis only.
Now "Alt" modifier is the key used to snap to grid the selection.
2012-07-06 19:51:40 -03:00
David Capello
11d20a6e33 Add links to README file and Twitter account in Help menu. 2012-07-06 19:26:36 -03:00
David Capello
ebb8d0c5bd Replace deprecated "Monitor" struct from gui module with ui::Timers.
- Added ThumbnailGenerator class to avoid mixing the thumbnail generation
  code with FileList widget.
- Added IFileOpProgress for fop_operate() so we can update the job progress
  when the "file operation" progress changes.
2012-07-06 01:06:00 -03:00
David Capello
09ecf4c588 Remove src/widgets/editor/click.cpp and Editor::editor_click* member functions. 2012-06-17 22:58:31 -03:00
David Capello
51df7a3af6 Rename src/widgets/statebar.[cpp/h] to src/widgets/status_bar.[cpp/h]. 2012-06-17 22:56:40 -03:00
David Capello
55aca8567c Move src/gui/ to src/ui/ 2012-06-17 22:49:58 -03:00
David Capello
14dd4e7ae2 Add GUI library stuff into "ui" namespace (now ui-lib). 2012-06-17 22:02:54 -03:00
David Capello
6f91238264 Add support to load/save GIMP palettes (.gpl files). Issue #112. 2012-06-16 17:50:52 -03:00
David Capello
3835af7ff0 Fix bug with Export Sprite Sheet when the cel is bigger than the sprite's size. 2012-06-16 13:40:13 -03:00
David Capello
57d5748cfe Remove deprecated types (jstream, MessageFunc, JDrawFunc). 2012-06-16 00:51:25 -03:00
David Capello
4afe591c54 Fix TooltipManager: we cannot handle filtered message with the normal Widget::onProcessMessage() handler.
If we use the Widget::onProcessMessage() handler for filtered messages,
key-pressed messages would be handled by the Manager before the
focused widget.
2012-06-16 00:48:29 -03:00
David Capello
42bb192a24 Remove commented code from combobox.cpp. 2012-06-16 00:08:05 -03:00
David Capello
8c13c32ac0 The combobox button isn't a focus stop. 2012-06-16 00:06:54 -03:00
David Capello
a74b9d89a0 Remove JWidget type (replaced with Widget*). 2012-06-16 00:05:01 -03:00
David Capello
fa0bf031e2 Add support to load <textbox> widgets from .xml files. 2012-06-16 00:03:27 -03:00
David Capello
02e8c66da4 Remove signals and hooks in GUI code.
Several refactoring tasks where made:
- Removed the old Widget::id field (JID).
- Renamed Widget::get/setName to get/setId.
- Moved load_widget_from_xmlfile() to app::load_widget and WidgetLoader
  class.
- Removed jhook structure & jwidget_add_hook function. Hooks were replaced
  subclassing widgets.
- Added InitThemeEvent class and Widget::onInitTheme member function.
2012-06-15 23:37:59 -03:00
David Capello
b599f0f85a Fix regression bug introduced in 0.9.2: ENTER/TAB/ESC keys didn't work in ListBox widget. 2012-06-15 22:34:50 -03:00
David Capello
805a0333d7 Fix a problem not showing the "modified" state in tabs correctly after the first DrawingState. 2012-06-15 21:55:32 -03:00
David Capello
3bbf7af991 Rename layer_new_flatten_copy() to create_flatten_layer_copy() and moved to src/flatten.cpp file. 2012-06-08 21:34:53 -03:00
David Capello
1029792a25 Update gui.xml file to 0.9.3-dev. 2012-05-27 21:10:50 -03:00
David Capello
42452c93d2 Rename misc/ to scripts/ 2012-05-20 21:00:44 -03:00
David Capello
3ac0a9db85 Merge branch 'master' of git@github.com:dacap/aseprite.git 2012-05-20 20:55:42 -03:00
David Capello
ba58d839df Add create_dmg.sh script to create .dmg packages. 2012-05-20 20:54:34 -03:00
David Capello
33af9dc5b7 Change to 0.9.3-dev version. 2012-05-20 12:25:05 -03:00
David Capello
b208750112 Add script to upload packages. 2012-05-20 12:07:23 -03:00
David Capello
1c24de00a8 Generate README.html from README.md in dist.sh. 2012-05-20 11:32:13 -03:00
David Capello
5e94f9193c Fix issue #100 - hue is lost when saturation or value is set to 0.
This was fixed only when one entry is selected in the color-bar.
When several entries are selected, as only the modified component
(hue/saturation/value) is set in all selected entries, and the
behaviour specified in the issue can be reproduced.
2012-05-19 18:41:24 -03:00
David Capello
a45253c43e Add OVERRIDE modifier in ColorSliders subclasses. 2012-05-19 18:38:12 -03:00
David Capello
468d9965b9 Improve HexColorEntry so we can paste hex colors with # symbol (like CSS colors #ff0000). 2012-05-19 18:18:56 -03:00
David Capello
ccb4f11cc3 Add file_unittest.cpp with a basic test to load/save .ase file. 2012-05-19 16:22:55 -03:00
David Capello
6c780db89b Minor and non-important changes in read_compressed_image in ase_format.cpp. 2012-05-19 16:22:18 -03:00
David Capello
338a665cb2 Add the possibility to create bigger images (to the limit of WORD size which is the .ase format limit). 2012-05-19 16:18:20 -03:00
David Capello
608a139449 Fix issue #106 - Trim is not working for certain images.
Two pixels with alpha=0 should be treated as the same color (even when
they RGB values are different).
2012-05-19 15:52:55 -03:00
David Capello
fddb323fdd Merge remote-tracking branch 'origin/master' 2012-05-13 15:43:17 -03:00
David Capello
370cf07414 Fix issue #102 - Error loading file (.ase file).
Z_BUF_ERROR (-5) can be returned by inflate() and deflate() in some cases.
2012-05-12 23:35:20 -03:00