public object SetCalcOptions(Object o) { HoroscopeOptions ho = (HoroscopeOptions)o; h.options.Copy(ho); h.OnChanged(); return(h.options.Clone()); }
public MhoraGlobalOptions() { HOptions = new HoroscopeOptions(); SOptions = new StrengthOptions(); mLat = new HMSInfo(47, 40, 27, HMSInfo.dir_type.NS); mLon = new HMSInfo(-122, 7, 13, HMSInfo.dir_type.EW); mTz = new HMSInfo(-7, 0, 0, HMSInfo.dir_type.EW); this.mfFixedWidth = new Font("Courier New", 10); this.mfGeneral = new Font("Microsoft Sans Serif", 10); this.bDasaHoverSelect = false; this.bDasaMoveSelect = true; this.bDasaShowEvents = true; this.miDasaShowEventsLevel = 2; this.mcDasaBackColor = Color.Lavender; this.mcDasaDateColor = Color.DarkRed; this.mcDasaPeriodColor = Color.DarkBlue; this.mcDasaHighlightColor = Color.White; this.mbShowSplashScreeen = true; this.mbSavePrefsOnExit = true; this.msNotesExtension = "txt"; this.mcBodyLagna = Color.BlanchedAlmond; this.mcBodySun = Color.Orange; this.mcBodyMoon = Color.LightSkyBlue; this.mcBodyMars = Color.Red; this.mcBodyMercury = Color.Green; this.mcBodyJupiter = Color.Yellow; this.mcBodyVenus = Color.Violet; this.mcBodySaturn = Color.DarkBlue; this.mcBodyRahu = Color.LightBlue; this.mcBodyKetu = Color.LightPink; this.mcBodyOther = Color.Black; this.mcVargaBackground = Color.AliceBlue; this.mcVargaSecondary = Color.CadetBlue; this.mcVargaGraha = Color.DarkRed; this.mcVargaLagna = Color.DarkViolet; this.mcVargaSAV = Color.Gainsboro; this.mcVargaSpecialLagna = Color.Gray; this.mChartStyle = DivisionalChart.UserOptions.EChartStyle.SouthIndian; this.mfVarga = new Font("Times New Roman", 7); this.bVargaSquare = true; this.bVargaShowDob = true; this.bVargaShowSAVVarga = true; this.bVargaShowSAVRasi = false; this.mcTableBackground = Color.Lavender; this.mcTableForeground = Color.Black; this.mcTableInterleaveFirst = Color.AliceBlue; this.mcTableInterleaveSecond = Color.Lavender; this.mcChakraBackground = Color.AliceBlue; }