allow width/height of the color_area to be set to negative values so the
2001-01-11 Sven Neumann <sven@gimp.org> * libgimp/gimpcolorbutton.[ch]: allow width/height of the color_area to be set to negative values so the GimpColorButton can be set up resizeable.
This commit is contained in:
committed by
Sven Neumann
parent
f73768b5b5
commit
09e5207a33
@ -1,3 +1,9 @@
|
||||
2001-01-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimpcolorbutton.[ch]: allow width/height of the color_area
|
||||
to be set to negative values so the GimpColorButton can be set up
|
||||
resizeable.
|
||||
|
||||
2001-01-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* README: changed for gimp-1.3
|
||||
|
||||
@ -199,14 +199,13 @@ gimp_color_button_get_type (void)
|
||||
**/
|
||||
GtkWidget *
|
||||
gimp_color_button_new (const gchar *title,
|
||||
guint width,
|
||||
guint height,
|
||||
gint width,
|
||||
gint height,
|
||||
GimpRGB *color,
|
||||
gboolean alpha)
|
||||
{
|
||||
GimpColorButton *gcb;
|
||||
|
||||
g_return_val_if_fail (width > 0 && height > 0, NULL);
|
||||
g_return_val_if_fail (color != NULL, NULL);
|
||||
|
||||
gcb = gtk_type_new (gimp_color_button_get_type ());
|
||||
|
||||
@ -52,8 +52,8 @@ struct _GimpColorButtonClass
|
||||
|
||||
GtkType gimp_color_button_get_type (void);
|
||||
GtkWidget * gimp_color_button_new (const gchar *title,
|
||||
guint width,
|
||||
guint height,
|
||||
gint width,
|
||||
gint height,
|
||||
GimpRGB *color,
|
||||
gboolean alpha);
|
||||
void gimp_color_button_set_color (GimpColorButton *gcb,
|
||||
|
||||
@ -199,14 +199,13 @@ gimp_color_button_get_type (void)
|
||||
**/
|
||||
GtkWidget *
|
||||
gimp_color_button_new (const gchar *title,
|
||||
guint width,
|
||||
guint height,
|
||||
gint width,
|
||||
gint height,
|
||||
GimpRGB *color,
|
||||
gboolean alpha)
|
||||
{
|
||||
GimpColorButton *gcb;
|
||||
|
||||
g_return_val_if_fail (width > 0 && height > 0, NULL);
|
||||
g_return_val_if_fail (color != NULL, NULL);
|
||||
|
||||
gcb = gtk_type_new (gimp_color_button_get_type ());
|
||||
|
||||
@ -52,8 +52,8 @@ struct _GimpColorButtonClass
|
||||
|
||||
GtkType gimp_color_button_get_type (void);
|
||||
GtkWidget * gimp_color_button_new (const gchar *title,
|
||||
guint width,
|
||||
guint height,
|
||||
gint width,
|
||||
gint height,
|
||||
GimpRGB *color,
|
||||
gboolean alpha);
|
||||
void gimp_color_button_set_color (GimpColorButton *gcb,
|
||||
|
||||
Reference in New Issue
Block a user