Revert "[NUI] change orientation angle in GLWindow"
authorWonsik Jung <sidein@samsung.com>
Tue, 10 Nov 2020 01:24:11 +0000 (10:24 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 10 Nov 2020 01:34:21 +0000 (10:34 +0900)
This reverts commit 8d3249a176a4fb0e34275be698b8394bbdb6f4db.

src/Tizen.NUI/src/public/GLWindow.cs

index c44bc62..9fd5359 100644 (file)
@@ -80,19 +80,19 @@ namespace Tizen.NUI
             /// Landscape orientation. A wide view area is needed.
             /// </summary>
             [EditorBrowsable(EditorBrowsableState.Never)]
-            Landscape = 90,
+            Landscape = 1,
 
             /// <summary>
             /// Portrait inverse orientation.
             /// </summary>
             [EditorBrowsable(EditorBrowsableState.Never)]
-            PortraitInverse = 180,
+            PortraitInverse = 2,
 
             /// <summary>
             /// Landscape inverse orientation.
             /// </summary>
             [EditorBrowsable(EditorBrowsableState.Never)]
-            LandscapeInverse = 270,
+            LandscapeInverse = 3,
 
             /// <summary>
             /// No orientation. It is for the preferred orientation
@@ -426,7 +426,7 @@ namespace Tizen.NUI
         /// Type of callback to render to frame to use native GL code.
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public delegate int GLRenderFrameCallbackType();
+        public delegate void GLRenderFrameCallbackType();
 
         GLRenderFrameCallbackType GLRenderFrameCallback;
         HandleRef RenderHandlerRef;