public ColorSpectrum() { createPointsArrays(); 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; }