Ejemplo n.º 1
0
 public SettingButton(float x, float y, float height, SettingsEnum settingOption, SettingsPanel settingsPanel) : base(x, y, height, string.Empty)
 {
     OriginalY      = y;
     Text           = SetSettingTitle(settingOption);
     SettingName    = settingOption;
     _settingsPanel = settingsPanel;
 }
Ejemplo n.º 2
0
        public SettingDialog(float x, float y, float width, float height, SettingsPanel settingsPanel) : base(x, y, 0, width)
        {
            _clipHeight              = height;
            _settingsPanel           = settingsPanel;
            _listOfOptionsDisplayers = new List <OptionsDisplayer>();

            _listOfOptionsDisplayers.Add(new LanguageOptionsDisplayer(0, 0, width, height));
            //_listOfOptions.Add(new SoundOptionsDisplayer(0,0,width, height));

            foreach (OptionsDisplayer optionsDisplayer in _listOfOptionsDisplayers)
            {
                AddChild(optionsDisplayer);
            }
        }