| 1 | // Aseprite Document Library | 
| 2 | // Copyright (C) 2019  Igara Studio S.A. | 
| 3 | // Copyright (C) 2001-2015  David Capello | 
| 4 | // | 
| 5 | // This file is released under the terms of the MIT license. | 
| 6 | // Read LICENSE.txt for more information. | 
| 7 |  | 
| 8 | #ifndef DOC_BRUSH_PATTERN_H_INCLUDED | 
| 9 | #define DOC_BRUSH_PATTERN_H_INCLUDED | 
| 10 | #pragma once | 
| 11 |  | 
| 12 | namespace doc { | 
| 13 |  | 
| 14 |   enum class BrushPattern { | 
| 15 |     ALIGNED_TO_SRC = 0, | 
| 16 |     ALIGNED_TO_DST = 1, | 
| 17 |     PAINT_BRUSH = 2, | 
| 18 |  | 
| 19 |     DEFAULT = ALIGNED_TO_SRC,           // Default for preferences | 
| 20 |     DEFAULT_FOR_UI = ALIGNED_TO_SRC, | 
| 21 |     DEFAULT_FOR_SCRIPTS = PAINT_BRUSH, | 
| 22 |   }; | 
| 23 |  | 
| 24 | } // namespace doc | 
| 25 |  | 
| 26 | #endif | 
| 27 |  |