Ejemplo n.º 1
0
        public ColorSquare()
        {
            originColumn = new Pixbuf (Gdk.Colorspace.Rgb, false, 8, 1, HEIGHT);
            copy = new Pixbuf (Gdk.Colorspace.Rgb, false, 8, 1, HEIGHT);
            area = new Pixbuf (Gdk.Colorspace.Rgb, false, 8, WIDTH, HEIGHT);
            panelImage = new Image (ImageType.Normal, Visual, WIDTH, HEIGHT);

            this.Events = Gdk.EventMask.ButtonPressMask |
                Gdk.EventMask.PointerMotionMask |
                    Gdk.EventMask.ButtonReleaseMask;

            inst = this;
        }
Ejemplo n.º 2
0
        public ColorSquare()
        {
            originColumn = new Pixbuf(Gdk.Colorspace.Rgb, false, 8, 1, HEIGHT);
            copy         = new Pixbuf(Gdk.Colorspace.Rgb, false, 8, 1, HEIGHT);
            area         = new Pixbuf(Gdk.Colorspace.Rgb, false, 8, WIDTH, HEIGHT);
            panelImage   = new Image(ImageType.Normal, Visual, WIDTH, HEIGHT);

            this.Events = Gdk.EventMask.ButtonPressMask |
                          Gdk.EventMask.PointerMotionMask |
                          Gdk.EventMask.ButtonReleaseMask;

            inst = this;
        }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 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;
 }