Commit Graph

1996 Commits

Author SHA1 Message Date
David Capello
77cd0e9cc6 Fix a bug with invalid m_ptr in image iterators when we merge down layers (fix issue 358)
The ImageIteratorT implementation was simplified to avoid invalid m_ptrs.
2014-03-02 17:02:03 -03:00
David Capello
316223cee9 Save [Options]/CheckedBgZoom as bool value 2014-03-01 18:53:00 -03:00
David Capello
6023c62fa0 Update config.h location in create_dmg.sh script 2014-02-24 10:06:45 -03:00
David Capello
da9f9dfd47 Change Mac OS X dmg package name 2014-02-24 09:18:31 -03:00
David Capello
d7125f9cae Remove scripts to upload files 2014-02-24 09:18:14 -03:00
David Capello
28cb389ac8 Update config.h location on scripts/ folder 2014-02-24 09:17:12 -03:00
David Capello
72a4fbd7e1 Add support for WinXP on create_release.sh 2014-02-24 09:05:20 -03:00
David Capello
1d7b51d8f9 Disable inks as they are confusing and shading mode is not done yet 2014-02-24 08:53:46 -03:00
David Capello
c558d664e8 Don't use C++11 enum class style yet 2014-02-24 08:31:02 -03:00
David Capello
d72a7a4dee Fix compilations errors on gcc 2014-02-24 08:30:43 -03:00
David Capello
3b23184c15 Fix compilation error in ui/clipboard_none.h 2014-02-24 08:23:04 -03:00
David Capello
4b88e90dc6 Fix file_handle.cpp compilation error on Unix-like systems 2014-02-24 08:20:42 -03:00
David Capello
43b2be4f0d Fix issue 347: Eyedropper tool changes in gui.xml (pick_fg ink) not working 2014-02-24 08:08:34 -03:00
David Capello
f2bdf38cc6 Fix bug loading/saving .gif files with Unicode file names 2014-02-17 21:43:20 -03:00
David Capello
2462767aac Fix issue 337: Vertical flip and Horizontal flips functions affect more than selected area 2014-02-17 00:41:28 -03:00
David Capello
3b8926b7d1 Remove SnapBehavior::SnapInRightBottom which is confusing (fix issue 343) 2014-02-17 00:00:06 -03:00
David Capello
3cbf3e122f Now you can press a mouse button in a ComboBoxEntry and drag the mouse to the ComboBoxListBox (issue 339) 2014-02-08 20:09:42 -03:00
David Capello
7251f4b70a Now you can press a mouse button in a IntEntry and drag the mouse to the slider (issue 339) 2014-02-08 19:39:36 -03:00
David Capello
bb32f1fbf2 slider.cpp: Remove commented code 2014-02-08 19:26:13 -03:00
David Capello
7eb41c73e9 IntEntry: select all text when the value is changed with the slider 2014-02-08 18:58:28 -03:00
David Capello
721734d26c Don't scroll Entry text if it isn't needed 2014-02-08 18:46:27 -03:00
David Capello
f954556683 Fix crash in Entry::getCaretFromMouse() 2014-02-08 18:31:15 -03:00
David Capello
cc08a054ad Minor fix for timeline header of frames 2014-02-08 17:56:36 -03:00
David Capello
aa9eec2cfd Fix issue 341: cannot scroll Timeline with space bar 2014-02-08 17:40:26 -03:00
David Capello
61c5b0dbb6 Move config.h to src/ directory 2014-02-08 00:56:20 -03:00
David Capello
51f70a170a Move code to handle Windows clipboard (text) to ui/clipboard_win.h 2014-02-08 00:41:16 -03:00
David Capello
e082cd96f1 Make ScreenScale option configurable through UI 2014-02-08 00:19:20 -03:00
David Capello
cff08af639 Fix UISettingsImpl::setBgColor() so right click with eye-dropper set background color 2014-02-06 21:17:47 -03:00
David Capello
d9d761c596 Fix issue 338: Double Clicking Timeline While Holding Control Crashes the Program 2014-02-06 20:40:10 -03:00
David Capello
0480de4388 Add live preview to tiled mode
- Removed draw_emptyset_symbol() function
- Added DocumentSettingsObserver
- Moved Editor's painting code from onProcessMessage to onPaint
2014-02-06 20:22:52 -03:00
David Capello
9b2f5399e9 Add ui::Graphics::fillRegion() 2014-02-06 20:01:32 -03:00
David Capello
9050861d78 Add ui::Widget::getGraphics() and GraphicsPtr 2014-02-06 20:00:59 -03:00
David Capello
936b741f90 Stop propagation of keyboard messages if a child use it
This fix a new bug with the new EditorView's scroll-bars. As 1,2,3,4,5,6
keys change the zoom, they will change the viewport size, and scroll-bars
will be removed/added. We cannot continue iterating the View::m_children
collection after m_children is modified (scroll-bars are removed/added).
2014-02-03 00:22:24 -03:00
David Capello
d3c72bedf2 Fix issue 309: Program crashes immediately after setting ScreenScale to 1
Avoid double destroy_bitmap() call.
2014-02-03 00:09:42 -03:00
David Capello
97d1acc036 Fix issue 313: Canvas does not reflect the change of a layer order 2014-02-02 23:57:30 -03:00
David Capello
c3a03565fb Fix issue 314 (crash): We were adding an image in the sprite's stock with a shared ImageBuffer 2014-02-02 23:10:09 -03:00
David Capello
858d7ff1b3 Add one assert more in ImageIteratorT() ctor 2014-02-02 23:07:54 -03:00
David Capello
20393c8aaa Fix bug with empty ContextBar when Ctrl+W is used to close a sprite and then a new sprite is created
This happens because Ctrl key activates the Hand/Move quick-tool, so the
ContextBar is updated to shows controls for this tool (an empty context
bar at the moment). Then, as Ctrl+W is pressed, the document is closed,
(we lost the Editor), and we willn't receive a
ContextBar::onCurrentToolChange() event (which should be generated by
releasing Ctrl key).
2014-02-02 21:22:50 -03:00
David Capello
78e5ab356a Don't show ContextBar when the program starts 2014-02-02 21:17:48 -03:00
David Capello
44c6a9d91a Fix bug where ContextBar was completely hidden 2014-02-02 21:07:12 -03:00
David Capello
dd2839a49a Add app::StartView (work-in-progress) 2014-02-02 20:55:32 -03:00
David Capello
0a01828ffe Don't eat all keystrokes on ui::TextBox::onProcessMessage() 2014-02-02 20:13:52 -03:00
David Capello
ff166107ed Don't show grid and mask in mini editor 2014-02-02 19:14:27 -03:00
David Capello
0d7f4498b9 Fix const-correctness for ColorPicker::pickColor() member function 2014-02-02 18:49:19 -03:00
David Capello
e671508d85 Change infinite scroll implementation
Remove necessity of jmouse_x(1) and jmouse_y(1) calls.

- Renamed jmouse_control_infinite_scroll() -> ui::control_infinite_scroll()
- Renamed jmouse_set_position() -> ui::set_mouse_position()
- Added ui::get_delta_outside_box()
2014-02-02 18:46:19 -03:00
David Capello
5eb516f0f5 Fix FileList navigation with keyboard (enter key focus the FileList again) 2014-01-30 20:05:05 -03:00
David Capello
c8c099864c Added "Grab Alpha" option to eye dropper (issue 134) 2014-01-28 23:56:44 -03:00
David Capello
beda78e168 Don't use override modifier outside the class definition 2014-01-28 23:46:27 -03:00
David Capello
78fbf07fc7 Fix scroll bar thumb size calculation 2014-01-28 23:46:04 -03:00
David Capello
eee1719109 Implemented issue 260: Scroll-bars for sprite editor 2014-01-26 13:28:11 -03:00