David Capello
752faf11f2
Remove jmouse_[xyz]() functions
2014-11-25 22:10:28 -03:00
David Capello
376fd0a23c
Remove jmouse_b() function
2014-11-25 22:01:36 -03:00
David Capello
0a7bbfba6b
Add PaletteIndexChangeEvent for PaletteView::IndexChange event
...
This was added to avoid deprecated jmouse_b(0) function
in ColorBar::onPaletteIndexChange().
2014-11-25 21:51:06 -03:00
David Capello
a35c32dcfe
Rename jmouse_hide/show() to ui::hide/show_mouse_cursor()
2014-11-25 21:35:06 -03:00
David Capello
b74262e36e
Remove jmouse_is_hidden() and jmouse_is_shown() functions
2014-11-25 21:32:22 -03:00
David Capello
d9ed3c2348
Rename jmouse_[gs]et_cursor() to ui::[gs]et_mouse_cursor()
2014-11-25 21:30:56 -03:00
David Capello
4920179143
Merge branch '1.0'
...
Conflicts:
src/ui/manager.cpp
2014-11-25 21:23:02 -03:00
David Capello
83ee0bf45d
SelectAccelerator: Focus the KeyField after any modification is done
...
E.g. if a modifier checkbox is pressed, we want the keyboard focus back
to the KeyField (which is the only interesting field)
2014-11-25 20:29:26 -03:00
David Capello
8514f02ee4
Fix #543 crash adding keyboard shortcuts to menu items without associated app::Key
2014-11-25 20:06:48 -03:00
David Capello
badccf0847
Generate kKeyDownMessage for Cmd key correctly
v1.0.7.1
2014-11-25 05:55:22 -03:00
David Capello
f1cd3bbbe2
Merge branch '1.0'
...
Conflicts:
src/app/ui/editor/standby_state.cpp
src/app/ui/editor/tool_loop_impl.cpp
2014-11-24 21:53:10 -03:00
David Capello
82cc87d9be
Redraw transformation handles when the quick tool is changed
v1.0.7
2014-11-24 21:15:59 -03:00
David Capello
a00a3b2a83
Fix crash changing ConfigureTools options when activeDoc == NULL
2014-11-24 20:52:52 -03:00
David Capello
2de3f7caff
Fix crash when other app prevent us to recreate the primary DirectDraw surface ( fix #542 )
2014-11-24 20:24:28 -03:00
David Capello
3437c49f0b
Add opacity to grid and grid pixel ( close #58 )
2014-11-24 19:13:25 -03:00
David Capello
4fc28d5639
Add zoom out (related to issue #33 )
...
Before the zoom was handle as a bits shift (scaled = value << zoom),
now the zoom is a fraction (scaled = value * zoom.num / zoom.den).
Changes:
* Add Zoom class to apply/remove zoom factor
* Split merge_zoomed_image template function into
merge_zoomed_image_scale_down and merge_zoomed_image_scale_up
to handle the special case where zoom.num/zoom.den < 1.0
2014-11-24 17:18:30 -03:00
David Capello
80501899ca
Change errors UI related to locked/hidden layers to status bar tips
...
This was mainly done for Ctrl+click, so when we try to move the
Background layer, we avoid an annoying message box.
2014-11-24 11:50:02 -03:00
David Capello
17b0bee0ae
Refactor: Use gfx::Point in several places instead of two x,y integers
...
Changes:
* Add doc::Sprite::bounds()
* Use gfx::Point to store the doc::Cel position
* Replace "int x, int y" with a "const gfx::Point&" param
* Fix Mask::intersect(const gfx::Rect&) and Mask::crop(const Image*)
2014-11-24 00:09:22 -03:00
David Capello
3e1c1fb219
Merge pull request #536 from jjconti/patch-2
...
2nd little fix in README
2014-11-20 22:18:46 -03:00
David Capello
4578973976
Merge pull request #535 from jjconti/patch-1
...
Little fix in README
2014-11-20 22:18:27 -03:00
Juan José Conti
a9f6eba556
Little fix 2
2014-11-20 22:09:22 -03:00
Juan José Conti
9c1a5a5656
Little fix
2014-11-20 22:07:53 -03:00
David Capello
934c9c3fe9
Merge branch '1.0'
2014-11-20 21:48:13 -03:00
David Capello
3645ffe2a5
Change Alt modifier to Shift+Alt to substract selection
...
This is to avoid conflicts with the eyedropper tool, which can be used
to change the background color.
2014-11-17 07:23:48 -03:00
David Capello
cc889f2b2f
Minor refactor to doc::Layer flags
2014-11-16 23:03:30 -03:00
David Capello
9bcc552129
Add override modifier to getMemSize() in doc::Object's sub-classes
2014-11-16 21:32:18 -03:00
David Capello
acfe155b24
Merge branch '1.0'
...
Conflicts:
src/app/color_picker.cpp
src/raster/sprite.h
2014-11-16 18:59:30 -03:00
David Capello
c64ee5729b
Add "Auto Select Layer" check box to Move Tool ( close #527 )
2014-11-16 18:33:31 -03:00
David Capello
c0078809f7
Merge branch '1.0'
...
Conflicts:
data/gui.xml
src/config.h
src/main/resources_win32.rc
2014-11-16 13:26:02 -03:00
David Capello
7b4cd3e136
Re-add Ctrl+Q for Windows and Linux
2014-11-16 12:30:06 -03:00
David Capello
d0f97260fc
Avoid regenerating Document's extral cel when we're moving pixels ( fix #522 )
...
As PixelsMovement class uses the extra cel to show the pixels that we're
moving, we cannot show brush previews of quicktools (as the brush preview
uses/destroy/regenerate the same extra cel for its own purpose).
2014-11-15 19:57:03 -03:00
David Capello
0b13e53c67
Fix several issues with keyboard shortcuts customization
...
Changes:
* Now default action modifiers can be removed (fix #521 )
* Now action modifiers have a KeyContext (the key context depend on the
action itself, cannot be configured by the user)
* Fix Accelerator::check() and Accelerator::operator=() when the unicode
char and scancode are nil (i.e. we are comparing only modifiers)
* Convert Accelerators to a class to simplify code
* Remove unused variables in Accelerator::check() when REPORT_KEYS is
defined
2014-11-15 18:31:12 -03:00
David Capello
bee4e64e38
Add NewFrameCommand::onGetFriendlyName() to differentiate "New Empty Frame" from "New Frame"
2014-11-15 15:47:21 -03:00
David Capello
3ba3b48fd7
Fix crash using eyedropper above a (hidden) selection handle
...
We need to be in a Selection ink to start moving pixels from transform
handles.
2014-11-13 11:23:45 -03:00
David Capello
497f0ffee0
Update version 1.0.7-dev
2014-11-13 11:12:25 -03:00
David Capello
228d1e39e6
Update gui.xml and resources_win32.rc versions
2014-11-12 23:35:14 -03:00
David Capello
24cbb32236
Update version to 1.1.0-dev
2014-11-12 23:20:43 -03:00
David Capello
aefdf2fd4b
Merge branch '1.0'
...
Conflicts:
src/app/document.cpp
2014-11-12 23:20:27 -03:00
David Capello
8fc01593f7
Fix position of the pasted image
v1.0.6
2014-11-12 11:32:18 -03:00
David Capello
ae9e2d173b
Deselect timeline range when we modify sprite selection
...
Fix a problem selecting one cel in the timeline, using Ctrl+A and then
Ctrl+C to copy the whole image area. (This indicates that the user want
to copy the cel content, not the timeline cel.)
2014-11-12 11:24:26 -03:00
David Capello
0fc02cf180
Fix initialization order of DocumentExporter fields
2014-11-10 22:49:08 -03:00
David Capello
16be1718b5
Fix clang compiler error: missing <stdexcept> to use std::runtime_error
2014-11-10 22:48:40 -03:00
David Capello
1ed34660e4
Merge branch '1.0'
2014-11-09 20:12:57 -03:00
David Capello
cb45e046f5
Change default JSON file names in DocumentExporter
2014-11-09 20:01:47 -03:00
David Capello
f1165ec3bc
Change default file names to save a sequence of images
2014-11-09 20:01:34 -03:00
David Capello
91bd84f681
Now --save-as can be combined with --split-layers and --import-layer args
...
Close #456
2014-11-09 19:46:09 -03:00
David Capello
995c50b811
Merge branch '1.0'
2014-11-08 21:21:45 -03:00
David Capello
c9a7d77879
Update cmake command line options for the supported VS versions
2014-11-08 21:10:29 -03:00
David Capello
6dba52c813
Remove MinGW from INSTALL.md
2014-11-08 21:09:54 -03:00
David Capello
b96d615d6c
Add KeyAction::Left/RightMouseButton (it's quite experimental at the moment)
2014-11-08 21:09:29 -03:00