public ColorSaturation() { area = new Pixbuf(Gdk.Colorspace.Rgb, false, 8, WIDTH, HEIGHT); column = new Pixbuf(Gdk.Colorspace.Rgb, false, 8, 1, HEIGHT); copy = new Pixbuf(Gdk.Colorspace.Rgb, false, 8, 1, HEIGHT); panelImage = new Image(ImageType.Normal, Visual, WIDTH, HEIGHT); this.Events = Gdk.EventMask.ButtonPressMask | Gdk.EventMask.PointerMotionMask | Gdk.EventMask.ButtonReleaseMask; inst = this; }
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; }