From f1e898a1dfecf102d453b03f31bd304ec5a0b1f4 Mon Sep 17 00:00:00 2001 From: Wonsik Jung Date: Mon, 9 Nov 2020 10:32:03 +0900 Subject: [PATCH] [NUI] change orientation angle in GLWindow Change orientation angle in GLWindow. It is same with NUI.Window. --- src/Tizen.NUI/src/public/GLWindow.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Tizen.NUI/src/public/GLWindow.cs b/src/Tizen.NUI/src/public/GLWindow.cs index 9fd5359..c44bc62 100644 --- a/src/Tizen.NUI/src/public/GLWindow.cs +++ b/src/Tizen.NUI/src/public/GLWindow.cs @@ -80,19 +80,19 @@ namespace Tizen.NUI /// Landscape orientation. A wide view area is needed. /// [EditorBrowsable(EditorBrowsableState.Never)] - Landscape = 1, + Landscape = 90, /// /// Portrait inverse orientation. /// [EditorBrowsable(EditorBrowsableState.Never)] - PortraitInverse = 2, + PortraitInverse = 180, /// /// Landscape inverse orientation. /// [EditorBrowsable(EditorBrowsableState.Never)] - LandscapeInverse = 3, + LandscapeInverse = 270, /// /// 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. /// [EditorBrowsable(EditorBrowsableState.Never)] - public delegate void GLRenderFrameCallbackType(); + public delegate int GLRenderFrameCallbackType(); GLRenderFrameCallbackType GLRenderFrameCallback; HandleRef RenderHandlerRef; -- 2.7.4