Commit Graph

1557 Commits

Author SHA1 Message Date
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
David Capello
26f637b839 Add support to call verbose_printf() without an initialized App::instance(). 2012-05-12 23:26:37 -03:00
David Capello
78d3b80df3 Add ScopedAllegro class. 2012-05-12 23:25:36 -03:00
David Capello
5963bb96d9 Fix test.h with the new gui::Manager class. 2012-05-12 23:24:06 -03:00
David Capello
bdce2c8b1f Fix licenses URLs in README.md. 2012-05-03 23:06:45 -03:00
David Capello
bbebb041fe Minor formatting changes in README.md. 2012-05-03 23:05:16 -03:00
David Capello
e6021de616 Move README.html to README.md (more github-friendly). 2012-05-03 23:01:45 -03:00
David Capello
37fd3c1d98 Define SEE_MASK_DEFAULT if it is undefined in launcher.cpp. 2012-05-03 21:31:55 -03:00
David Capello
569451fa01 Include gui/intern.h in files that use _ji_theme_textbox_draw. 2012-05-03 21:24:05 -03:00
David Capello
9bd25d2f57 Improve error handling in ase_file_read_cel_chunk() to continue reading the whole file when an invalid zlib chunk is found.
Related to issue #102.
2012-05-03 00:52:39 -03:00
David Capello
9b4621be31 Add FileHandle to avoid manual FILE handle management. 2012-05-03 00:32:40 -03:00
David Capello
97154d5fbc Avoid opened FILE handlers after exceptions in AseFormat member funtions. 2012-05-03 00:09:31 -03:00
David Capello
ade6b0d333 Fix a bug trying to select a color index < 0 when there is no color selected in the palette view. 2012-05-02 23:09:56 -03:00
David Capello
b30d28e920 Use Palette::MaxColors instead of 256. 2012-05-02 23:09:34 -03:00
David Capello
27103a231f Convert group_button widget to ButtonSet class.
- Removed radio_button_new() function.
2012-04-19 20:33:57 -03:00
David Capello
616ec40656 Remove JI_SIGNAL_ENTRY_CHANGE signal. 2012-04-18 22:57:36 -03:00
David Capello
d07cd55245 Remove unused signals. 2012-04-15 16:08:15 -03:00
David Capello
48f0a88d66 Remove jwidget_free() function. 2012-04-15 16:04:03 -03:00
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
94ea65ff4d Fix problem compiling base/thread.cpp in Mac OS X. 2012-04-07 19:30:46 -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