static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); FairyGUI.RichTextField o; if (argc == 1) { o = new FairyGUI.RichTextField(); pushValue(l, true); pushValue(l, o); return(2); } else if (argc == 2) { FairyGUI.TextField a1; checkType(l, 2, out a1); o = new FairyGUI.RichTextField(a1); pushValue(l, true); pushValue(l, o); return(2); } return(error(l, "New object failed.")); } catch (Exception e) { return(error(l, e)); } }
override protected void CreateDisplayObject() { richTextField = new RichTextField(); richTextField.gOwner = this; displayObject = richTextField; _textField = richTextField.textField; }
protected override void CreateDisplayObject() { richTextField = new RichTextField(); richTextField.gOwner = this; displayObject = richTextField; _textField = richTextField.textField; }
protected override void CreateDisplayObject() { base.CreateDisplayObject(); RichTextField richTextField = new RichTextField(_textField); _textField.gOwner = null; richTextField.gOwner = this; displayObject = richTextField; }
override protected void CreateDisplayObject() { base.CreateDisplayObject(); RichTextField richTextField = new RichTextField(_textField); _textField.gOwner = null; richTextField.gOwner = this; displayObject = richTextField; }
static public int get_onFocusOut(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)checkSelf(l); pushValue(l, true); pushValue(l, self.onFocusOut); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_htmlParseOptions(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)checkSelf(l); pushValue(l, true); pushValue(l, self.htmlParseOptions); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Update(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)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)); } }
static public int set_textFormat(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)checkSelf(l); FairyGUI.TextFormat v; checkType(l, 2, out v); self.textFormat = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_emojies(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)checkSelf(l); Dictionary <System.UInt32, FairyGUI.Emoji> v; checkType(l, 2, out v); self.emojies = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_htmlPageContext(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)checkSelf(l); FairyGUI.Utils.IHtmlPageContext v; checkType(l, 2, out v); self.htmlPageContext = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int GetHtmlObjectAt(IntPtr l) { try { FairyGUI.RichTextField self = (FairyGUI.RichTextField)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.GetHtmlObjectAt(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static int get_richTextField(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FairyGUI.GRichTextField obj = (FairyGUI.GRichTextField)o; FairyGUI.RichTextField ret = obj.richTextField; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index richTextField on a nil value" : e.Message)); } }
internal void EnableRichSupport(RichTextField richTextField) { _richTextField = richTextField; if (richTextField is InputTextField) { _input = true; EnableCharPositionSupport(); } }