public ClickEventHandler() { colorSpectrum = ColorSpectrum.Inst; colorBrightness = ColorBrightness.Inst; colorSaturation = ColorSaturation.Inst; colorSquare = ColorSquare.Inst; colorViewHandler = ColorView.Inst; colorCodeHandler = ColorCode.Inst; alphaColorCodeHandler = AColorCode.Inst; colorScalesHandler = ColorScales.Inst; alphaView = AlphaView.Inst; inst = this; }
public MainWindow() : base(Gtk.WindowType.Toplevel) { this.Build(); colorViewHandler = new ColorView(colorView, DEFAULT_COLOR_CODE); colorCodeHandler = new ColorCode(colorCode); alphaColorCodeHandler = new AColorCode(aColorCode); colorScalesHandler = new ColorScales(redScale, greenScale, blueScale, alphaScale); clickEventHandler = new ClickEventHandler(); base.Decorated = false; base.Resizable = false; base.Title = TITLE; }
public AColorCode(Entry aColorCode) { this.aColorCode = aColorCode; inst = this; }