| 1 | // Aseprite UI Library |
| 2 | // Copyright (C) 2022 Igara Studio S.A. |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef UI_PAINT_H_INCLUDED |
| 8 | #define UI_PAINT_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include "base/disable_copying.h" |
| 12 | #include "gfx/color.h" |
| 13 | #include "os/paint.h" |
| 14 | |
| 15 | namespace ui { |
| 16 | |
| 17 | using os::Paint; |
| 18 | using os::BlendMode; |
| 19 | |
| 20 | void set_checkered_paint_mode(Paint& paint, |
| 21 | const int param, |
| 22 | const gfx::Color a, |
| 23 | const gfx::Color b); |
| 24 | |
| 25 | } // namespace ui |
| 26 | |
| 27 | #endif |
| 28 | |