aseprite/src/allegro
David Capello 594fe3fb90 Fix problems drawing color selectors in background thread w/Allegro back-end
In debug mode Aseprite can crashes, in release mode the effect is only
visual: if the palette contains semi-transparent colors, the Allegro
drawing mode is changed while drawing the color bar and the color
selector will use the new drawing mode (or vice-versa).

Bug introduced in 0fe5edb7fe
2018-05-31 15:54:09 -03:00
..
cmake
include Fix problems drawing color selectors in background thread w/Allegro back-end 2018-05-31 15:54:09 -03:00
src Fix problems drawing color selectors in background thread w/Allegro back-end 2018-05-31 15:54:09 -03:00
CMakeLists.txt
README.md

This is a modified version of Allegro library (branch 4.4) specially patched for Aseprite by David Capello.

Changes:

  • Mouse driver for Windows was modified to use WM_MOUSEMOVE instead of DirectInput (like in Allegro 5).
  • Keyboard driver for Windows was modified to use WM_KEYDOWN/UP messages instead of DirectInput (like in Allegro 5).
  • Added resize support for Windows, X11, and Mac OS X ports.
  • Removed code and functions that are not used (Allegro GUI, audio, MIDI, joystick, etc.).
  • The HWND class has CS_DBLCLKS enabled (so UI code can detect double-clicks from Windows messages).
  • Fixed issues recreating DirectX surfaces
  • Fixed OS X mouse issues
  • Support for x64
  • Several other changes