Commit Graph

4419 Commits

Author SHA1 Message Date
David Capello
51c939b210 Find the Steam DLL in the app directory 2016-02-26 20:19:37 -03:00
David Capello
1c8d89c31f Merge pull request #973 from farnold/master
OS X: fix clang compile error over non-existent simpleini lib
2016-02-26 19:00:25 -03:00
David Capello
1512e7af52 Merge pull request #979 from sirblackheart/fix-missing-overrides
Fix missing overrides as shown by warnings mentioned in issue #955
2016-02-26 18:58:04 -03:00
David Capello
bc9c3b0ec2 Merge branch 'new-log' 2016-02-26 17:11:51 -03:00
David Capello
5fbb4e90d7 Create log in Desktop folder when --debug is used 2016-02-26 17:08:42 -03:00
David Capello
b5d04525c0 Use fstream::is_open() instead of operator bool() 2016-02-26 16:51:30 -03:00
David Capello
516ee5c611 New LOG() function with different logging levels and std::ostream support 2016-02-26 16:13:54 -03:00
David Capello
873ca55c10 Merge branch 'tint-shade-tone-selector' 2016-02-26 15:13:28 -03:00
David Capello
c8d59df66e Save separation distance/layout of internal ColorBar splitter 2016-02-26 15:09:40 -03:00
David Capello
ca160d0647 Remove unnecessary iterations on splitter children in onSave/LoadLayout 2016-02-26 15:08:58 -03:00
David Capello
875e2cd391 Fix possible bug/crash using a cmd::CopyRegion()
The region that we save must be exactly the same that we use in the swap
process.
2016-02-26 12:50:09 -03:00
Gabriel Rauter
7d80b16854 fix missing overrides as shown by warnings mentioned in issue #955 2016-02-26 15:37:41 +01:00
David Capello
7a0a89e59e Add the new ColorTintShadeTone color picker (#707) 2016-02-26 11:18:46 -03:00
David Capello
4e4f473dd6 Don't limit the selection of colors in the spectrum area
In this way when we capture the mouse, we can move it outside the
widget and we're still picking colors in the border of the spectrum.
(Which is useful to select pure black or white.)
2016-02-26 11:13:19 -03:00
David Capello
c1a2cbebde Remove "typename" keyword in replace_image_colors() 2016-02-26 10:09:45 -03:00
David Capello
2da643ef56 Fix warning in doc::write_string() 2016-02-26 10:09:03 -03:00
David Capello
d78f892236 Add more zoom levels 2016-02-25 18:51:13 -03:00
David Capello
5c61e92193 Change custom brush color when we change fg/bg colors 2016-02-25 18:48:59 -03:00
David Capello
d10dd157e7 Don't use custom clipboard format on Windows if we couldn't register it 2016-02-25 18:47:37 -03:00
David Capello
69e7623628 Fix shading ink for grayscale images 2016-02-24 19:48:46 -03:00
David Capello
c09dfa89f0 Show grayscale colors in color buttons when we're editing a grayscale image 2016-02-24 19:37:20 -03:00
David Capello
155c74a633 Fix usage of indexed colors in grayscale images 2016-02-24 18:22:51 -03:00
David Capello
0cf39625f8 Minor fix in PaletteView::setBoxSize() to apply the guiscale() to the box size 2016-02-24 17:37:36 -03:00
David Capello
ad98fab506 Link filters-lib with base-lib to avoid linking errors on Linux 2016-02-24 13:22:15 -03:00
David Capello
5dd2d8119b Add initial support to Steam API (just inform to Steam that we're running) 2016-02-24 13:21:37 -03:00
David Capello
d2f1e2b6d2 Add functions to load dynamic libraries from base-lib 2016-02-24 13:11:40 -03:00
David Capello
30672ba144 Don't reset Screen Scale when the main window cannot be created
Should fix #860
2016-02-23 18:08:25 -03:00
David Capello
55f60be79a Fix crash creating a custom brush without "Type" option and restarting 2016-02-23 18:06:19 -03:00
David Capello
12ec08f97f Update copyright year 2016-02-23 16:10:54 -03:00
Fabio Arnold
d190b88854 OS X: fix clang compile error over non-existent simpleini lib 2016-02-21 01:03:10 +01:00
David Capello
67878a21cb Save brush with images correctly when "Save Brush" button is used 2016-02-18 14:43:40 -03:00
David Capello
9521ed3079 Merge branch 'master' 2016-02-18 14:15:04 -03:00
David Capello
15e10ad9f6 Add touch magnify event to support OS X trackpad gesture 2016-02-18 13:58:45 -03:00
David Capello
ef4a4822da Call onEnterState() from base class in SelectBoxState and StandbyState 2016-02-18 11:40:11 -03:00
David Capello
67afc5f621 Remove unused variable in FileList::onPaint() 2016-02-18 10:58:58 -03:00
David Capello
237a46588c Fix if-condition inside load_xml_image() 2016-02-18 10:58:22 -03:00
David Capello
802b8a0a10 Fix performance problem when we change color sliders with mouse movement 2016-02-17 18:32:34 -03:00
David Capello
64deb6ed87 Remove mongoose code
The webserver isn't functional yet, and mongoose license is GPL now.
2016-02-16 18:52:15 -03:00
David Capello
d7d57667fc Add new licensing options 2016-02-16 18:32:50 -03:00
David Capello
7750982af6 Support loading interlaced PNG files in png decoder (PngFormat::onLoad()) 2016-02-16 18:18:29 -03:00
David Capello
fd71ceb4c9 Fix shading ink for sprites with more than 256 colors
When the shading ink is used on RGBA sprites, we can have color palettes
with more than 256 colors. In this way the shade will contain entries
with indexes >= 256.
2016-02-16 17:11:30 -03:00
David Capello
24e329ffeb Show ink selector even when a custom brush is selected
Related to #945, anyway it needs more work so we can mix the custom
brush as a color source for the current ink.
2016-02-15 20:40:37 -03:00
David Capello
8ca5b0c2f7 Shade ink should use the full palette when we select just one color (fix #947) 2016-02-15 17:30:01 -03:00
David Capello
dbb8a17d47 Fix bug restoring frame duration after undoing a "remove frame" (fix #965) 2016-02-15 17:13:23 -03:00
David Capello
e2e5fbf3f1 Fix crash when ContextBar::InkShadesField is clicked and it's empty 2016-02-15 17:07:34 -03:00
David Capello
5d4a568804 Fix a typo in Tiled Mode menu 2016-02-15 16:31:32 -03:00
David Capello
1588e834c3 Fix artifacts when scrolling on widgets with sub-children (fix #963)
This bug was introduced in b0650f6afe
To fix this issue we've to remove kPaintMessages from the message queue
for widgets that were moved. Those pending paint messages aren't valid
anymore because the widget was invalidated again.
2016-02-15 15:54:54 -03:00
David Capello
c49ec61fa0 Minor refactor: rename DocumentView::getEditor/Document() -> editor/document() 2016-02-13 01:33:43 -03:00
David Capello
3400cdba8b Hide software cursor when mouse leaves window on Linux (fix #948)
Now we generate MouseEvent/Leave she events when Allegro4 _mouse_on
changes from 1 to 0 or vice-versa on Linux.
2016-02-12 18:59:11 -03:00
David Capello
7b8b2dae53 Remove mouse speed modifications from Allegro4/X11 port
This might be related to #957
2016-02-12 18:56:15 -03:00