示例#1
0
        internal static bool UI()
        {
            BeginHorizontal();
            Section(S.SymsetConfig, bottom: 0);
            FlexibleSpace();
            if (Button(S.Btn_ApplyNotation))
            {
                Howl.ReApply();
            }
            EndHorizontal();
            if (Config.ι.showTips)
            {
                Label(S.SymsetNote);
            }
            Label(S.NotWYSIWYG, miniLabel);
            Ruler();
            scrollPos = BeginScrollView(scrollPos);
            //
            ImportConfig.Read();
            bool dirty = false;

            foreach (var k in Map.@default)
            {
                ItemUI(k as Rep, ref dirty);
            }
            if (dirty)
            {
                ImportConfig.Write();
            }
            //
            EndScrollView();
            return(true);
        }
示例#2
0
 [Test] public void Read()
 {
     ImportConfig.Read();
 }