| 1 | // Aseprite UI Library |
| 2 | // Copyright (C) 2020 Igara Studio S.A. |
| 3 | // Copyright (C) 2001-2017 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 UI_MOUSE_BUTTON_H_INCLUDED |
| 9 | #define UI_MOUSE_BUTTON_H_INCLUDED |
| 10 | #pragma once |
| 11 | |
| 12 | namespace ui { |
| 13 | |
| 14 | enum MouseButton { // Matches the values of os::Event::MouseButton |
| 15 | kButtonNone = 0, |
| 16 | kButtonLeft = 1, |
| 17 | kButtonRight = 2, |
| 18 | kButtonMiddle = 3, |
| 19 | kButtonX1 = 4, |
| 20 | kButtonX2 = 5, |
| 21 | }; |
| 22 | |
| 23 | } // namespace ui |
| 24 | |
| 25 | #endif |
| 26 | |