Michael Natterer
ccf151446d
app: cleanup enum order and comments in the dither GUI code
2016-11-10 23:19:12 +01:00
Øyvind Kolås
30a8edeab5
app: treat half precision float the same as single and double
...
.. which is to say encourage use of linear gamma, by making it one fewer step
to end up in linear than gamma corrected.
2016-11-10 15:20:18 +01:00
Michael Natterer
da49a3fadf
app: always default to linear for float precision and gamma for 8-bit
...
In the "New Image" and "Convert Precision" dialogs. The "Gamma/Linear"
switches get adjusted automatically to the new defaults, but can be
changed manually.
2016-11-10 13:50:56 +01:00
Michael Natterer
4f6dd8a66f
app: reorganize GimpTemplateEditor's "Precision" controls
...
to have separate "precision" and "gamma" widgets, like the image's
"Precision" menu.
2016-11-09 12:21:39 +01:00
Michael Natterer
b8db0aa54e
app: actually edit the template's color profile in GimpTemplateEditor
...
The "add default profile of image type" code was resetting it without
implementing the FIXME of setting it again. Spotted by Elle.
2016-10-12 23:48:06 +02:00
Michael Natterer
4df9a1d568
Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign()
2016-09-08 19:11:20 +02:00
Michael Natterer
836972b736
app: use the new function in GimpTemplateEditor
...
It now offers the right default profiles for the selected image
type/precision.
2016-05-22 13:26:50 +02:00
Michael Natterer
54c0b047b2
app: add basic support for creating images with color profiles
...
Add "gboolean color_managed" and "GFile *color_profile" to
GimpTemplate. Add a toggle and profile combo to GimpTemplateEditor.
Honor the new template properties in gimp_image_new_from_template().
Using a GFile property instead of a GIMP_TYPE_CONFIG_PATH is
preliminary, see the previous commit. I'd like to use GFile more
directly when dealing with config files, this is for testing that.
2016-05-08 23:20:26 +02:00
Michael Natterer
a665c30823
app: gimp_spin_button_new() -> gtk_spin_button_new()
2014-06-21 22:39:37 +02:00
Michael Natterer
425748dab0
libgimpbase, *: rename GimpFillType values: GIMP_FOO_FILL -> GIMP_FILL_FOO
...
Change all users accordingly and add compat enum values and compat
constants to script-fu and pygimp.
2014-06-03 01:11:32 +02:00
Michael Natterer
17167594ea
app: use the newly added libgimpwidgets icon name APIs
2014-05-07 21:32:09 +02:00
Michael Natterer
3abb84022a
app: enable image new's resolution chain button only if xres == yres
2014-04-18 18:43:32 +02:00
Daniel Sabo
2614404764
Add support for custom icons for tool presets
...
Adds an icon-pixbuf property to GimpViewable that is used for a default
implementation of new_pixbuf.
Extend gimp_icon_picker to allow the user to pick non-stock icons for tool
presets (or any other class derived from GimpViewable). Icons can come
from any file GdkPixbuf can load or from image data on the clipboard.
2013-03-08 08:19:54 -08: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
2de801e1de
app: enable the precision combo in GimpTemplateEditor
2012-05-02 17:51:14 +02:00
Michael Natterer
e285eb5daa
app: hide GimpTemplateEditor's precision combo
2012-05-02 17:51:10 +02:00
Michael Natterer
d724aca1a3
app: add a precision combo to GimpTemplateEditor
2012-05-02 17:51:10 +02:00
Michael Natterer
4dee9fa672
app: rename GimpTemplate::image-type to ::base-type
...
but keep the "image-type" property name, it's stored in template files.
2012-05-02 17:51:09 +02:00
Michael Natterer
85bd6b0dd9
app: pass a format, not bpp, to gimp_viewable_get_dummy_pixbuf()
...
and add tons of <gegl.h> includes.
2012-05-02 17:51:08 +02:00
Michael Natterer
169221bc51
app: replace some color_region() and pattern_region() by GEGL code
2012-05-02 17:45:52 +02:00
Michael Natterer
9781aa65ea
Bug 658467 - Replace g_format_size_for_display() by g_format_size()
...
Use g_format_size() instead of g_format_size_for_display() because
the latter is deprecated.
2011-11-30 23:37:55 +01:00
Michael Natterer
3e336199b9
app: use gtk_box_new()
2011-09-30 11:29:11 +02:00
Michael Natterer
909e7833a3
app: remove some more -Wunused-but-set-variable
2011-05-02 13:53:58 +02:00
Michael Natterer
fa9453eea1
app: add gimp_prop_icon_picker_new()
...
and use it in GimpTemplateEditor instead of handling the icon picker
manually.
2011-03-22 15:20:03 +01:00
Michael Natterer
5b09e61c46
app: move all GimpTemplate members to private
2011-03-02 10:16:43 +01:00
Michael Natterer
30100cf613
app: add new widget GimpIconPicker, ripped out of GimpTemplateEditor
2011-03-01 12:31:17 +01:00
Michael Natterer
f0f94ba6a1
app: move all GimpTemplateEditor members to private
2011-03-01 11:50:16 +01:00
Michael Natterer
202124c438
app: implement GObject::constructed() instead of ::constructor()
2011-01-14 09:38:46 +01:00
Michael Natterer
71de3d7bdf
app: use "pixels/unit" as label for the resolution menu
...
instead of "pixels/abbreviated unit". This is soon going to be
supported generically by GimpUnitComboBox just as with the old unit
menu.
2010-11-05 16:24:37 +01:00
Michael Natterer
b9a7c121a4
app: don't inherit from GtkHBox or GtkVBox
...
Instead, inherit from GtkBox directly and set the orientation in
init(). Replace more gtk_container_add() by gtk_box_pack_start() in
the reparented classes.
2010-10-30 15:44:46 +02:00
Martin Nordholts
957cf2cfa9
app: Always use gimp_object_get_name()
...
Begin to consider GimpObject::name as private and always use
gimp_object_get_name(). Change gimp_object_get_name() to take an
untyped pointer so we don't have to do so awfully many casts. There is
a runtime check for the type inside the function anyway.
2009-08-29 12:41:29 +02:00
Michael Natterer
d9b5207aa2
Change licence to GPLv3 (and to LGPLv3 for libgimp).
...
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann
dcbe611b8e
app/widgets/gimpcontrollerinfo.c app/widgets/gimpcontrollerlist.c
...
2008-07-23 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollerinfo.c
* app/widgets/gimpcontrollerlist.c
* app/widgets/gimpdasheditor.c
* app/widgets/gimpdock.c
* app/widgets/gimpeditor.c
* app/widgets/gimpgrideditor.c
* app/widgets/gimppdbdialog.c
* app/widgets/gimppluginaction.c
* app/widgets/gimpstrokeeditor.c
* app/widgets/gimptemplateeditor.c
* libgimpwidgets/gimpcolorprofilecombobox.c: no need to cast the
return value of g_value_dup_object().
svn path=/trunk/; revision=26290
2008-07-23 07:47:10 +00:00
Michael Natterer
f53ed53cdb
app/widgets/gimpactionview.c app/widgets/gimpblobeditor.c
...
2008-06-28 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpactionview.c
* app/widgets/gimpblobeditor.c
* app/widgets/gimpbrushfactoryview.c
* app/widgets/gimpbrushselect.c
* app/widgets/gimpcellrendererdashes.c
* app/widgets/gimpcellrendererviewable.c
* app/widgets/gimpcolorbar.c
* app/widgets/gimpcoloreditor.c
* app/widgets/gimpcolorframe.c
* app/widgets/gimpcomponenteditor.c
* app/widgets/gimpcontainerbox.c
* app/widgets/gimpcontainergridview.c
* app/widgets/gimpcontainerpopup.c
* app/widgets/gimpcontainertreeview.c
* app/widgets/gimpcurveview.c
* app/widgets/gimpdasheditor.c
* app/widgets/gimpdatafactoryview.c
* app/widgets/gimpdock.c
* app/widgets/gimpdockable.c
* app/widgets/gimpdockseparator.c
* app/widgets/gimpfgbgeditor.c
* app/widgets/gimpfgbgview.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimphandlebar.c
* app/widgets/gimphistogrambox.c
* app/widgets/gimphistogramview.c
* app/widgets/gimpitemtreeview.c
* app/widgets/gimpmenudock.c
* app/widgets/gimpmessagebox.c
* app/widgets/gimppaletteview.c
* app/widgets/gimpscalebutton.c
* app/widgets/gimpsessioninfo-book.c
* app/widgets/gimpsessioninfo-dock.c
* app/widgets/gimpsettingseditor.c
* app/widgets/gimpstrokeeditor.c
* app/widgets/gimptemplateeditor.c
* app/widgets/gimptemplateview.c
* app/widgets/gimpthumbbox.c
* app/widgets/gimptoolbox.c
* app/widgets/gimptooloptionseditor.c
* app/widgets/gimptoolview.c
* app/widgets/gimpuimanager.c
* app/widgets/gimpviewabledialog.c
* app/widgets/gimpviewrenderervectors.c
* app/widgets/gimpwidgets-utils.c: use accessors instead of
accessing members of GTK+ widgets directly.
svn path=/trunk/; revision=26008
2008-06-28 15:50:27 +00:00
Sven Neumann
fc93cc19ce
deprecate gimp_memsize_to_string() in favor of
...
2008-03-28 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string()
in favor of g_format_size_for_display().
* app/actions/edit-commands.c
* app/core/gimpimagefile.c
* app/dialogs/image-new-dialog.c
* app/dialogs/image-scale-dialog.c
* app/display/gimpdisplayshell-title.c
* app/widgets/gimpimagepropview.c
* app/widgets/gimptemplateeditor.c
* app/widgets/gimpthumbbox.c
* plug-ins/uri/uri-backend-gnomevfs.c
* plug-ins/uri/uri-backend-gvfs.c
* plug-ins/uri/uri-backend-libcurl.c
* plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display()
instead of gimp_memsize_to_string().
svn path=/trunk/; revision=25285
2008-03-28 16:33:24 +00:00
Sven Neumann
41237259c9
In all files, changed the standard copyright notice to say "GIMP - The GNU
...
2006-12-09 Sven Neumann <sven@gimp.org>
* In all files, changed the standard copyright notice to say
"GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Sven Neumann
6ebcf700d1
removed erroneous semicolon after G_DEFINE_TYPE macros.
...
2006-05-15 Sven Neumann <sven@gimp.org>
* app/*/*.c:
* lib*/*.c: removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15 09:46:31 +00:00
Sven Neumann
049872b361
app/*.[ch] converted tabs to spaces.
...
2006-04-12 Sven Neumann <sven@gimp.org>
* app/*.[ch]
* app/*/*.[ch]: converted tabs to spaces.
2006-04-12 12:49:29 +00:00
Sven Neumann
8f57c23d89
app/dialogs/preferences-dialog.c app/widgets/gimpimagepropview.c
...
2006-04-05 Sven Neumann <sven@gimp.org>
* app/dialogs/preferences-dialog.c
* app/widgets/gimpimagepropview.c
* app/widgets/gimpsizebox.c
* app/widgets/gimptemplateeditor.c: replaced "dpi" with "ppi"
(bug #326718 ).
2006-04-05 16:45:27 +00:00
Sven Neumann
5e7ce540c1
app/core/gimpbrush.c app/core/gimpbuffer.c app/core/gimpimagefile.c
...
2006-02-28 Sven Neumann <sven@gimp.org>
* app/core/gimpbrush.c
* app/core/gimpbuffer.c
* app/core/gimpimagefile.c
* app/core/gimppattern.c
* app/dialogs/preferences-dialog.c
* app/tools/gimpmeasuretool.c
* app/tools/gimprectangletool.c
* app/tools/gimprectselecttool.c
* app/widgets/gimpimagepropview.c
* app/widgets/gimpsizebox.c
* app/widgets/gimptemplateeditor.c
* plug-ins/imagemap/imap_statusbar.c: use U+00D7 MULTIPLICATION SIGN
instead of x when displaying sizes.
2006-02-28 12:15:51 +00:00
Michael Natterer
e1ceed5147
define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB.
...
2006-01-18 Michael Natterer <mitch@gimp.org>
* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
GIMP_PARAM_STATIC_STRINGS.
* app/*/*.c: use them for all object properties so their
strings are not copied.
2006-01-18 20:29:40 +00:00
Michael Natterer
5d8b25a27d
variant of gimp_config_connect() which allows the connected objects to
...
2006-01-14 Michael Natterer <mitch@gimp.org>
* app/config/gimpconfig-utils.[ch] (gimp_config_connect_full):
variant of gimp_config_connect() which allows the connected
objects to have different propertynames.
* app/widgets/widgets-enums.[ch]: removed enum GimpViewType...
* app/core/core-enums.[ch]: ...and added it here.
* app/widgets/gimpviewablebutton.[ch] (gimp_viewable_button_new):
added "button_preview_size" parameter so the button and popup
preview sizes can be specified separately.
* app/widgets/gimptemplateeditor.c: changed accordingly.
* app/widgets/gimpviewablebox.[ch] (gimp_prop_*_box_new):
new functions which take additional "view_type_prop" and
"view_size_prop" parameters and sync the passed context's
properties with the resp. properties of the viewable button.
* app/paint/gimppaintoptions.[ch]
* app/tools/gimpbucketfilloptions.c
* app/tools/gimpclonetool.c
* app/tools/gimppaintoptions-gui.c
* app/tools/gimptextoptions.[ch]: added view-type and view-size
properties to the options objects and use the new viewable box
constructors so the selected view types and sizes are persistant
across sessions. Fixes bug #315443 .
2006-01-14 00:09:22 +00:00
Michael Natterer
61df53ec54
port to G_DEFINE_TYPE() and friends. Some related cleanup.
...
2005-12-19 Michael Natterer <mitch@gimp.org>
* app/widgets/*.c: port to G_DEFINE_TYPE() and friends. Some
related cleanup.
2005-12-19 22:37:49 +00:00
Sven Neumann
bdf1580d6c
app/core/gimpimagefile.c app/widgets/gimpimagepropview.c
...
2005-11-02 Sven Neumann <sven@gimp.org>
* app/core/gimpimagefile.c
* app/widgets/gimpimagepropview.c
* app/widgets/gimpsizebox.c
* app/widgets/gimptemplateeditor.c: use ngettext() for plural forms.
2005-11-02 16:07:07 +00:00
Michael Natterer
2b6a5f453a
add GimpViewType parameter.
...
2005-10-31 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpviewablebutton.[ch] (gimp_viewable_button_new):
add GimpViewType parameter.
* app/widgets/gimptemplateeditor.c
* app/widgets/gimpviewablebox.c: pass view types, using grid view
for brushes and patterns ass suggested in bug #315443 .
2005-10-31 02:12:40 +00:00
Michael Natterer
32d875d070
app/dialogs/module-dialog.c app/dialogs/palette-import-dialog.c
...
2005-08-03 Michael Natterer <mitch@gimp.org>
* app/dialogs/module-dialog.c
* app/dialogs/palette-import-dialog.c
* app/gui/gui.c
* app/tools/gimpcurvestool.c
* app/tools/gimpimagemaptool.c
* app/tools/gimplevelstool.c
* app/tools/gimpvectortool.c
* app/widgets/gimpaction.c
* app/widgets/gimpcoloreditor.c
* app/widgets/gimpcontainerbox.c
* app/widgets/gimpcontainertreeview.c
* app/widgets/gimpcursorview.c
* app/widgets/gimpdnd.c
* app/widgets/gimpdock.c
* app/widgets/gimpdockbook.c
* app/widgets/gimpdrawabletreeview.c
* app/widgets/gimpeditor.c
* app/widgets/gimpenumaction.c
* app/widgets/gimperrordialog.c
* app/widgets/gimpfileprocview.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimpmenudock.c
* app/widgets/gimpmessagebox.c
* app/widgets/gimpmessagedialog.c
* app/widgets/gimppluginaction.c
* app/widgets/gimpprogressdialog.c
* app/widgets/gimpsamplepointeditor.c
* app/widgets/gimpstringaction.c
* app/widgets/gimptemplateeditor.c
* app/widgets/gimptoolbox-image-area.c
* app/widgets/gimptoolbox.c: use canonical names for signals and
properties.
2005-08-03 09:34:55 +00:00
Sven Neumann
93eab43eef
Use the canonical form for signal names.
...
2005-05-27 Sven Neumann <sven@gimp.org>
* (lots of files): Use the canonical form for signal names.
2005-05-27 16:51:39 +00:00
Sven Neumann
83acacc28f
s/Colorspace/Color space/
...
2005-04-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimptemplateeditor.c: s/Colorspace/Color space/
2005-04-05 09:12:29 +00:00
William Skaggs
a395b02f6f
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* libgimpwidgets/gimppropwidgets.[ch]: magic-copied from app/widgets
and un-movable things then removed.
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.def
* libgimpwidgets/gimpwidgets.h: corresponding changes
* app/widgets/gimppropwidgets.[ch]: remove functions that were
moved.
* app/dialogs/stroke-dialog.c
* app/dialogs/tips-dialog.c
* app/dialogs/user-install-dialog.c
* app/tools/gimpairbrushtool.c
* app/tools/gimpblendoptions.c
* app/tools/gimpbucketfilloptions.c
* app/tools/gimpclonetool.c
* app/tools/gimpcoloroptions.c
* app/tools/gimpcolorpickeroptions.c
* app/tools/gimpconvolvetool.c
* app/tools/gimpcropoptions.c
* app/tools/gimpcurvestool.c
* app/tools/gimpdodgeburntool.c
* app/tools/gimperasertool.c
* app/tools/gimpflipoptions.c
* app/tools/gimphistogramoptions.c
* app/tools/gimpimagemaptool.c
* app/tools/gimpinkoptions-gui.c
* app/tools/gimplevelstool.c
* app/tools/gimpmagnifyoptions.c
* app/tools/gimpmeasureoptions.c
* app/tools/gimpmoveoptions.c
* app/tools/gimpselectionoptions.c
* app/tools/gimpsmudgetool.c
* app/tools/gimpthresholdtool.c
* app/tools/gimptransformoptions.c
* app/tools/gimpvectoroptions.c
* app/widgets/gimpcontainerbox.c
* app/widgets/gimpcontrollereditor.c
* app/widgets/gimpdevicestatus.c
* app/widgets/gimpgrideditor.c
* app/widgets/gimphistogrambox.c
* app/widgets/gimphistogrameditor.c
* app/widgets/gimpsizebox.c
* app/widgets/gimpstrokeeditor.c
* app/widgets/gimptemplateeditor.c
* app/widgets/gimptooloptionseditor.c: fix includes.
2005-02-04 20:47:42 +00:00
William Skaggs
6d74b06daf
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/widgets/gimpenumwidgets.c
* app/widgets/gimpenumwidgets.h: magic-moved from here...
* libgimpwidgets/gimpenumwidgets.c
* libgimpwidgets/gimpenumwidgets.h: ...to here.
* app/dialogs/convert-dialog.c
* app/dialogs/layer-add-mask-dialog.c
* app/dialogs/layer-options-dialog.c
* app/tools/gimpcolorbalancetool.c
* app/tools/gimpcroptool.c
* app/tools/gimpcurvestool.c
* app/tools/gimplevelstool.c
* app/widgets/Makefile.am
* app/widgets/gimpbrusheditor.c
* app/widgets/gimpeditor.c
* app/widgets/gimppropwidgets.c
* app/widgets/gimptemplateeditor.c
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.def
* libgimpwidgets/gimpwidgets.h: all changed accordingly.
Still need to do devel-docs.
2005-01-29 01:08:20 +00:00