示例#1
0
        public static void initScriptViews(ScriptControl ctrl, ControlContext ctrlCtx, PosUtil posUtil)
        {
            var talkView = new Scr.View.TalkView(
                new Scr.View.TalkViewConfig()
                .margin_(20, 10)
                .font_(Content.Fonts.Arial20)
                .window_(Content.Sys.Sourve.Window, Content.Sys.Sourve.Baloon)
                );

            talkView.injectUtils(posUtil, ctrlCtx);
            ctrl.addView <Cmd.Talk>(talkView);
        }