Commit Graph

4461 Commits

Author SHA1 Message Date
David Capello
c33e63bed7 Fix bug destroying ShadeWidgets of Select type
We don't need to listen the ColorBar in shade widgets that are used
in the menu popup.
2015-11-26 20:09:53 -03:00
David Capello
8a7a585362 Load/save shades in user preferences (close #85) 2015-11-25 15:17:34 -03:00
David Capello
0f8997b3df Add drag-and-drop of colors in shade widget (#85) 2015-11-25 12:29:19 -03:00
David Capello
e5f96a2bce Merge branch 'master' 2015-11-24 19:55:18 -03:00
David Capello
12ccaf883d Add "px" suffix to New Sprite and Canvas Size fields (fix #875) 2015-11-24 19:54:10 -03:00
David Capello
cf7c4754cc Convert InkShadesField in a combobox-like widget to store several shades (#85)
Changes:
* Added new ui::IconButton widget to create widgets with one skin icon
  that is colored depending on the button state.
* ContextBar::InkShadesField was divided into a couple widgets (ShadeWidget
  and IconButton to drop-down a little menu with saved shades)
* Fixed CommonLockedSurface::drawColoredRgbaSurface() impl.
* Removed invalid gfx::setr/g/b/a() functions.
2015-11-24 18:37:13 -03:00
David Capello
48cc6d2dd0 Show a color indicator in ColorSpectrum as in ColorWheel 2015-11-24 07:50:52 -03:00
David Capello
25a331c43a Fix shades field preferred size when UI scaling > 100% 2015-11-23 15:05:35 -03:00
David Capello
c34f0e4eb7 Fix shading mode when right mouse button != paint w/bg color 2015-11-20 19:07:53 -03:00
David Capello
e683b8fb1a Switch shading colors with X key
Related to #85 and #854
2015-11-20 18:44:08 -03:00
David Capello
c96691c681 Merge branch 'master' 2015-11-20 14:50:51 -03:00
David Capello
9c1a8762ab Add option to export sprite sheets in memory only (without a file, fix #865)
We have converted the label "Save As" into a checkbox in the Export
Sprite Sheet dialog.
2015-11-20 14:49:40 -03:00
David Capello
b751a0f31a Merge pull request #867 from jpnk/patch-1
Instructions for updating a copy of the git repo
2015-11-20 09:38:03 -03:00
Jay Pinkman
6354937231 Instructions for updating a copy of the git repo 2015-11-20 04:12:07 +02:00
David Capello
4b21d8d5f4 Sort listbox items using compare_filenames() to compare numbers correctly (fix #782) 2015-11-18 16:50:49 -03:00
David Capello
c03f6b4da4 Fix typo in src/app/cmd/README.md 2015-11-18 16:24:13 -03:00
David Capello
6cbb1882d4 Add shortcut to switch pixel-perfect mode (fix #858) 2015-11-18 16:15:25 -03:00
David Capello
c29fd79796 Remove commented code in context_bar.cpp to select dots freehand algorithm 2015-11-18 15:32:48 -03:00
David Capello
aa28f6d65c Don't show symmetry line if Editor::kShowSymmetryLine flag isn't present (fix #851) 2015-11-16 10:06:28 -03:00
David Capello
6889b08090 Merge branch 'master' 2015-11-13 11:08:39 -03:00
David Capello
51939c5032 Merge pull request #859 from TheKK/master
Minor changes

* Fix Editor::kShowSymmetryLine value
* Fix EditorState::onUpdateStatusBar() comment
2015-11-13 10:53:48 -03:00
Ying Ruei Liang (KK)
e7c1f35f68 Some minor changes
- Correct comment description
- Fix flag value
2015-11-13 20:36:05 +08:00
David Capello
6962e2c96a Update version to v1.1.2 2015-11-09 15:09:46 -03:00
David Capello
b659747a8c Fix pink border in tabs on Allegro backend 2015-11-06 10:40:13 -03:00
David Capello
95b0aec22e Fix symmetry for even brush sizes (2px, 4px, etc.) 2015-11-05 16:58:22 -03:00
David Capello
12d27031e8 Print verbose_log() on stderr instead of stdout when _DEBUG is defined 2015-11-05 13:02:28 -03:00
David Capello
e525fc10a6 Add --all-layers option to export hidden layers (fix #805)
Now Aseprite will export only visible layers by default.

- Added doc::LayersRange to simplify layer iteration
2015-11-05 13:01:53 -03:00
David Capello
d05dc56503 Export frame tags/layers to JSON data when --list-tags/layers is used 2015-11-04 19:34:23 -03:00
David Capello
4a67a96edd Use mask in flood fill as edges (fix #823) 2015-11-04 16:48:25 -03:00
David Capello
ac5d3c7e36 Cache font previews in FontPopup 2015-11-04 12:17:30 -03:00
David Capello
41e9203918 Fix Edit > Insert Text command for non-RGB sprites 2015-11-04 11:26:58 -03:00
David Capello
78daffba73 Fix shading mode on RGB mode when index 0 is involved (fix #794)
As now the RgbMap is generated correctly depending on the current layer
(if it’s opaque or transparent), we’ve fixed
LockAlpha/Transparent/Merge/Blur/Replace/JumbleInkProcessing for
Indexed images with a background layer, when a transparent layer is the
active one, and when a non-mask index has same RGB values than the mask
index.
2015-11-04 10:33:23 -03:00
David Capello
b5e6d4af6a Merge pull request #850 from ripesunflower/fix
Move var to begining of gfx_directx_acknowledge_resize() scope
2015-11-04 09:09:31 -03:00
ripesunflower
d96c7bff45 Move var to beginnig of scope
I get error without it in VS2013
2015-11-04 09:55:10 +03:00
David Capello
05249dc191 Fix crash closing the window when it's on fullscreen mode on OS X 2015-11-03 16:14:05 -03:00
David Capello
8c781ecd57 Fix crashes switching between fullscreen/windowed mode on OS X 2015-11-03 16:13:45 -03:00
David Capello
2123ecb511 Fix crash calling selectTabInternal() with tab=nullptr 2015-11-03 16:12:13 -03:00
David Capello
01f5d3822a Fix Cmd+ shortcut on English keyboard layout on OS X (fix #816) 2015-11-02 18:20:10 -03:00
David Capello
91af58dbb0 Don't overwrite clipboard content on Edit > Insert Text (fix #839) 2015-11-02 17:47:56 -03:00
David Capello
9225420eba Minor change in floodfill.h/cpp 2015-11-02 16:45:09 -03:00
David Capello
08a04fcb64 Fix symmetry mode when cel origin != sprite origin (0,0)
Change ToolLoop::getOffset() to getCelOrigin()
2015-11-02 16:44:17 -03:00
David Capello
c12cb26875 Fix filter preview when zoom level < 100% 2015-10-30 17:58:47 -03:00
David Capello
3c97f08e4e Fix symmetry axis position on Editor when tiled mode is enabled 2015-10-29 17:11:23 -03:00
David Capello
ef7defdf72 Minor format change in intertwiners.h 2015-10-29 17:02:11 -03:00
David Capello
f4373ffbc5 Apply symmetry at the doPointshapePoint() level
This fixes the pixel-perfect mode (when symmetry is enabled) as it
expects only one joinPoints() call.
2015-10-29 17:01:43 -03:00
David Capello
e9bfa5168c Remove IntertwineAsPixelPerfect::PPData struct 2015-10-29 16:26:52 -03:00
David Capello
d75ac238e4 Reduce dirty area when symmetry mode is enabled 2015-10-29 16:24:20 -03:00
David Capello
24306589f0 Fix comparison between signed/unsigned ints 2015-10-29 16:22:03 -03:00
David Capello
76bbb53c15 Fix warning about unused local variable 2015-10-29 16:18:51 -03:00
David Capello
e5397d9ad3 Don't show symmetry controls on tools like eyedropper/move/zoom 2015-10-29 12:52:22 -03:00