protected virtual void OnColorsRefreshed() { selection_fill = colors.GetWidgetColor(GtkColorClass.Dark, StateType.Active); selection_stroke = colors.GetWidgetColor(GtkColorClass.Background, StateType.Selected); view_fill = colors.GetWidgetColor(GtkColorClass.Base, StateType.Normal); view_fill_transparent = view_fill; view_fill_transparent.A = 0; }
protected virtual void OnColorsRefreshed() { selection_fill = colors.GetWidgetColor(GtkColorClass.Dark, StateType.Active); selection_stroke = colors.GetWidgetColor(GtkColorClass.Background, StateType.Selected); view_fill = colors.GetWidgetColor(GtkColorClass.Base, StateType.Normal); view_fill_transparent = view_fill; view_fill_transparent.A = 0; text_mid = CairoExtensions.AlphaBlend( colors.GetWidgetColor(GtkColorClass.Base, StateType.Normal), colors.GetWidgetColor(GtkColorClass.Text, StateType.Normal), 0.5); }