David Capello
5dc149d308
Add "Select > Modify" commands to expand/contract/border the selection
2015-12-04 17:46:32 -03:00
David Capello
e944ce0052
Move Bind, Connection, Signal, Slot, etc. to base namespace
2015-12-04 15:17:42 -03:00
David Capello
06be4f7fa6
Rename ui::Window::getKiller() -> closer()
2015-12-04 14:54:15 -03:00
David Capello
1aaeacc460
Refactor several "getNoun()" getters to "noun()"
...
This is a work-in-progress to create a consistent API and finally
separate the whole Aseprite base/gfx/ui libs into a reusable C++ library.
Classes:
app::IFileItem, app::AppMenuItem, app::skin::SkinPart,
gfx::Rect, gfx::Border, she::FileDialog,
ui::IButtonIcon, ui::Graphics, ui::Overlay, ui::Widget,
ui::ScrollableViewDelegate, and UI events
2015-12-04 14:39:04 -03:00
David Capello
98f026731e
Use _DEBUG and NDEBUG instead of DEBUGMODE
...
DEBUGMODE macro came from Allegro 4.
2015-12-04 12:38:57 -03:00
David Capello
7125643feb
Use const& instead of pointers
2015-12-03 21:51:59 -03:00
David Capello
2a3f2d6a57
Use size_t instead of unsigned int to compare with std::vector::size()
2015-12-03 21:51:44 -03:00
David Capello
cdd955441a
Rename PreferredSize -> SizeHint
2015-12-03 21:50:05 -03:00
David Capello
78ba213471
Rename ui::Widget::getChildren() -> children()
...
Extra changes:
* Removed UI_FOREACH_WIDGET(), replaced with range-based for-loops
2015-12-03 19:46:13 -03:00
David Capello
d5e3f3d3e8
Minor format changes
2015-12-03 19:29:50 -03:00
David Capello
e30654d08a
Merge branch 'move-multiple-cels'
2015-12-03 18:41:16 -03:00
David Capello
f8dbacf364
Prefer references instead of pointers (mainly for types as Point/Size/Rect)
2015-12-03 18:37:49 -03:00
David Capello
48838c743a
Use size_t instead of unsigned int
2015-12-03 18:36:55 -03:00
David Capello
3f984a471c
Merge branch 'multipleMoving' of https://github.com/TheKK/aseprite into move-multiple-cels
2015-12-03 15:37:42 -03:00
Ying Ruei Liang (KK)
7e09f79285
Show preview correctly when moving multiple cels
...
Now you can see all the selected cels move synchronously while you drag
them with moving tool.
2015-12-04 01:05:28 +08:00
David Capello
47bb79bfe7
Don't print JSON output in STDOUT when we are in UI mode
...
JSON output can be printed out into STDOUT only when we are in batch
mode and the --sheet attribute isn't specified.
2015-12-03 12:47:29 -03:00
David Capello
fb387cb6c2
Add options to export layers and frameTags meta JSON data from the UI
2015-12-03 12:42:33 -03:00
David Capello
2d2434daea
Export AniDir field for FrameTags in JSON meta attribute
2015-12-03 12:07:46 -03:00
David Capello
4dbee12789
Add possibility to import/export sprite sheet matrices by columns
...
Fix #872
2015-12-03 11:38:59 -03:00
David Capello
f9b249fba7
Add option to switch auto-opaque/transparent option in ContextBar popup menu
2015-12-01 16:37:46 -03:00
David Capello
7e016905c5
Add pico-8 palette
2015-12-01 16:10:34 -03:00
David Capello
3b0bf6daaa
Add anti-aliasing checkbox in "Edit > Insert Text" option
2015-12-01 15:46:21 -03:00
David Capello
f47ba09984
Fix mouse lag on Linux with hi-res devices ( fix #283 )
2015-11-30 15:30:25 -03:00
David Capello
771a7ba467
Add search field in keyboard shortcuts dialog ( fix #849 )
...
Changes:
* Added "icon_search" part in the skin
* Added app::SearchEntry widget
* Fixed Separator widget to handle a custom background color, because
now we use Separators inside a ListBox too
* Added Entry::(on)getEntryTextBounds() to specify a customized area
to show text (as SearchEntry needs space for search and close icons)
2015-11-30 15:08:18 -03:00
David Capello
d5d1ac0d47
Fix comment in KeyboardShortcuts::importFile()
2015-11-30 09:34:14 -03:00
David Capello
41d308f5da
Show keyboard shortcuts in all popup menus
2015-11-27 11:40:07 -03:00
David Capello
e8dd1526f6
Convert ink menu into a popup menu specified in gui.xml
2015-11-27 11:36:27 -03:00
David Capello
aaf49be654
Add commands to change ink type ( #787 )
...
By default there are no shortcuts to change the ink type.
2015-11-27 01:35:31 -03:00
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