Commit Graph

1519 Commits

Author SHA1 Message Date
David Capello
44856735be Fix problem using Alt+mnemonic when the focus is inside a Entry widget. 2012-04-15 15:56:47 -03:00
David Capello
8a1295c025 Replace jwidget_check_underscored with Widget::isScancodeMnemonic(). 2012-04-15 15:43:07 -03:00
David Capello
f2f6ba9fca Move jclipboard functions to gui::clipboard namespace. 2012-04-15 15:24:26 -03:00
David Capello
7d0bed8341 Refactor jmanager to gui::Manager class. 2012-04-15 15:21:24 -03:00
David Capello
1f787e0dcb Replace jmanager_*timer functions with a Timer class. 2012-04-07 13:12:01 -03:00
David Capello
777e276632 Refactor: Change jseparator widget to Separator class. 2012-04-05 23:34:42 -03:00
David Capello
38b5e35351 Refactor: jtextbox widget to TextBox class. 2012-04-05 23:28:05 -03:00
David Capello
f6f6225b1a Minor changes in box.cpp and image_view.cpp 2012-04-05 23:21:31 -03:00
David Capello
46bc974d3b Refactor: Convert jlistbox and jlistitem to ListBox and ListBox::Item classes. 2012-04-05 23:19:32 -03:00
David Capello
aa0555e662 Rename panel widget to Splitter class. 2012-04-05 19:39:09 -03:00
David Capello
390c0136ad Update version of gui.xml file. 2012-04-05 19:35:14 -03:00
David Capello
f8f52f75fa Refactor: replace jwidget_magnetic/expansive/decorative/focusrest with member functions of Widget class. 2012-04-05 19:00:19 -03:00
David Capello
37d9a3d636 Vesion 0.9.2-dev 2012-04-05 18:14:41 -03:00
David Capello
55a4002ec5 Add posibility to scroll by-tiles using Ctrl+arrow keys (Paul Pridham idea).
+ Added ScrollCommand.
2012-04-04 00:49:13 -03:00
David Capello
0ac28c69f0 Update loadpng code from its latest version from Allegro SVN repository (new license: zlib). 2012-03-24 11:55:26 -03:00
David Capello
ec2ae4c261 Minor changes. 2012-03-23 11:44:10 -03:00
David Capello
2fc722a30b Add new source distribution in dist.sh without 3rd party code. 2012-03-22 19:03:58 -03:00
David Capello
58f5bbd4c0 Don't compile raster/path.cpp so libart header files are not required. 2012-03-22 19:01:05 -03:00
David Capello
799065ccb5 Now internal libpng header files are not required anymore by loadpng and png_format.cpp. 2012-03-22 19:00:20 -03:00
David Capello
cb3fc67c0d Include CheckCSourceCompiles module to use CHECK_C_SOURCE_COMPILES. 2012-03-22 15:12:26 -03:00
David Capello
ea7b4de213 Merge branch 'master' of git@github.com:dacap/aseprite.git 2012-03-22 15:08:13 -03:00
David Capello
2ae5fc613b Fix problems with 100% CPU usage, thanks to Tobias Hansen (issue #47).
Based on the Gernot Frisch idea.
2012-03-22 15:07:03 -03:00
David Capello
25884b0fb7 Add base::Chrono class. 2012-03-22 15:04:36 -03:00
David Capello
fffc32548a Implement base::this_thread::yield & sleep_for(). 2012-03-22 15:04:08 -03:00
David Capello
ad9a5fde7a Add run_non_ui_unittests target to run tests that doesn't require X11 environment (thanks to Tobias Hansen). 2012-03-22 14:55:28 -03:00
David Capello
dfb43845a9 Updated src/allegro/src/config.c isn't necessary from Allegro 4.2.0.
ASEPRITE requires the following patch in config.c is:
http://alleg.svn.sourceforge.net/viewvc/alleg?view=revision&revision=4660
2012-03-22 13:31:40 -03:00
David Capello
c2874a063c Avoid "Multiple Entries" label in Palette Editor when we mean "No Entry". 2012-03-21 23:57:52 -03:00
David Capello
d752d19742 Fix problem pressing some keyboard shortcuts in popup windows.
With this change we fix problems copying & pasting values in ColorSelector
text entries.
2012-03-21 23:14:11 -03:00
David Capello
0b19612860 Fix problem dropping files when a popup window is opened. 2012-03-21 19:56:39 -03:00
David Capello
c47ac99d86 Add ability to copy & paste colors with the palette editor. 2012-03-21 19:22:32 -03:00
David Capello
6249d617d8 Add Palette::MaxColors constant. 2012-03-21 19:22:11 -03:00
David Capello
b2288cc7fb Add a TODO item about commands. 2012-03-21 18:23:58 -03:00
David Capello
35fa47970e Change HSV to HSB to match the ColorSelector widget. 2012-03-21 14:42:12 -03:00
David Capello
f0ae57836f Minor change in about. 2012-03-21 14:41:48 -03:00
David Capello
1ed9b8782f Fix problem of "multiple entries" selected in ColorBar::onColorButtonChange() when the user picks the same color. 2012-03-21 14:41:37 -03:00
David Capello
6bd39e0aff Make Widget::update_region member private.
+ Renamed jwidget_flush_redraw to Widget::flushRedraw().
2012-03-20 16:24:46 -03:00
David Capello
01b6afb531 Replace jwidget_scroll with Widget::scrollRegion(). 2012-03-20 16:13:37 -03:00
David Capello
2e87676d70 Now Shift+V works correctly when we are moving pixels. 2012-03-20 14:41:20 -03:00
David Capello
a27d1d3eeb Remove deprecated dialogs: drawtext.cpp, playfli.cpp, repo.cpp. 2012-03-20 13:23:59 -03:00
David Capello
f1180e7a71 Fix issue #89 "Menu key causes crash".
We've to check the keycode returned by readkey(), it must be in
the [0,KEY_MAX) range.
2012-03-19 21:05:04 -03:00
David Capello
7771d3fb17 Fix issue #82 "visible artifacts while dragging selection".
Also improved the redrawing of the moved selection (redrawing
only the selection bounds instead of the whole sprite).
+ Added TransformHandles::invalidateHandles;
+ Added Widget::invalidateRect(const gfx::Rect&);
2012-03-19 20:48:08 -03:00
David Capello
be82a49f86 Add option to compile using shared gtest library (thanks to Tobias Hansen). 2012-03-19 14:33:49 -03:00
David Capello
c6ad4a94c1 Fix find_library/path to find shared libcurl (thanks to Tobias Hansen) 2012-03-19 14:29:54 -03:00
David Capello
ae8d26bedf Replace find_library/path of giflib with find_package (thanks to Tobias Hansen). 2012-03-19 14:29:29 -03:00
David Capello
7befb6c830 Include ASEPRITE net library only when the updater is enabled. 2012-03-19 14:28:06 -03:00
David Capello
49614f6f41 Always add third_party/libpng to include directories (thanks to Tobias Hansen).
Because private libpng headers are used by loadpng and
src/file/png_format.cpp.
2012-03-19 14:27:00 -03:00
David Capello
7115806dc4 Create option to build with shared tinyxml (thanks to Tobias Hansen). 2012-03-19 14:04:24 -03:00
David Capello
d2b11dda2b Minor change in src/CMakeLists.txt 2012-03-19 13:24:34 -03:00
David Capello
c4c44bf7e2 Add support to compile with shared Allegro 4 library. 2012-03-19 13:24:15 -03:00
David Capello
9c37384d3b Windows XP is the minimum supported platform. 2012-03-16 22:22:56 -03:00