885147717a
libgimpwidgets: port GimpOffsetArea drawing to cairo
...
Has the same off-by-one bugs as before...
2010-09-11 22:39:05 +02:00
1770615125
libgimpwidgets: ports GimpColorSelect marker drawing to cairo
2010-09-11 22:24:08 +02:00
251177f18d
libgimpwidgets: fix GimpColorScale arrows to be as small as before
2010-09-11 22:06:00 +02:00
354a640e9e
libgimpwidgets: port the rest of GimpColorScale drawing to cairo
2010-09-10 21:33:00 +02:00
e617ecedd9
libgimpwidgets: port GimpColorScale slider drawing to cairo
2010-09-10 20:57:06 +02:00
8b4bcbb9e1
libgimpwidgets: port GimpColorArea drawing to cairo
...
And unexport an unused lib-internal function. Leave it there privately
though because it might be useful later.
2010-09-10 19:53:48 +02:00
6a22f17ab3
Merge branch 'master' into soc-2010-cage-2
2010-09-02 18:49:35 +03:00
1e525ff3b9
libgimpwidgets: allow gimpcairo-utils.h inclusion from non-gui files
...
This is such a bad hack, but I currently can't decide how to properly
split this file into GTK+ and non-GTK+ parts...
2010-09-01 23:13:02 +02:00
aee148a486
Merge branch 'master' into soc-2010-cage-2
2010-08-26 21:50:55 +03:00
1a609d6381
libgimpwidgets: cleanup
2010-08-11 23:32:44 +02:00
951c135483
theme: Temporary icons for dynamics and tool presets
...
Staring at a row of paintbrush icons got really annoying.
2010-08-12 00:08:19 +03:00
10574e8f22
libgimpwidgets: port GimpPickButton color picking to cairo
2010-08-08 16:10:14 +02:00
789cc05baf
libgimpwidgets: add new macro GIMP_CAIRO_RGB24_GET_PIXEL()
...
which reads a pixel from a cairo image surface's data.
2010-08-08 16:09:21 +02:00
1e48f16113
libgimpwidgets: port GimpCellRendererToggle drawing to cairo
2010-08-08 15:39:16 +02:00
f6316285be
structure of the cage tool, with an options object
2010-08-08 13:17:10 +02:00
8b31211639
Fix the bulid after GtkNotebookPage got deprecated in gtk-2-22
...
In all GtkNotebook::switch_page() callbacks, simply replace
GtkNotebookPage* by gpointer.
2010-07-16 15:24:25 +02:00
b3ee51794d
libgimpwidgets: fix most gtk-doc warnings
2010-07-05 19:04:15 +02:00
1f7ff98c45
libgimpwidgets: move docs from template files to inline comments
...
but leave the template file for gimpstock there because its contents
would be too much for gimpstock.h.
2010-07-05 18:01:28 +02:00
fad6053643
Make cairo code work with newer cairo backends that actually use caching
...
Call cairo_surface_flush() before reading or writing a surface's
pixels directly, and use cairo_surface_mark_dirty() after writing
pixels directly, so we don't read old pixels, and our written pixels
get actually used.
2010-06-28 12:23:31 +02:00
87ab39a943
Bug 608622 - Desaturate icon causes confusion with Gradients tool
2010-06-18 22:35:24 +02:00
56994869cd
libgimpwidgets: register descriptions for the GdkInputMode enum
...
so the combo box in the input dialog shows proper labels and
translations instead of GDK_MODE_FOO.
2010-06-11 09:53:08 +02:00
a2c70822d4
Use accessors from GTK+ 2.20 instead of using sealed members directly
2010-04-19 19:21:07 +02:00
29f7fe87b0
Base infra for tool presets.
2010-04-03 21:06:15 +03:00
1aeb315ecf
undef GTK_DISABLE_DEPRECATED in many places which undef GSEAL_ENABLE
...
because the widget flag access macros (e.g. GTK_WIDGET_REALIZED) are
now deprecated in GTK+ master.
2010-03-06 23:14:29 +01:00
5f0255e269
Add GIMP_STOCK_INPUT_DEVICE icons and use them for the devices dialog
...
From icon masta Jimmac.
2010-02-19 21:25:24 +01:00
dc05c2687e
libgimp: add a frame around the color areas again, but only one frame around both
2010-01-24 23:55:36 +01:00
6522fdc9b7
Bug 598344 - Make 'Current' and 'Old' colors in color selector adjacent
...
Make the color selector more slick by removing some UI cruft and
putting the 'Current' and 'Old' color fields right next to each other.
2010-01-23 09:31:05 +01:00
eac902d065
libgimp: use gtk_widget_get_visible() instead of GTK_WIDGET_VISIBLE()
2010-01-17 16:51:48 +01:00
42e31b1cc8
libgimpwidgets: clean up comment
...
Rephrase a comment so that it does not cause a false positive when
looking for deprecated GDK symbols.
2009-11-09 19:07:54 +01:00
b2e98c44ec
Don't filter out non-existing folders in the path editor
...
So the user actually has a chance to fix misconfigured paths.
2009-10-30 21:34:07 +01:00
210a4b5044
Merge resolution
2009-10-17 21:42:02 +03:00
fcd346a227
Build with GSEAL_ENABLE with a few exceptions
...
Use the new accessors in GTK+ 2.18 and #undef GSEAL_ENABLE where
accessors are missing or where I'm not quite sure how to fix the
stuff yet.
2009-10-17 18:51:48 +02:00
ee48b7b06e
Use accessors instead of table->children and adjustment->value
2009-10-17 18:49:12 +02:00
eb6bef33e4
Use gtk_widget_set_visible()
...
In places where the pattern
if (show)
gtk_widget_show (widget);
else
gtk_widget_hide (widget);
is used, change to
gtk_widget_set_visible (widget, show);
Also do some other minor cleanups.
2009-10-17 15:07:34 +02:00
d2143b8886
Merging master to current state
2009-08-21 19:26:05 +03:00
b1bbbb230d
Bug 542003 – Reset button breaks field updates on width and height boxes
...
Update all of the internal state in response to a reset request.
2009-08-05 23:42:58 +02:00
656e30cd3a
Looking at widget->requisition in size_allocate() is useless
...
Use the passed GtkAllocation for calculating things, not
widget->requisition.
2009-08-01 18:59:58 +02:00
2abca796bf
Don't touch widget->requisition in size_request()
...
gimp_ruler_size_request(): modify the passed GtkRequisition, not
widget->requisition.
2009-08-01 18:57:58 +02:00
08a88f681d
Lo and behold, menu item.
2009-07-30 20:49:10 +03:00
b2b2b41e62
Get rid of artificial compiler warnings
...
Get rid of artificial compiler warnings generated with the #warning
directive. They pollute the build output and don't work as incentives
for fixing stuff.
2009-07-20 12:47:59 +02:00
cb4aec187f
Update license to LGPL version 3 here as well.
2009-07-16 22:37:09 +02:00
997111bf0a
Use gtk_dialog_get_content_area() instead of dialog->vbox
2009-07-15 16:19:32 +02:00
facb13fdba
Use GtkOrientable API instead of accessing range->orientation directly
2009-07-15 01:53:30 +02:00
f1b14dd6b7
Update library .def files
2009-07-12 12:48:06 +02:00
77439d689e
Bug 584408 - If brush selection popup overlaps color gradient, clicks pass through
...
Keep track of the drag state the widget is in so it doesn't get confused
by release or motion events that don't have a related press event.
2009-06-01 22:55:43 +02:00
6c02aaa802
libgimpwidgets: set Clear icon sensitivity
...
Only set the Clear icon in the GimpBrowser Search entry sensitive if
there's text in the entry.
2009-05-24 17:24:28 +02:00
149cc5da09
libgimpwidgets: check icon position in the 'icon-press' signal handler
2009-05-24 17:06:17 +02:00
1832ba6b37
libgimpwidgets: add a Clear icon to the GimpBrowser's Search entry
2009-05-24 17:02:55 +02:00
a6d8c7c5c4
Revert "Make some GimpCoords* params const"
...
This reverts commit 063a6f03aa
.
2009-05-18 00:01:34 +02:00
063a6f03aa
Make some GimpCoords* params const
...
Add const to GimpCoords* params in GimpBrush::select_brush() and
want_null_motio().
2009-05-17 23:14:19 +02:00