David Capello
9b9ac319dc
Rename checkFromAllegroKeyArray() members to isPressed()
2015-05-20 15:02:31 -03:00
David Capello
13aef4eecf
Add support to change the transparent color with middle click
2015-05-20 12:11:47 -03:00
David Capello
1ff4f06a69
Show transparent index in ColorBar with a little dot
2015-05-20 11:40:22 -03:00
David Capello
ae048f5756
Avoid including ColorBar in PaletteView
2015-05-20 11:38:38 -03:00
David Capello
23a4cb3a0b
Fix some problems updating the StatusBar cel opacity slider
...
Now the StatusBar observes changes in the cel opacity to update the
slider (e.g. when we change the cel opacity through Cel > Properties
menu, the StatusBar refresh its slider).
2015-05-19 16:39:47 -03:00
David Capello
a90a70bd1e
Avoid giving F10 and Alt keys to the system on Win32/Skia port
2015-05-19 15:45:49 -03:00
David Capello
189ee56c4c
Implement she::is_key_pressed() on Win32 for the Skia port
2015-05-19 15:34:47 -03:00
David Capello
20f532ffe8
Add Unicode char to WM_KEYDOWN processing in she::Window<T>
2015-05-19 15:17:07 -03:00
David Capello
4c0bbd50f8
Complete she::win32vk_to_scancode() conversions
2015-05-19 14:51:01 -03:00
David Capello
1c447fdeee
Fix RGB mask/shift flags for 32bpp in Skia port
2015-05-19 14:21:04 -03:00
David Capello
524930fe54
Implement she::clock_value() with GetTickCount() on Win32 when we use Skia
2015-05-19 14:08:18 -03:00
David Capello
c21a84c9c9
Add zlib as libpng dependency
2015-05-19 14:02:52 -03:00
David Capello
9a1c522084
Remove unused variables
2015-05-19 13:44:00 -03:00
David Capello
288235fe32
Don't set the palette if we change the current frame of an inactive Editor
...
This happens when we press the play button in one Editor (it changes to
PlayState) and we start using other Editor. We don't want to change
the current palette/ColorBar for that animation playing in the background.
Fix #676
2015-05-18 21:34:30 -03:00
David Capello
e973aa0cc7
Don't close the Preview window if we close an unrelated Editor
2015-05-18 21:28:30 -03:00
David Capello
e106f6feec
Don't use get_current_palette() in set_win32_clipboard_bitmap()
2015-05-18 21:18:02 -03:00
David Capello
dd4683a27b
Remove unused function set_black_palette()
2015-05-18 21:17:16 -03:00
David Capello
15fb45f3a1
Avoid problems regenerating brush boundaries when the brush image ptr addresses are the same
2015-05-18 20:45:54 -03:00
David Capello
12e28960e4
Move Editor cursor color to pref.xml
2015-05-18 18:16:35 -03:00
David Capello
1144ef6fd3
Update system window title bar when the document is saved with other name ( fix #675 )
2015-05-18 17:08:01 -03:00
David Capello
a8577a4273
Rename Context::isUiAvailable to Context::isUIAvailable
2015-05-18 17:04:31 -03:00
David Capello
f6be0c3be6
Replace ISettings with Preferences
...
Changes:
* Move FreehandAlgorithm/InkType/RotationAlgorithm/SelectionMode to
app::tools namespace
* Removed ISettings, IToolSettings, IBrushSettings, ISelectionSettings,
and IColorSwatchesStore (and implementations from UISettingsImpl)
* Added app::tools::PreferenceGlue to do some adjustments that
UIToolSettingsImpl was doing
* Remove signals from App related to brush size/angle changes, and current
tool change (there events can be observed directly from Preferences)
* Remove ColorBar::FgColor/BgColor, these options can be observed from
Preferences::colorBar.fg/bgColor
2015-05-18 16:53:25 -03:00
David Capello
026972a7b9
Merge branch 'origin/master'
2015-05-18 15:03:48 -03:00
David Capello
70dd6806a9
Fix problem redrawing eraser cursor when the brush size changes ( fix #671 )
2015-05-18 15:02:02 -03:00
David Capello
6c882e43d5
Rename Editor::m_cursorThick -> m_cursorOnScreen
2015-05-18 15:00:59 -03:00
David Capello
52cdea6cf0
Merge branch 'master'
2015-05-18 13:08:21 -03:00
David Capello
aca944251a
Merge pull request #674 from agateau/linux-open-folder
...
Add support for open_folder on Linux
2015-05-18 11:21:59 -03:00
Aurélien Gâteau
817b134f31
Add support for open_folder on Linux
...
Removed base::launcher::support_open_folder() as it would always return
true.
2015-05-15 22:37:58 +02:00
David Capello
41ed14f036
Replace ISettings::get/setAutoSelectLayer() with Preferences class
2015-05-13 11:57:13 -03:00
David Capello
00ff89529c
Replace ISettings::get/setGrabAlpha() with Preferences class
2015-05-13 11:46:49 -03:00
David Capello
8c6c77e73a
Remove deprecated GlobalSettingsObserver class
2015-05-13 11:23:26 -03:00
David Capello
06b53981d4
Replace ISettings::get/setRightClickMode() with Preferences class
2015-05-13 11:19:16 -03:00
David Capello
70f844380b
Replace ISettings::get/setShowSpriteEditorScrollbars() with Preferences class
2015-05-13 10:41:55 -03:00
David Capello
c42ca3200f
Remove (now) unused ISettings::get/setCenterOnZoom()
2015-05-13 10:34:00 -03:00
David Capello
aea07d06af
Replace ISettings::get/setZoomWithScrollWheel() with Preferences class
2015-05-13 10:33:05 -03:00
David Capello
02d163b8d8
Add common keys in ui::Entry for OS X
2015-05-11 12:12:13 -03:00
David Capello
7450139898
Merge branch 'agateau-hide-hidden-files'
2015-05-11 12:02:14 -03:00
David Capello
15618c4fde
Merge branch 'hide-hidden-files' of https://github.com/agateau/aseprite into agateau-hide-hidden-files
2015-05-11 12:01:31 -03:00
David Capello
5f82aa8f08
Fix split_filename_tests on OS X and Unix-like platforms
2015-05-11 11:44:56 -03:00
David Capello
96102e0e8c
Remove lines that can fail in fs_tests
2015-05-11 11:33:20 -03:00
David Capello
bd7ad0cde0
Fix bug copying text on Windows clipboard
...
We were asking if the clipboard format was equal to Unicode Text to copy
Unicode text on it.
2015-05-11 11:26:37 -03:00
David Capello
7278f649f4
Select exact RGB match when we use eyedropper in RGB images
...
Fix #16
2015-05-11 11:25:53 -03:00
David Capello
2ac04c1c16
Show foreground/background color indicators in ColorBar
...
Related to #16 and #545
2015-05-11 10:53:50 -03:00
David Capello
9a6f635d31
Fix compilation error by implicit int <-> enum class conversion
2015-05-11 10:41:45 -03:00
David Capello
447bf3ef0b
Add needed #include to use std::string type
2015-05-11 10:41:25 -03:00
David Capello
e05a635533
Fix usage of ImageRef shared pointer in app/util/clipboard.cpp
2015-05-11 10:41:11 -03:00
David Capello
063f1d173c
Fix TipWindow() ctor signature
2015-05-11 10:40:37 -03:00
David Capello
cff735a7c8
Remove unused variables
2015-05-11 10:40:23 -03:00
David Capello
1583cd82bd
Avoid using ESC key to close non-foreground windows
2015-05-11 09:53:45 -03:00
David Capello
300a5cc1cb
Fix palette editor for one entry (non-selected range)
...
This fix the most common behavior where we are capable of use
eyedropper to pick just one color, and modify it with the editor.
2015-05-11 09:51:10 -03:00