Пример #1
0
        public DataManager(PluginMain _plugin)
        {
            plugin   = _plugin;
            settings = new PluginSettings(this);

            ACTTabControl ctl = plugin.ACTTabControl;

            settings.AddControlSetting("SoundEnable", ctl.checkSoundEnable);
            settings.AddControlSetting("ViewVisible", ctl.checkViewVisible);
            settings.AddControlSetting("ViewMouseEnable", ctl.checkViewMouseEnable);
            settings.AddControlSetting("ViewX", ctl.udViewX);
            settings.AddControlSetting("ViewY", ctl.udViewY);
            // 互換性のため OpacityPercentage で保存
            //settings.AddControlSetting("Opacity", ctl.trackBarOpacity);
            settings.AddIntSetting("OpacityPercentage");
        }