From: joogab.yun Date: Wed, 2 Nov 2022 08:33:11 +0000 (+0900) Subject: Add Desktop window type. X-Git-Tag: dali_2.2.1~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F283731%2F4;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Add Desktop window type. Change-Id: I5045d323ea2da61d924cb621e1f66830268a7bd1 --- diff --git a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp index d99721c..e062eae 100644 --- a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp +++ b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp @@ -2043,6 +2043,11 @@ void WindowBaseEcoreWl2::SetType(Dali::WindowType type) windowType = ECORE_WL2_WINDOW_TYPE_NONE; break; } + case Dali::WindowType::DESKTOP: + { + windowType = ECORE_WL2_WINDOW_TYPE_DESKTOP; + break; + } default: { windowType = ECORE_WL2_WINDOW_TYPE_TOPLEVEL; diff --git a/dali/public-api/adaptor-framework/window-enumerations.h b/dali/public-api/adaptor-framework/window-enumerations.h index aeac241..b271044 100644 --- a/dali/public-api/adaptor-framework/window-enumerations.h +++ b/dali/public-api/adaptor-framework/window-enumerations.h @@ -2,7 +2,7 @@ #define DALI_WINDOW_ENUMERATIONS_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,7 +53,8 @@ enum class WindowType NOTIFICATION, ///< A notification window, like a warning about battery life or a new E-Mail received. @SINCE_2_0.0 UTILITY, ///< A persistent utility window, like a toolbox or palette. @SINCE_2_0.0 DIALOG, ///< Used for simple dialog window. @SINCE_2_0.0 - IME ///< Used for Ime keyboard window. It should be set in application New function. @SINCE_2_0.33 + IME, ///< Used for Ime keyboard window. It should be set in application New function. @SINCE_2_0.33 + DESKTOP ///< Used for desktop windows. @SINCE_2_2.0 }; /** @@ -118,14 +119,14 @@ enum class WindowOperationResult */ enum class WindowResizeDirection { - TOP_LEFT = 1, ///< Start resizing window to the top-left edge. - TOP = 2, ///< Start resizing window to the top side. - TOP_RIGHT = 3, ///< Start resizing window to the top-right edge. - LEFT = 4, ///< Start resizing window to the left side. - RIGHT = 5, ///< Start resizing window to the right side. - BOTTOM_LEFT = 6, ///< Start resizing window to the bottom-left edge. - BOTTOM = 7, ///< Start resizing window to the bottom side. - BOTTOM_RIGHT = 8 ///< Start resizing window to the bottom-right edge. + TOP_LEFT = 1, ///< Start resizing window to the top-left edge. + TOP = 2, ///< Start resizing window to the top side. + TOP_RIGHT = 3, ///< Start resizing window to the top-right edge. + LEFT = 4, ///< Start resizing window to the left side. + RIGHT = 5, ///< Start resizing window to the right side. + BOTTOM_LEFT = 6, ///< Start resizing window to the bottom-left edge. + BOTTOM = 7, ///< Start resizing window to the bottom side. + BOTTOM_RIGHT = 8 ///< Start resizing window to the bottom-right edge. }; } // namespace Dali