public EditPropertiesController(AppProperties appProperties) : base(null, true) { _appProperties = appProperties; _bctx = new BindingContext (null, _appProperties, "Properties"); this.Root = _bctx.Root; }
public void LoadProperties(AppProperties appProperties) { this._maxIntensity = appProperties.meterIntensity; this._numLights = (uint)appProperties.numLights; this._variableLightIntensity = appProperties.variableLightIntensity; this.SetNeedsDisplay (); }
public void LoadProperties(AppProperties appProperties) { if (this.player != null) { NSUrl fileURL; if (appProperties.playerFileId == 0) fileURL = NSUrl.FromFilename (NSBundle.MainBundle.PathForResource ("sample" , @"m4a")); else fileURL = NSUrl.FromFilename (NSBundle.MainBundle.PathForResource ("sample2ch" , @"m4a")); if (fileURL.Path != this.player.Url.Path) { pausePlaybackForPlayer (this.player); CreateNewPlayer (fileURL); } } this.lvlMeter_in.LoadProperties (appProperties); }
public void LoadProperties(AppProperties appProperties) { _appProperties = appProperties; this._useGL = _appProperties.meterTypeId == 0; this._showsPeaks = _appProperties.showPeaks; this.layoutSubLevelMeters (); }