Michael Natterer
8a2474a371
libgimpwidgets: never ellipsize anything in the combo box' popup
...
The popup can be wider than the widget, so show the full strings.
2013-06-03 21:33:21 +02:00
Michael Natterer
34ee988a93
libgimpwidgets: only ellipsize GimpIntComboBox's text if requested
2013-06-03 16:57:42 +02:00
Michael Natterer
418a310f36
libgimpwidgets: add a "label" property and API to GimpIntComboBox
...
If set, the label is displayed left-aligned inside the combo box, and
the normal content moves to the right. Reconfigure the combo's
contents when the popup is shown/hidden, so the popup widget is not
affected by the label. This requires an evil hack because of a bug in
GtkCellView. The hack automatically disables itself once GTK+ 2.24.19
(which has a fix) is used.
2013-06-03 16:36:25 +02:00
Michael Muré
c86daeabb1
libgimpwidgets, themes: setup a dumb icon for the tool
...
(Add the icon in advance so the gimpstock.h change doesn't trigger
a full rebuild when switching branches)
2013-05-18 10:40:41 +02:00
Clayton Walker
05ac996881
Register GIMP_STOCK_TOOL_SEAMLESS_CLONE
2013-05-15 00:25:32 +02:00
Alexandre Prokoudine
aaaa9eef85
Bug 699257 - Duplicated shortcut for Set Image Canvas Size dialog
...
Stock Reset and Resize buttons had clashing _R accelerator in the
Resize Canvas Size dialog.
2013-05-13 01:06:12 +02:00
Michael Natterer
f45e7c26be
libgimpwidgets: add gdk_cairo_get_clip_rectangle() to gimpwidgets.def
2013-04-20 14:49:25 +02:00
Michael Natterer
89bf66d471
libgimpwidgets: add gdk_cairo_get_clip_rectangle() to gimp3migration.[ch]
2013-04-19 02:23:21 +02:00
Téo Mazars
24a2113170
Bug 656522 - Scaled Image Rounds Up To Nearest Pixel
...
Prevent gimp_coordinates_callback () to be called recursively
when x and y are chained.
One call puts all values in a consistent state, a recusive call can
cause side effects (calculations with rounded values)
2013-03-27 01:04:33 +01:00
Michael Natterer
d1503ead83
Bug 694477 - GimpSizeEntry input validation doesn't snap to min/max values
...
gimp_size_entry_eevl_input_callback(): CLAMP() the input value before
passing it back to GtkSpinButton, or it will revert too large/small
inputs back to the old value, instead of using the field's max/min
values.
2013-02-22 21:22:03 +01:00
Michael Natterer
0bbc2b6231
libgimpwidgets: set a min size of 8 chars on GimpColorHexEntry
...
because GtkEntry's default min size is way too large for this use
case.
2013-02-06 23:23:14 +01:00
Ville Skyttä
6b0d1038cc
Bug 692641 - Various spelling fixes
2013-01-27 18:59:02 +01:00
Michael Natterer
f1c785fb37
libgimpwidgets: remove all item width logic from GimpPageSelector
...
It seems GtkIconView got fixed, and now the pile of code I added to
make the layout nice has exactly the opposite effect. Get rid of the
pile.
2012-11-23 23:29:44 +01:00
Massimo Valentini
67525c0d47
Bug 688305: drag and drop for guides broken
2012-11-15 19:02:42 +01:00
Michael Natterer
908f727f0a
Chain up unconditionally in GObject::constructed()
...
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
Michael Natterer
9e5ed1e70a
Bug 684003 - When using the main window in secondary monitor...
...
If gimp_window_set_transient_for() fails (due to platform
restrictions), at least set GTK_WIN_POS_CENTER on the window, so it
gets centered on the monitor where the mouse is. This also removes the
need for OSX specific centering code in GimpDialog (bug 677776).
2012-11-11 21:09:46 +01:00
Michael Natterer
fe19ad9706
Bug 683694 - Spelling errors
...
Reworded all places that used to say "allows to".
2012-11-11 15:50:25 +01:00
Michael Natterer
e1e32a03a9
Bug 676978 - Improved visibility icons for Layers dialog
...
make the strike out line a bit thinner and shorter. We shouldn't
change the line's color because using proper theme colors makes sure
the line is always perfectly visible.
2012-11-09 11:37:01 +01:00
Michael Natterer
0b56aa0d13
Bug 677776 - filter popup windows get hidden behind main image window
...
On OSX, call [NSApp activateIgnoringOtherApps] when a plug-in dialog
is shown, so the plug-in process becomes the active app, and the
dialog gets focussed.
In order to avoid doing this in GimpDialog (which is also used in
the core), do it in gimp_ui_init() which all interactive plug-ins
call, and when gimp_temp_proc_run() is called interactively, to
catch repeated activation of an already running plug-in.
Also, set GimpDialog's initial position to GTK_WIN_POS_CENTER,
or they will pop up in the top left corner.
Inspired by patches from Simone Karin Lehmann and Daniel Sabo.
2012-11-07 23:44:35 +01:00
Mukund Sivaraman
bc079e6cab
build: Add $(AM_V_GEN) to more places in Makefile.am files
2012-10-10 13:13:56 +05:30
Mukund Sivaraman
2adb81ee0d
libgimpwidgets: Use AM_V_GEN in Makefile.am for pretty output
2012-10-10 03:40:32 +05:30
Michael Natterer
85ea7771d5
libgimpwidgets: make GimpIntStore behave a bit nicer (don't warn)
...
when used in "unexpected" ways. Where "unexpected" is as simple as
removing an item from the store.
2012-10-08 21:32:59 +02:00
Michael Natterer
2a30a2bb74
Bug 684698 - Preferences-Folders: only 15 folder items accepted
...
Raise "max_paths" from 16 to 256 in all calls to gimp_path_parse().
2012-09-26 23:29:51 +02:00
Michael Natterer
0ca03e8827
app: add a "Convert Precision" dialog for choosing dithering options
...
Does absolutely nothing yet.
2012-09-23 23:47:28 +02:00
Michael Natterer
c6ba0ffbdf
app/cursors/libgimpwidgets: bye bye stone age B&W bitmap cursors
2012-08-26 22:53:04 +02:00
Mikael Magnusson
99f9d4d219
transformtool: add old "new" unified transformation tool
...
This is the proof of concept code I wrote before gsoc, with very naive
behaviour and simple interface.
2012-08-20 15:22:21 +02:00
Michael Natterer
012457e81d
libgimpwidgets: port more deprecations to GIMP_DEPRECATED
2012-05-06 00:30:54 +02:00
Michael Natterer
486e76bdab
libgimp*: use GIMP_API_VERSION in Makefile.am instead of hardcoding 2.0
2012-05-04 15:38:45 +02:00
Michael Natterer
3ad73b3658
libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions
...
and update tons of includes in libgimp and app.
2012-05-03 03:37:20 +02:00
Michael Natterer
3e119c5af7
libgimpcolor: add gimp_rgb[a]_set,get_pixel()
...
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
Michael Natterer
2414301799
Review the last few commits and apply some style fanaticism
...
some completely unrelated,
2012-02-07 20:36:55 +01:00
Massimo Valentini
39368a410d
plugged memory leaks
2012-02-07 17:32:02 +01:00
Michael Natterer
056e09a6cb
Remove the makefile.msc build system, it is unmaintained since 2008
2011-12-16 15:53:56 +01:00
Michael Natterer
94c322ff70
libgimpwidgets: set GimpColorSelector's config to NULL in dispose()
...
so the subclasses have a chance to release their stuff.
2011-12-11 02:43:14 +01:00
Michael Natterer
12a8eec444
libgimpwidgets: keep GimpColorNotebook->selectors in a consistent state
...
by connecting to the notebook's "remove" signal and updating the list
in the callback, so the list is consistent during the widget's
destruction.
2011-12-11 02:41:01 +01:00
Michael Natterer
180cb656ae
Remove more gdk_pointer_grab() where they are not strictly needed
...
and replace them by gtk_grab_add()/remove().
2011-12-10 21:51:05 +01:00
Michael Natterer
ebbad40885
Doc fixes in both source comments and gtk-doc files
2011-11-25 21:39:55 +01:00
Mukund Sivaraman
324ad1e426
libgimpwidgets: Drop redundant assignment
2011-10-12 17:21:23 +05:30
Michael Natterer
6bee9df474
libgimpwidgets: don't hardcode GDK_MOD2_MASK for extended clicked
...
Instead, check for all sorts of modifiers from the new
gtk_widget_get_modifier_mask(), which are always right
on the current platform.
2011-10-09 23:59:40 +02:00
Michael Natterer
9fff65f1b2
libgimpwidgets: emit GimpButton::extended-clicked() also on MOD2-click
...
it doesn't hurt on Win/X11 and is needed on OSX for Command-click.
2011-10-06 22:56:04 +02:00
Mukund Sivaraman
643dceec02
libgimpwidgets: Add missing symbols to gimpwidgets.def
2011-10-05 09:25:21 +05:30
Michael Natterer
6e6a70b7f8
libgimpwidgets: add some modifier abstraction API to gimp3migration.[ch]
...
Work in progress and unused, will help to make things proper on OSX.
2011-10-04 23:09:09 +02:00
Mukund Sivaraman
0afe030552
libgimpwidgets: Remove dead assignments
2011-10-04 14:33:42 +05:30
Martin Nordholts
60d2536bd1
libgimpwidgets: Sort gimpwidgets.def
...
For make distcheck.
2011-10-03 07:07:10 +02:00
Michael Natterer
f1d4dde36a
libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch]
...
and remove gimp_button_event_triggers_context_menu() again. Update
all callers to use the new function.
2011-10-02 16:23:59 +02:00
Michael Natterer
f007ce352d
libgimpwidgets: add gtk_separator_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-10-02 14:36:42 +02:00
Michael Natterer
2c175b068d
libgimpwidgets: add gtk_paned_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-10-02 14:36:42 +02:00
Michael Natterer
19b9bfd189
libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch]
...
and use it all over the place. Also change some GtkObject* variables
to GtkAdjustment*.
2011-10-02 14:36:41 +02:00
Michael Natterer
16817c666f
libgimpwidgets: add gtk_scrollbar_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-10-02 14:36:41 +02:00
Michael Natterer
f342b50483
libgimpwidgets: add gtk_button_box_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-09-30 15:44:33 +02:00
Michael Natterer
83eb6fdc9e
libgimpwidgets: use gtk_box_new()
2011-09-30 10:50:50 +02:00
Michael Natterer
030413b9f6
libgimpwidgets: add gimp3migration.[ch] to help the gtk3-port branch
...
This is such a hack, but entirely safe when linking against GTK+ 2.x.
Please ignore the uglyness.
2011-09-30 10:45:00 +02:00
Michael Natterer
bc4fa9a8c4
libgimpwidgets: support GtkCellRendererToggle's "inconsistent" state
...
and strike out GimpCellRendererToggle's icon in the inconsistent case.
2011-09-23 23:42:09 +02:00
Michael Natterer
989ac15a97
Bug 659348 - Provide a translation comment for "Empty"
2011-09-23 22:45:32 +02:00
Michael Natterer
d92cd2f6c8
Add gimp_button_event_triggers_context_menu() and use it
...
instead of checking for event->button == 3, so context menus
work correctly on the Mac. Didn't change the image menu yet
because thet requires some more refactoring.
2011-09-19 00:47:23 +02:00
Michael Natterer
9c6338900e
libgimp*: don't derive from GtkHBox and GtkVBox in libgimp either
...
I know this is not 100% compatible, but is in fact absolutely safe to
change unless somebody is using the headers in ways that are totally
wrong.
2011-07-27 19:53:34 +02:00
Massimo Valentini
c39ca0f74f
Initialize two GtkTreeIter
...
to avoid harmless, but annoying, valgrind warnings on x86_64
2011-06-17 19:02:08 +02:00
Michael Natterer
05cd8670c3
libgimpwidgets: deprecate gimp_toggle_button_sensitive_update()
...
Use g_object_bind_property() instead.
2011-05-11 22:13:33 +02:00
Michael Natterer
c35ff719a7
app/libgimp*: remove stuff found by -Wunused-but-set-variable
2011-05-01 23:23:19 +02:00
Michael Natterer
2b1807054f
libgimp*: update .def files after cairo functions moved between libs
2011-05-01 11:24:26 +02:00
Michael Natterer
1de19c8b57
libgimpwidgets: clean up class struct and add gtk-doc section comment
2011-04-28 17:57:40 +02:00
Michael Natterer
cc47b2a600
libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
...
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
Michael Natterer
268930f489
libgimpwidgets: gimp_pixmap_button_new, gimp_unit_menu_update -> gimpoldwidgets
...
where they belog. gimp_unit_menu_update() is newly deprecated.
2011-04-28 14:53:49 +02:00
Michael Natterer
844df2b4df
libgimp*: add guards that #error out if individual files are included
...
This only helps to maintain proper includes in app/ and shouldn't
affect plug-ins at all, because these are supposed to only include the
main headers from libgimp/ since the beginning of time.
The gimpfootypes.h files do not have these guards, so we can continue
to maintain app/'s include policy that is very likely to error out if
wrong things are included.
2011-04-28 14:30:41 +02:00
Mukund Sivaraman
7c879dfa99
libgimpwidgets: Add back gtk-doc comment for @stack
2011-04-27 06:10:14 +05:30
Mukund Sivaraman
4f96dd311e
libgimpwidgets: Remove incorrect gtk-doc
2011-04-25 19:35:35 +05:30
Mukund Sivaraman
d04efe3a03
libappwidgets: Initialize arrays before use
2011-04-25 19:34:02 +05:30
Mukund Sivaraman
27db4d9fc0
libgimpwidgets: Fix typo in array index
2011-04-25 19:32:08 +05:30
Mukund Sivaraman
a31d8dab79
Revert "libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized"
...
This reverts commit a0ff981041
.
2011-04-25 19:29:55 +05:30
Michael Natterer
d272159194
libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap()
2011-04-22 00:44:32 +02:00
Mukund Sivaraman
a0ff981041
libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized
...
This also removes the bogus double assignment to l[2].
2011-04-21 14:22:13 +05:30
Michael Natterer
59ea89234f
app: GimpRuler: clip position marker drawing to the ruler's allocation
...
so we don't overdraw when drawing out of expose.
2011-04-20 00:31:59 +02:00
Michael Natterer
7e6c026790
Globally use GDK_KEY_foo, remove the compat defines from widgets-enums.h
2011-04-11 23:43:03 +02:00
Michael Natterer
3440f8c7e8
libgimpwidgets: no need any longer to set GtkDialog:has-separator to FALSE
2011-04-11 23:19:27 +02:00
Michael Natterer
c215677876
libgimpwidgets: turn GimpRuler into a no-window widget
...
and use an input-only window for events.
2011-04-10 02:00:40 +02:00
Mikael Magnusson
5cea6b067f
Alias the icon for mouse controller to gimp-cursor for now
2011-04-06 23:49:34 +02:00
Mikael Magnusson
ac403ce11d
Add a controller for binding mouse buttons
2011-04-06 23:35:14 +02:00
Mikael Magnusson
3eb096b239
Revert "libgimpwidgets: avoid using a function only available since GTK+ 2.22"
...
We depend on GTK+ 2.24 now.
This reverts commit 0e55c5e4d8
.
2011-04-06 20:19:09 +02:00
Michael Natterer
24ee3370b8
Depend on GTK+ >= 2.24.3, cairo >= 1.20.1, gdk-pixbuf >= 2.22.1
...
and completely separate configure and sanity checks for gdk-pixbuf
from GTK+, because it's now distributed as a separate package. Remove
all sorts of conditional compiling based on GDK_CHECK_VERSION() and
CAIRO_VERSION.
2011-04-06 19:58:24 +02:00
Michael Natterer
384689b761
libgimpwidgets: add a private struct to GimpDialog and use it for help stuff
...
and remove all g_object_get/set_data() hacks.
2011-03-20 13:21:59 +01:00
Michael Natterer
c469dbb206
libgimpwidgets: turn GimpDialog's "parent" into a property
...
and remove the parent peoperty from GimpViewableDialog.
2011-03-20 12:44:03 +01:00
Michael Natterer
c6e35435ad
libgimpwidgets: don't treat -1 as value of enum PangoAttrType
2011-03-17 15:28:41 +01:00
Michael Natterer
b725eaa682
libgimpwidgets: don't mix GimpWidgetHelpType and GtkWidgetHelpType
...
Because latest GCC warns about it.
2011-03-17 14:41:34 +01:00
Michael Natterer
fcfb7cf160
Use the new g_[s]list_free_full() instead of foreach() and free()
2011-03-07 17:11:28 +01:00
Michael Natterer
ca1cc32e52
libgimpwidgets: use GtkComboBoxText when building against GTK+ >= 2.24
2011-03-06 11:51:24 +01:00
Michael Natterer
5dcb50ed7d
libgimpwidgets: add properties GimpEnumLabel:enum-type and :enum-value
2011-02-15 21:26:11 +01:00
Michael Natterer
31b4d3801e
libgimpwidgets: add properties GimpColorButton:area-width and :area-height
2011-02-15 20:55:32 +01:00
Michael Natterer
e44d3b46ef
libgimpwidgets: make GimpColorScale:channel a property
2011-02-15 18:52:00 +01:00
Michael Natterer
6c7e24c9b3
libgimpwidgets: don't draw a focus line to indicate "selected"
...
I have no idea what I was thinking when adding this.
2011-02-09 09:25:34 +01:00
Michael Natterer
4fd56d9640
libgimpwidgets: don't pass around uninitialized memory in GimpRuler
2011-02-06 11:20:07 +01:00
Martin Nordholts
0cbb8ac0bf
libgimpwidgets: Update gimpwidgets.def
2011-01-26 06:33:10 +01:00
Martin Nordholts
835d92e4ad
libgimpwidgets: Fix gtk-doc warning
2011-01-26 06:26:36 +01:00
Omari Stephens
5cae0bf65c
Bug 630748 - display filters do not work
...
Create and use Cairo-compatible API for display filters. Also
includes logic changes to the display filters to deal with cairo's
ARGB32 pre-multiplied buffer format.
2011-01-25 20:24:42 +01:00
Omari Stephens
14276add92
Add missing parens around macro arguments
2011-01-24 22:15:06 +01:00
Michael Natterer
3ef31e4cc8
libgimpwidgets: use new GdkWindow API only when available
2011-01-23 00:30:58 +01:00
Michael Natterer
d155be622d
libgimpwidgets: fix ruler motion event tracking on offscreen overlays
...
Add a list of "track widgets" to GimpRuler and connect to their
motion-notify-event. Correctly translate the motion event's x/y to the
ruler's coordinate system when updating the marker.
2011-01-20 20:26:35 +01:00
Michael Natterer
8d2d16ac25
libgimp*: implement GObject::constructed() instead of ::constructor()
2011-01-12 22:03:33 +01:00
Michael Natterer
413dc0331d
libgimpwidgets: don't call gtk_dialog_set_has_separator()
...
It's deprecated in GTK+ 2.22. Instead use g_object_set() and add a
comment as reminder to remove that too later.
2011-01-08 21:58:21 +01:00
Michael Natterer
73b5e1d8a6
libgimpwidgets: remove commented-out code
2011-01-07 19:38:34 +01:00
Michael Natterer
60ebedb319
libgimpwidgets: no need to set a GtkRange's update-policy to CONTINUOUS
...
because it's the default.
2011-01-07 15:06:56 +01:00
Mikael Magnusson
0e55c5e4d8
libgimpwidgets: avoid using a function only available since GTK+ 2.22
2010-12-18 00:31:56 +01:00
Mikael Magnusson
780579554a
libgimpwidgets: undef GDK_DISABLE_DEPRECATED in gimppixmap.c
2010-12-17 22:59:50 +01:00
Mikael Magnusson
2471f37660
libgimpwidgets: port the ruler from deprecated gdk to cairo
...
Backported from the gtk3-port branch.
2010-12-17 22:59:49 +01:00
Mikael Magnusson
644a272f19
libgimpwidgets: port gimppreviewarea from deprecated gdk to cairo
...
Backported from the gtk3-port branch.
2010-12-17 22:59:46 +01:00
Michael Natterer
4a4994f4db
libgimpwidgets: bring back unit format strings in GimpSizeEntry
...
Use the user-provided format string as long-format and try to create a
short-format by replacing "%s" and "%p" by "%a" for the popup. Works
nicely for all cases I've seen so far.
2010-11-05 16:30:23 +01:00
Michael Natterer
73a6ddf7b5
libgimpwidgets: use the short and long format strings for the unit combo
...
where the short one gets used for the combo itself, and the long one
for the popup.
2010-11-05 16:28:54 +01:00
Michael Natterer
e821cd4881
libgimpwidgets: add "short-format" and "long-format" properties
...
which have the are format strings for gimp_unit_format_string(). The
formatted strings are kept in the respective new model columns.
2010-11-05 16:26:58 +01:00
Alexia Death
dfd5470a2e
Merge remote branch 'origin/master' into soc-2010-cage-2
2010-11-04 20:00:36 +02:00
Alexia Death
27c77e6a5e
Merge branch 'master' into soc-2010-cage-2
2010-11-04 00:41:45 +02:00
Michael Natterer
7796760908
libgimpwidgets: style cleanup
2010-10-31 22:15:52 +01:00
Michael Natterer
b76df39f06
libgimpwidgets: use gimp_unit_format_string() in GimpUnitMenu
2010-10-31 22:11:32 +01:00
Michael Natterer
dbf1d49efe
libgimpwidgets: let the size entry's spinbutton fill the available space
...
so we at least get a nice layout if the spinbuttons have different
sizes. Makes the tool options look a bit less ugly.
2010-10-31 16:45:49 +01:00
Michael Natterer
be3ebbb65c
libgimpwidgets: tooltips no longer require an event box around no-window widgets
2010-10-31 16:30:03 +01:00
Michael Natterer
5bc3317b5a
libgimpwidgets: fix the new prop_unit_combo_box to work like the oly unit menu
...
- don't forget to set the initial value
- set has_pixels and has_percent on the unit store from the param spec
2010-10-30 19:39:31 +02:00
Michael Natterer
79f0f5639b
Don't use gtk_container_add() for adding to GtkBoxes
...
because the packing options are different for GtkH/VBox and GtkBox
itself which is now instantiable. Instead, always use
gtk_box_pack_start() and specify expanding explicitely.
2010-10-30 14:57:56 +02:00
Michael Natterer
9e28a0406b
libgimpwidgets: use accessors for GtkAdjustment members
...
so it builds with GSEAL_ENABLE. Also keep around the adjustments as
GtkAdjustment not GtkObject to avoid casting all the time.
2010-10-19 18:38:00 +02:00
Michael Natterer
d831b9a353
libgimpwidgets: fix GimpFrame's child allocation for GSEAL_ENABLE
...
Don't override GtkFrame::compute_child_allocation() because we
completely override all functions that call this virtual function
anyway. Consequently, there is no need to store the child's allocation
in the sealed frame->child_allocation.
2010-10-18 16:40:47 +02:00
Mukund Sivaraman
0ff751fd2d
Sort gimpwidgets.def entries
2010-10-16 11:53:50 +05:30
Mukund Sivaraman
8b57945ebb
Convert spaces to tab in def file
2010-10-16 11:48:48 +05:30
Mukund Sivaraman
c7f36d1546
Add missing symbols to gimpwidgets.def
2010-10-16 11:48:23 +05:30
Michael Natterer
47c6b25f23
libgimpwidgets: transform the cr to widget coords
...
Get rid of allocation.foo and also kill all the rectangle intersection
that are not really optimizations on such a small widget.
2010-10-15 11:09:47 +02:00
Michael Natterer
3584b662a6
libgimpwidgets: transform the cr to widget coords
...
and get rid if all the allocation.x and .y
2010-10-15 10:40:37 +02:00
Michael Natterer
1de338ea9d
libgimpwidgets: port the GimpChainButton lines to cairo
...
A proper two-pixel line in FG color looks a lot less shabby...
2010-10-15 10:35:28 +02:00
Michael Natterer
84274e2230
libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 02:34:29 +02:00
Michael Natterer
b67dbdc6ca
libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 02:25:51 +02:00
Michael Natterer
a9e6297110
libgimpwidgets: implement GObject::finalize() instead of GtkObject::destroy()
2010-10-15 02:12:33 +02:00
Michael Natterer
6a10ded221
libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 02:07:55 +02:00
Michael Natterer
b25ac7b68d
libgimpwidgets: add "percent" support to GimpUnitStore
...
and enable "menu_show_percent" again in GimpSizeEntry.
2010-10-15 01:27:02 +02:00
Michael Natterer
e5faf090ca
libgimpwidgets: add gimp_unit_store_set,get_has_pixels()
...
to allow having unit combos without "pixels". Adapt GimpUnitComboBox
to not assume that the unit is equal to the index in the store and
enable "menu_has_pixels" in GimpSizeEntry again.
2010-10-15 00:15:48 +02:00
Michael Natterer
f2bd06e2d1
libgimpwidgets: move GimpUnitStore members to a private struct
2010-10-14 23:22:22 +02:00
Michael Natterer
c36f762f7d
libgimpwidgets: deprecate GimpUnitMenu and gimp_prop_unit_menu_new()
...
Add gimp_prop_unit_combo_box_new() and adapt all places using the
prop_unit_menu. Some things are broken now, like there are no pixel
digits set, resolution unit menus show "pixels" and warn badly when
pixels is selected, and file-pdf-load is not built right now.
More fixes to come...
2010-10-14 23:03:34 +02:00
Michael Natterer
74458f46ee
app/libgimpwidgets: move GimpUnitStore and GimpUnitComboBox to libgimpwidgets
2010-10-14 22:15:25 +02:00
Michael Natterer
af518f9e84
libgimpwidgets: use GObject::dispose() instead of GtkObject::destroy()
2010-10-14 17:47:48 +02:00
Michael Natterer
843d9e35ad
libgimpwidgets: replace GdkGC* with gpointer for an unused struct member
2010-10-14 17:22:56 +02:00
Sven Neumann
db72c72c1f
Bug 631609 - [regression] no transparency on antialiased fonts
...
Render the layout into an ARGB32 surface and convert the text layer
pixel format from that.
2010-10-07 22:21:49 +02:00
Sven Neumann
8f9ffe597d
libgimpwidgets: add const qualifiers
...
Sprinkle GIMP_CAIRO_ARGB32_SET_PIXEL() with const qualifiers.
2010-09-26 22:12:13 +02:00
Alexia Death
74e5864fa6
Merge branch 'master' into soc-2010-cage-2
2010-09-26 23:08:15 +03:00
Michael Natterer
d62c287fce
libgimpwidgets: remove the pixbuf inline data garbage from GimpPickButton
...
Instead, generate a proper header for inclusion in cursors/.
2010-09-13 02:16:18 +02:00
Michael Natterer
fb53ac6c3a
plug-ins: create the GimpPickButton from pixbuf inline data
...
instead of using GdkBitmap functions.
2010-09-12 02:44:00 +02:00
Michael Natterer
0f28b38a55
libgimpwidgets: set page_size to 0 on adjustments used for spin buttons
...
Spin buttons must always have a zero page size, fix that for all
spin buttons created with gimp_spin_button_new().
2010-09-12 00:57:13 +02:00
Michael Natterer
885147717a
libgimpwidgets: port GimpOffsetArea drawing to cairo
...
Has the same off-by-one bugs as before...
2010-09-11 22:39:05 +02:00
Michael Natterer
1770615125
libgimpwidgets: ports GimpColorSelect marker drawing to cairo
2010-09-11 22:24:08 +02:00
Michael Natterer
251177f18d
libgimpwidgets: fix GimpColorScale arrows to be as small as before
2010-09-11 22:06:00 +02:00
Michael Natterer
354a640e9e
libgimpwidgets: port the rest of GimpColorScale drawing to cairo
2010-09-10 21:33:00 +02:00
Michael Natterer
e617ecedd9
libgimpwidgets: port GimpColorScale slider drawing to cairo
2010-09-10 20:57:06 +02:00
Michael Natterer
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
Alexia Death
6a22f17ab3
Merge branch 'master' into soc-2010-cage-2
2010-09-02 18:49:35 +03:00
Michael Natterer
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
Alexia Death
aee148a486
Merge branch 'master' into soc-2010-cage-2
2010-08-26 21:50:55 +03:00
Michael Natterer
1a609d6381
libgimpwidgets: cleanup
2010-08-11 23:32:44 +02:00