1 // Copyright 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef OZONE_WAYLAND_GLOBAL_H_
6 #define OZONE_WAYLAND_GLOBAL_H_
8 namespace ozonewayland {
10 #define MOD_SHIFT_MASK 0x01
11 #define MOD_ALT_MASK 0x02
12 #define MOD_CONTROL_MASK 0x04
16 WINDOW_RESIZING_TOP = 1,
17 WINDOW_RESIZING_BOTTOM = 2,
18 WINDOW_RESIZING_LEFT = 4,
19 WINDOW_RESIZING_TOP_LEFT = 5,
20 WINDOW_RESIZING_BOTTOM_LEFT = 6,
21 WINDOW_RESIZING_RIGHT = 8,
22 WINDOW_RESIZING_TOP_RIGHT = 9,
23 WINDOW_RESIZING_BOTTOM_RIGHT = 10,
24 WINDOW_RESIZING_MASK = 15,
27 WINDOW_CLIENT_AREA = 18,
30 // Constants to identify the type of resize.
31 enum BoundsChangeType {
32 kBoundsChange_None = 0,
33 kBoundsChange_Repositions,
34 kBoundsChange_Resizes,
37 } // namespace ozonewayland
39 #endif // OZONE_WAYLAND_DISPLAY_H_