Example #1
0
            public override void onSelect(string id, string text)
            {
                GuiEaseEditDlg  GuiEaseEditDlg = "GuiEaseEditDlg";
                GuiEaseViewCtrl easeView       = GuiEaseEditDlg.FOT("easeView");

                string ease = easeView.ease.AsString();

                ease          = Util.setWord(ease, 0, id);
                easeView.ease = ease.AsEaseF();
            }
Example #2
0
        public static void GetEaseF(string currentEase, string callback, GuiCanvas root)
        {
            GuiEaseEditDlg GuiEaseEditDlg = "GuiEaseEditDlg";
            GuiCanvas      Canvas         = "Canvas";

            GuiEaseEditDlg.init(currentEase, callback);

            if (!root.isObject())
            {
                root = Canvas;
            }

            root.pushDialog(GuiEaseEditDlg);
        }