David Capello
2ffe54584a
Fix gcc problem using std::stream with forward-declarations only without including <sstream>.
2012-07-18 08:59:31 -03:00
David Capello
525851e6a1
The color bar is now resizable.
...
- Added Splitter::Type so it can be by pixel or by percentage.
- Added Widget::load/saveLayout functions and Widget::onLoad/SaveLayout
events.
- Added LayoutIO interface so we can delegate the serialization of the
layout.
2012-07-18 01:10:43 -03:00
David Capello
25fc113c37
Fix issue #142 : Crash keeping a key pressed while we're en menu logic.
...
We cannot send another Menu::closeAll() request if we are processing
other open/close popup requests. This also fix a crash if we keep the left
or right key pressed to navigate through menus.
2012-07-17 23:18:43 -03:00
David Capello
8764f018c7
Minor change in menu.cpp.
2012-07-17 23:01:05 -03:00
David Capello
5da37e237b
Fix a bug introduced in aseprite 0.9.2, commit 8a1295c0250d1cbb7982220931262458b1ceed8c.
...
Widget::getMnemonicChar() can return 0, and we should pre-check this
value before we compare the mnemonic with the pressed ascii char.
2012-07-17 23:00:55 -03:00
David Capello
b090629897
Fix for issue #143 : Do not call FileList::setCurrentFolder() with start_folder = NULL.
...
It's strange why start_folder could be NULL in this case, but there is
a chance that FileSystemModule::getFileItemFromPath() fails and returns
NULL.
2012-07-17 22:12:41 -03:00
David Capello
14f24b1181
Refactor: replace JList with std::vector<> or std::list<>.
2012-07-17 21:42:02 -03:00
David Capello
f8f5b2b515
Fix problems with double main definition on Linux.
2012-07-16 13:15:44 -03:00
David Capello
617dd014d4
Fix file_unittest.cpp to use she library instead of ScopedAllegro.
2012-07-16 13:15:24 -03:00
David Capello
cf90dbd734
Merge remote-tracking branch 'origin/master'
2012-07-15 02:06:27 -03:00
David Capello
8dd42cc653
Fix problems with printf-like functions using %d with size_t fields (instead of %lu).
2012-07-15 02:02:29 -03:00
David Capello
07a8b18955
Fix compilation error with gcc 64 bit converting void* to int.
2012-07-15 00:58:46 -03:00
David Capello
35f1249662
Add "she" layer.
...
This is the starting point to create a layer to isolate Allegro access.
In the future, we will be able to switch to SDL or Allegro 5 easily.
Anyway this will be a progressive refactoring.
2012-07-14 16:55:16 -03:00
David Capello
6caaca8179
Advance to 0.9.4-dev version.
2012-07-11 18:32:07 -03:00
David Capello
5d26b90276
Implement issue #129 - Return to frame/layer where action is undone.
0.9.3
2012-07-10 18:26:08 -03:00
David Capello
1b9048f17a
Fix frame number shown in FrameProperties.
2012-07-09 18:41:32 -03:00
David Capello
e1fb3099b4
Fix error in FrameProperties: setting the text to "window" instead of "frame" widget.
2012-07-09 18:37:55 -03:00
David Capello
8e7b16c3b1
Add MessageLoop to avoid 100% CPU in foreground windows.
2012-07-09 18:31:06 -03:00
David Capello
5529c62c9f
Use a std::list instead of a std::vector for timers list.
2012-07-09 18:30:13 -03:00
David Capello
9e9f88b7b7
Add a note in INSTALL.md about profiling.
2012-07-09 18:29:36 -03:00
David Capello
846fbff4a7
Fix compilation errors in GCC.
2012-07-09 17:36:45 -03:00
David Capello
3ae32bf0b6
We cannot use FrameNumber in printf-like functions.
2012-07-09 17:36:02 -03:00
David Capello
01aef4d8a3
Update the quickref for v0.9.3.
2012-07-09 13:55:32 -03:00
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