[NUI] change orientation angle in GLWindow
authorWonsik Jung <sidein@samsung.com>
Mon, 9 Nov 2020 02:44:14 +0000 (11:44 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 9 Nov 2020 07:17:07 +0000 (16:17 +0900)
Change orientation angle in GLWindow. It is same with NUI.Window.

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

index 9fd5359..c44bc62 100644 (file)
@@ -80,19 +80,19 @@ namespace Tizen.NUI
             /// Landscape orientation. A wide view area is needed.
             /// </summary>
             [EditorBrowsable(EditorBrowsableState.Never)]
-            Landscape = 1,
+            Landscape = 90,
 
             /// <summary>
             /// Portrait inverse orientation.
             /// </summary>
             [EditorBrowsable(EditorBrowsableState.Never)]
-            PortraitInverse = 2,
+            PortraitInverse = 180,
 
             /// <summary>
             /// Landscape inverse orientation.
             /// </summary>
             [EditorBrowsable(EditorBrowsableState.Never)]
-            LandscapeInverse = 3,
+            LandscapeInverse = 270,
 
             /// <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 void GLRenderFrameCallbackType();
+        public delegate int GLRenderFrameCallbackType();
 
         GLRenderFrameCallbackType GLRenderFrameCallback;
         HandleRef RenderHandlerRef;