David Capello
d496236d08
Add scrollbars to Skia/Win SkiaDisplay to support trackpad scroll messages
2015-12-28 16:54:50 -03:00
David Capello
8996d82d21
Redraw ColorBar when we change the active state in the Undo History window
2015-12-28 16:54:14 -03:00
David Capello
be214b715b
Fix hang on Skia/Win when we press the HWND close button and an ui::Alert is shown
...
We don't have to close the OS window when its close button is pressed.
We just generate an CloseDisplay event and the client (app/ui layer) must
process it (e.g. check if there are no unsaved changes) and then close
the she::Display manually.
2015-12-28 16:31:57 -03:00
David Capello
a43f7cfa66
Fix crash disabling GPU acceleration on Skia/Win port
2015-12-28 15:56:41 -03:00
David Capello
49ad91dd79
Fix argc/argv parameters for app_main() in Skia/Win port
2015-12-28 15:34:00 -03:00
David Capello
199a3db278
Don't scroll invalid areas in Widget::scrollRegion()
2015-12-28 13:37:01 -03:00
David Capello
5074ef2d68
Handle several UI mouse movement events at once if they are in the she layer queue
2015-12-28 13:02:45 -03:00
David Capello
4d629b5f70
Update Skia port to support m48 version
2015-12-28 12:13:07 -03:00
David Capello
c8abf0cfc7
Fix regression: Show left/right mouse button triggers in keyboard shortcuts
2015-12-26 14:52:29 -03:00
David Capello
7b5827a151
Modify style of colored layers and cels in Timeline
...
Now colored layers/cels are filled with the user-defined color as
background and the text in the foreground.
2015-12-23 19:57:31 -03:00
David Capello
db13644e0a
Fix problem setting cel color in all cels when a range is selected in Timeline
2015-12-23 14:19:09 -03:00
David Capello
5e67441af3
Fix logging string in GuiXml() ctor
2015-12-22 20:10:01 -03:00
David Capello
1c7ef06a4b
Minor change in ResourceFinder logging strings
2015-12-22 20:08:37 -03:00
David Capello
5725b3bbf1
Load user brushes if the file exists and continue in case of error ( fix #911 )
2015-12-22 20:04:44 -03:00
David Capello
ff507af308
Redraw editor when symmetry is enabled/disabled
...
This redraw issue appears when we assign a key to switch the global
symmetry visibility (SymmetryModeCommand).
2015-12-22 19:05:11 -03:00
David Capello
07c3853bab
Add the correct recent filename after saving a sequence of files
2015-12-22 18:07:06 -03:00
David Capello
978145ba7a
Add warning before we save a sequence of bitmaps ( fix #902 )
2015-12-22 18:00:01 -03:00
David Capello
2f2bd40c84
Replace package name in src/file/file.cpp with PACKAGE macro
2015-12-22 17:55:35 -03:00
David Capello
3543b086d1
Add option to keep the selection after Edit > Clear ( fix #907 )
2015-12-22 17:49:21 -03:00
David Capello
e79236b3a3
Add JSON data format into Export Sprite Sheet UI
2015-12-22 17:34:51 -03:00
David Capello
65dd457847
Reduce size hint for ui::ComboBox
2015-12-22 17:14:26 -03:00
David Capello
2cac6a0706
Don't show shading on effect tools (Eraser, Blur, Jumble)
2015-12-22 17:05:33 -03:00
David Capello
b5dd02eb46
Export user data in JSON data
2015-12-22 16:53:06 -03:00
David Capello
9c42a7b31b
Merge branch 'master'
2015-12-22 15:57:44 -03:00
David Capello
4c58441823
Redraw Timeline when layer/cel user color is changed
2015-12-22 13:18:08 -03:00
David Capello
3252013134
Fix problem showing brush boundaries when the active shade includes index 0
2015-12-22 12:48:15 -03:00
David Capello
e8ecbbb4d7
Merge branch 'master'
2015-12-22 10:56:56 -03:00
David Capello
16e13d89c2
Minor changes in base/README
2015-12-22 10:55:54 -03:00
David Capello
6fb5258e51
Load/save custom brushes
2015-12-22 10:55:15 -03:00
David Capello
718888df91
Add XML declaration to keyboard shortcuts XML file
2015-12-22 10:24:25 -03:00
David Capello
26e4678d2d
Add functions to encode/decode data in base64
2015-12-21 13:44:02 -03:00
David Capello
7ab863303e
Move LOG() to base library
...
Changes:
- Moved verbose_log (in app module) to base_log (in base library)
- Added base_set_log_filename() to start logging and close the log file
- LoggerModule() is implemented using thse new base library functions
Fix #899
2015-12-21 12:36:44 -03:00
David Capello
3bcda8c1b1
Replace DLOG() with TRACE()
2015-12-21 12:30:21 -03:00
David Capello
fcbb364085
Add "Play Once" option in "Play" button popup
2015-12-18 18:51:30 -03:00
David Capello
38128f7346
Fix bug reading (int/bool) parameters that aren't specified in Params
...
This fix a crash using ModifySelectionCommand commands.
2015-12-17 17:59:46 -03:00
David Capello
7f8cbfd250
New flags required for OS X/Skia port (m48 branch)
...
As now Skia uses <atomic> header file, we need C++11 and libc++
standard library when we compile with clang.
2015-12-17 17:43:13 -03:00
David Capello
70127f19e1
Fix closing the whole user data popup when we're selecting the user data color
2015-12-17 16:34:57 -03:00
David Capello
6ec07d5e10
Fix comment for ui::PopupWindow::setHotRegion() member function
2015-12-17 15:46:13 -03:00
David Capello
a3e77a657a
Update context bar controls correctly when a new brush type is selected from a brush slot
2015-12-17 15:21:44 -03:00
David Capello
7a553f5c98
Link with skia_opts_avx.lib in Skia port
...
We're using m48 branch in Skia library.
2015-12-17 13:43:18 -03:00
David Capello
3845d6a31a
Fix bugs setting BrushSlot flags from BrushPopup
...
E.g. We cannot set flags in a recently deleted BrushSlot after
show_popup_menu().
2015-12-17 13:37:22 -03:00
David Capello
0fbe3acfd0
Remove BrushPopupDelegate
...
At this moment we prefer to use AppBrushes and ContextBar directly
from BrushPopup.
2015-12-17 13:24:44 -03:00
David Capello
51e3ab178d
Merge branch 'new-brush-popup'
2015-12-16 18:45:24 -03:00
David Capello
3b9ba0d7d2
Add missing members to SkiaDisplay port
2015-12-16 18:45:01 -03:00
David Capello
403e3ee726
Add popup on each BrushSlot to enable/disable params
...
Converted BrushSlotParams into a xml widget.
2015-12-16 18:14:04 -03:00
David Capello
0cdc71bf05
Add possibility to save brush type/size/angle, fg/bg colors, ink type/opacity, shade, etc. into brush slots
...
Fix #904
2015-12-16 17:27:04 -03:00
David Capello
1f513a1ed5
Restore selected ButtonSet item when we offer the mouse capture
...
When a ButtonSet triggers an onClick() when a mouse up message is received
(ButtonSet::m_multipleSelection == true), in case the mouse capture is
offered to other ButtonSet, we've to restore the selected item when we
capture the mouse, because we've never generated the onClick() event
in the first place.
2015-12-16 16:55:49 -03:00
David Capello
0f35102a4b
Add show_popup_menu() internal function in brush_popup.cpp
2015-12-16 10:49:15 -03:00
David Capello
bd99a30146
Avoid closing BrushPopup when we click the menu popup option
2015-12-16 10:02:52 -03:00
David Capello
fd8e8686d5
Fix NewCustomBrushItem construction
2015-12-15 19:29:12 -03:00