internal GimpColorButton(string title, int width, int height, GimpRGB color, ColorAreaType type) : base(gimp_color_button_new(title, width, height, ref color, type)) { }
public GimpColorButton(string title, int width, int height, RGB color, ColorAreaType type) : this(title, width, height, color.GimpRGB, type) { }
public GimpColorButton(string title, int width, int height, Variable<RGB> variable, ColorAreaType type) : this(title, width, height, variable.Value, type) { ColorChanged += delegate {variable.Value = Color;}; }
static extern IntPtr gimp_color_button_new(string title, int width, int height, ref GimpRGB color, ColorAreaType type);
static extern void gimp_color_button_set_type(IntPtr button, ColorAreaType type);
public GimpColorButton(string title, int width, int height, Variable <RGB> variable, ColorAreaType type) : this(title, width, height, variable.Value, type) { ColorChanged += delegate { variable.Value = Color; }; }
extern static void gimp_color_button_set_type(IntPtr button, ColorAreaType type);
extern static IntPtr gimp_color_button_new(string title, int width, int height, ref GimpRGB color, ColorAreaType type);