예제 #1
0
        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;
        }
예제 #2
0
 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;
 }
예제 #3
0
        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;
        }
예제 #4
0
 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;
 }