Exemple #1
0
        static int _g_get_autoSize(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);
                translator.PushFairyGUIAutoSizeType(L, gen_to_be_invoked.autoSize);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Exemple #2
0
        static int _g_get_parsedText(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.parsedText);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
 static public int get_displayAsPassword(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.displayAsPassword);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_onFocusIn(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.onFocusIn);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_verticalAlign(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         pushValue(l, true);
         pushEnum(l, (int)self.verticalAlign);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #6
0
 static public int GetHtmlElements(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         var ret = self.GetHtmlElements();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #7
0
 static public int constructor(IntPtr l)
 {
     try {
         FairyGUI.TextField o;
         o = new FairyGUI.TextField();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #8
0
        static int _s_set_shadowOffset(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.TextField  gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);
                UnityEngine.Vector2 gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.shadowOffset = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemple #9
0
        static int _s_set_verticalAlign(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyGUI.TextField     gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);
                FairyGUI.VertAlignType gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.verticalAlign = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemple #10
0
 static public int Update(IntPtr l)
 {
     try {
         FairyGUI.TextField     self = (FairyGUI.TextField)checkSelf(l);
         FairyGUI.UpdateContext a1;
         checkType(l, 2, out a1);
         self.Update(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #11
0
 static public int set_displayAsPassword(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.displayAsPassword = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #12
0
 static public int set_singleLine(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.singleLine = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #13
0
 static public int ReplaceSelection(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         System.String      a1;
         checkType(l, 2, out a1);
         self.ReplaceSelection(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #14
0
 static public int set_verticalAlign(IntPtr l)
 {
     try {
         FairyGUI.TextField     self = (FairyGUI.TextField)checkSelf(l);
         FairyGUI.VertAlignType v;
         checkEnum(l, 2, out v);
         self.verticalAlign = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #15
0
 static public int set_shadowOffset(IntPtr l)
 {
     try {
         FairyGUI.TextField  self = (FairyGUI.TextField)checkSelf(l);
         UnityEngine.Vector2 v;
         checkType(l, 2, out v);
         self.shadowOffset = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #16
0
 static public int set_caretPosition(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         int v;
         checkType(l, 2, out v);
         self.caretPosition = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #17
0
 static public int set_strokeColor(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         UnityEngine.Color  v;
         checkType(l, 2, out v);
         self.strokeColor = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #18
0
 static public int set_htmlText(IntPtr l)
 {
     try {
         FairyGUI.TextField self = (FairyGUI.TextField)checkSelf(l);
         string             v;
         checkType(l, 2, out v);
         self.htmlText = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #19
0
 static public int GetBounds(IntPtr l)
 {
     try {
         FairyGUI.TextField     self = (FairyGUI.TextField)checkSelf(l);
         FairyGUI.DisplayObject a1;
         checkType(l, 2, out a1);
         var ret = self.GetBounds(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #20
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    FairyGUI.TextField gen_ret = new FairyGUI.TextField();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.TextField constructor!"));
        }
Exemple #21
0
        static int _m_EnableCharPositionSupport(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.EnableCharPositionSupport(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Exemple #22
0
        static int _m_Redraw(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);



                {
                    bool gen_ret = gen_to_be_invoked.Redraw(  );
                    LuaAPI.lua_pushboolean(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Exemple #23
0
        static int _m_OnPopulateMesh(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);



                {
                    FairyGUI.VertexBuffer _vb = (FairyGUI.VertexBuffer)translator.GetObject(L, 2, typeof(FairyGUI.VertexBuffer));

                    gen_to_be_invoked.OnPopulateMesh(_vb);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Exemple #24
0
        static int _m_Update(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);



                {
                    FairyGUI.UpdateContext _context = (FairyGUI.UpdateContext)translator.GetObject(L, 2, typeof(FairyGUI.UpdateContext));

                    gen_to_be_invoked.Update(_context);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Exemple #25
0
        static int _m_HasCharacter(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TextField gen_to_be_invoked = (FairyGUI.TextField)translator.FastGetCSObj(L, 1);



                {
                    char _ch = (char)LuaAPI.xlua_tointeger(L, 2);

                    bool gen_ret = gen_to_be_invoked.HasCharacter(_ch);
                    LuaAPI.lua_pushboolean(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }