[dali_2.3.25] Merge branch 'devel/master'
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / window-system-devel.h
1 #ifndef DALI_WINDOW_SYSTEM_DEVEL_H
2 #define DALI_WINDOW_SYSTEM_DEVEL_H
3
4 /*
5  * Copyright (c) 2023 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <cstdint>
23
24 // INTERNAL INCLUDES
25 #include <dali/public-api/dali-adaptor-common.h>
26
27 namespace Dali
28 {
29 namespace DevelWindowSystem
30 {
31 /**
32  * @brief Get the screen size.
33  *
34  * This function gets the screen size.
35  *
36  * @param[out] width The width of the screen
37  * @param[out] height The height of the screen
38  */
39 DALI_ADAPTOR_API void GetScreenSize(int32_t& width, int32_t& height);
40
41 /**
42  * @brief Sets the processes using geometry event propagation touch and hover events.
43  *
44  * @param[in] enabled True if the processes using geometry event propagation touch and hover events.
45  */
46 DALI_ADAPTOR_API void SetGeometryHittestEnabled(bool enabled);
47
48 /**
49  * @brief Queries whether the scene using geometry event propagation touch and hover events.
50  *
51  * @return True if the scene using geometry event propagation touch and hover events.
52  */
53 DALI_ADAPTOR_API bool IsGeometryHittestEnabled();
54
55 } // namespace DevelWindowSystem
56
57 } // namespace Dali
58
59 #endif // DALI_WINDOW_SYSTEM_DEVEL_H