Benjamin Otte
4d6a6be897
API: colorchooser: Use GtkOrientation for orientation
...
Unfortunately, this swaps the values from the previous state.
But it's definitely a nicer API.
2012-03-07 03:11:05 +01:00
Benjamin Otte
b83dcc26ad
tests: Fix gcc warning
2012-03-07 02:59:30 +01:00
Christian Persch
5a8dba7eac
colorchooser: Allow removing the palettes again
...
https://bugzilla.gnome.org/show_bug.cgi?id=671057
2012-03-04 00:29:04 -05:00
Matthias Clasen
6c2b7a9441
Revert "Add a button to back to the palette"
...
This reverts commit 32f1a5ad83
.
2012-02-14 16:39:05 -05:00
Matthias Clasen
57e057df60
Fill the custom palette up some more
2012-02-14 16:37:00 -05:00
Matthias Clasen
32f1a5ad83
Add a button to back to the palette
...
This is just for trying this out; if it is considered good,
it will be moved into GtkColorChooserDialog
2012-02-14 16:36:59 -05:00
Matthias Clasen
8f201d62d9
Add API to set palettes
...
I'm not really convinced by this; the API is a little complicated.
May need more thought.
2012-02-14 16:36:56 -05:00
Matthias Clasen
ed5aa953d5
testcolorchooser: Add more options
...
Add a --edit option that brings the color chooser up in
single-color edit mode right away.
2012-02-14 16:36:56 -05:00
Matthias Clasen
c5cfb6e02b
Rework the API a bit
...
Rename get/set_color to get/set_rgba and show_alpha to use_alpha,
to match existing GtkColorButton API and let GtkColorButton implement
GtkColorChooser.
2012-02-14 16:36:55 -05:00
Matthias Clasen
8178578359
Make alpha optional
2012-02-14 16:36:51 -05:00
Matthias Clasen
759765114f
Add a simple color chooser test
2012-02-14 16:36:49 -05:00