tools/skui/InputState.h
raw| 1 | // Copyright 2019 Google LLC. |
| 2 | // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. |
| 3 | #ifndef skui_inputstate_DEFINED |
| 4 | #define skui_inputstate_DEFINED |
| 5 | namespace skui { |
| 6 | enum class InputState { |
| 7 | kDown, |
| 8 | kUp, |
| 9 | kMove, // only valid for mouse |
| 10 | kRight, // only valid for fling |
| 11 | kLeft, // only valid for fling |
| 12 | }; |
| 13 | } // namespace skui |
| 14 | #endif // skui_inputstate_DEFINED |