Remove unused code 49/262149/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 3 Aug 2021 05:51:23 +0000 (14:51 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 3 Aug 2021 05:51:23 +0000 (14:51 +0900)
Change-Id: I52331aaa5c42ed670e911874c9761c4dbe0267a2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ISEDefaultNUI/ISEDefaultNUI.cs
ISEDefaultNUI/Interop/Interop.Libraries.cs
ISEDefaultNUI/Interop/Interop.SclNui.cs
ISEDefaultNUI/SCLNUI.cs

index 4d6d09e..97a52df 100644 (file)
@@ -44,7 +44,7 @@ namespace ISEDefaultNUI
                 XmlElement KeyList = xml.DocumentElement;
                 XmlNodeList uuidList = xml.SelectNodes("/languages/keyboard_uuid_table/rec");
                 XmlNodeList languageList = xml.SelectNodes("/languages/language_table/rec");
-                
+
                 foreach (XmlNode node in uuidList)
                 {
                     KeyboardUuidInfo uuidInfo = new KeyboardUuidInfo();
@@ -562,7 +562,7 @@ namespace ISEDefaultNUI
                     keyboardState.NeedReset = true;
                 keyboardState.Layout = newLayout;
             }
-            
+
             if (keyboardState.VisibleState)
                 IMEShow(KeyboardState.Instance.FocusedContext);
         }
index c662fc5..719b2a5 100644 (file)
@@ -1,19 +1,4 @@
 /*
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace NUITemplate1.Interop
-{
-    class Interop
-    {
-    }
-}
-*/
-
-/*
  * Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved
  *
  * PROPRIETARY/CONFIDENTIAL
index 503c5a3..587be0d 100644 (file)
@@ -1,19 +1,4 @@
 /*
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace NUITemplate1.Interop
-{
-    class Interop
-    {
-    }
-}
-*/
-
-/*
  * Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved
  *
  * PROPRIETARY/CONFIDENTIAL
@@ -42,21 +27,6 @@ internal static partial class Interop
 {
     internal static class SclNuiCSharp
     {
-        /*
-        public class SclFontInfo
-        {
-            public char[] font_name;
-            public int font_size;
-            public bool is_italic;
-            public bool is_bolid;
-        }
-
-        public class SclColor
-        {
-            public char r, g, b, a;
-        }
-        */
-
         internal static string LogTag = "SclNuiCSharp";
 
         internal enum SclNuiKeyType
@@ -143,7 +113,7 @@ internal static partial class Interop
                                                 int align, int padding_x, int padding_y, int inner_width, int inner_height, int type, IntPtr user_data);
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
-        internal delegate void DrawImageCallback(IntPtr image_path, int dest_x, int dest_y, int dest_weight, int dest_height, 
+        internal delegate void DrawImageCallback(IntPtr image_path, int dest_x, int dest_y, int dest_weight, int dest_height,
                                                  int src_x, int src_y, int src_width, int src_height, int type, IntPtr user_data);
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index 5964fd3..92a6703 100644 (file)
@@ -83,10 +83,6 @@ namespace ISEDefaultNUI
             commitTimer.Tick += CommitTimerTick;
 
             /* Draw text callback */
-
-            //_draw_text_cb = (IntPtr str, int x, int y, int w, int h, int fontsize, IntPtr userData) =>
-
-            //_draw_text_cb = (SclFontInfo fontinfo, SclColor color, IntPtr str, int x, int y, int w, int h, int label_alignment, int padding_x, int padding_y, int inner_width, int inner_height, IntPtr userData) =>
             _draw_text_cb = (IntPtr font_name, short font_size, bool is_italic, bool is_bold, int r, int g, int b, int a,
                              IntPtr str, int pos_x, int pos_y, int width, int height,
                              int label_align, int padding_x, int padding_y, int inner_width, int inner_height, int type, IntPtr user_data) =>