Пример #1
0
            private void RefreshGC()
            {
                if (text_window == null)
                {
                    return;
                }

                text_gc = new Gdk.GC(text_window);
                text_gc.Copy(Style.TextGC(StateType.Normal));
                Gdk.Color color_a = parent.Style.Foreground(StateType.Normal);
                Gdk.Color color_b = parent.Style.Background(StateType.Normal);
                text_gc.RgbFgColor = DrawingUtilities.ColorBlend(color_a, color_b, 0.5);
            }