David Capello
ef4934bef2
Remove JM_REQSIZE message
2012-09-26 18:34:52 -03:00
David Capello
44b8822e38
Remove deprecated MessageSignal message
2012-09-26 17:55:41 -03:00
David Capello
0496f38ed3
Fix a typo in all files distributed under BSD-like and Allegro licenses
...
Thanks to Tobias Hansen.
2012-09-23 23:24:43 -03:00
David Capello
23660eb0d1
Fix issue #164 : Palette area visible in Advanced Mode.
...
Instead of switching ColorBar visibility, we've to switch the
Splitter position between the ColorBar and sprite editors.
2012-08-24 18:54:47 -03:00
David Capello
fb5f086f0f
Add "ui::dirty_display_flag" flag to avoid flipping to the screen continuously.
...
This is a temporal fix to save more CPU. It will be refactored for next
versions.
2012-08-23 22:25:56 -03:00
David Capello
c6fe95231d
Convert the mouse cursor into an ui::Overlay (now it support alpha channel).
...
- Added Cursor class and CursorType enum.
2012-08-10 23:14:54 -03:00
David Capello
d7862744b4
Merge branch 'master' of git@github.com:dacap/aseprite.git
2012-08-06 01:20:12 -03:00
David Capello
237bec80f2
Add overlays (ui::Overlay and ui::OverlayManager classes).
2012-08-06 01:17:29 -03:00
David Capello
89cb9d098c
Move some base UI logic to handle the main display from modules/gui.cpp to she library.
2012-08-05 21:16:16 -03:00
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
14f24b1181
Refactor: replace JList with std::vector<> or std::list<>.
2012-07-17 21:42:02 -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
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
846fbff4a7
Fix compilation errors in GCC.
2012-07-09 17:36:45 -03:00
David Capello
91bf74350e
Rename ui::Frame to ui::Window.
2012-07-08 23:24:42 -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
55aca8567c
Move src/gui/ to src/ui/
2012-06-17 22:49:58 -03:00