1. 23 Nov, 2003 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/gimpcolordisplay.[ch] · 66c6e400
      Sven Neumann authored
      2003-11-23  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolordisplaystack.[ch]
      	* libgimpwidgets/gimpcolorselection.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: use proper LibGIMP headers.
      66c6e400
  2. 18 Nov, 2003 1 commit
    • Sven Neumann's avatar
      don't do lazy binding on GIMP modules. We can't recover from missing · 4f82e87d
      Sven Neumann authored
      2003-11-18  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.c (gimp_module_open): don't do lazy
      	binding on GIMP modules. We can't recover from missing symbols
      	later.
      
      	* libgimpwidgets/gimpquerybox.[ch]: renamed "help_page" parameter
      	to "help_id" and changed the docs accordingly.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: renamed the "help_page"
      	struct members of GimpColorDisplay and GimpColorSelector to
      	"help_id".
      
      	* app/gui/color-notebook.c
      	* app/widgets/gimpcoloreditor.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolornotebook.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* modules/*.c: changed accordingly. Specify a help id instead of
      	a HTML page.
      4f82e87d
  3. 05 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added virtual functions set_toggles_visible() and set_toggles_sensitive(). · 2743f9fa
      Michael Natterer authored
      2002-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
      	set_toggles_visible() and set_toggles_sensitive(). Added a
      	stock_id. Emit "color_changed" and "channel_changed" on
      	set_color() and set_channel() resp.
      
      	* libgimpwidgets/gimpcolornotebook.[ch]: implement the new
      	methods.  Added gimp_color_notebook_set_has_page() to control
      	which selectors a notebook contains.
      
      	* libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
      	API and implement the new methods.
      
      	* libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
      	channels so the widget doesn't need external ones.
      
      	* app/gui/color-notebook.c: changed accordingly.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-color-triangle-16.png: added a
      	(bad) icon for the triangle color selector.
      
      	* modules/colorsel_triangle.c: use the new icon.
      	* modules/colorsel_water.c: use the "Paintbrush" icon for now.
      
      	* app/widgets/gimpcoloreditor.[ch]: new widget for editing the
      	FG/BG color featuring a color notebook, stock buttons for
      	selecting the pages and a GimpPickButton.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.
      
      	* app/gui/menus.c: added it to the menus. Also added separate
      	Layers, Channels and Paths entries. Bind <ctrl>L to the new
      	callback so it doesn't always create a new layers dialog.
      2743f9fa
  4. 28 Oct, 2002 2 commits
    • Michael Natterer's avatar
      the color scales from the main color selection as GimpColorSelector · 89452261
      Michael Natterer authored
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorscales.[ch]: the color scales from
      	the main color selection as GimpColorSelector subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* libgimpwidgets/gimpcolornotebook.c: skip it when iterating the
      	GimpColorSelector subclasses.
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual function
      	set_has_alpha() amd signal "channel_changed". Put RGB, HSV and
      	channel values into to the GimpColorSelector struct where they are
      	available for subclasses.
      
      	* libgimpwidgets/gimpcolorselect.[ch]
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed accordingly, cleanup.
      
      	* app/gui/color-notebook.[ch]: use the new GimpColorScales widget,
      	lots of cleanup.
      
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpcolorscales.sgml: added GimpColorScales.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpcolorselect.sgml
      	* libgimpwidgets/tmpl/gimpcolorselector.sgml; updated.
      89452261
    • Michael Natterer's avatar
      the notebook as known from the main color selection as new widget. · 5f750eae
      Michael Natterer authored
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolornotebook.[ch]: the notebook as known
      	from the main color selection as new widget.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpcolorselector.h
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* app/gui/color-notebook.c: use the new widget.
      
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpcolornotebook.sgml: added GimpColorNotebook.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml: updated.
      5f750eae
  5. 20 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Ported module loading to GTypeModule, getting rid of all own module · d7055a33
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      
      	Ported module loading to GTypeModule, getting rid of all own
      	module registering/bookkeeping stuff for color selectors and
      	display filters. The modules now simply register GimpColorSelector
      	and GimpColorDisplay subclasses, the list of registered subclasses
      	can then be obtained calling g_type_children() on the abstract
      	base classes.
      
      	This is work in progress and just the first working state after I
      	started breaking everything...
      
      	* app/gui/color-select.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h: removed.
      
      	* app/gui/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      
      	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
      	which need to be subclassed by modules.
      
      	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
      	from app/gui/color-select.* ported to be a GimpColorSelector
      	subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass
      
      	* app/core/gimpmodules.c: changed accordingly.
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: HACKED around to allow GimpLists of
      	GObjects (not GimpObjects). This is EEKy, so I will either make
      	gimp->modules a simple GList and revert this bit of change, or
      	allow GObjects all over the place in GimpContainer land...
      
      	* app/display/gimpdisplayshell-filter.[ch]
      	* app/gui/color-notebook.c: removed all module stuff and use
      	g_type_children() to get the list of available color_selectors
      	and display_filters.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* app/gui/gui.c: ref the built-in color selector's class before
      	the modules are queried so it appears first in the list of
      	GimpColorSelector's children.
      
      	* modules/Makefile.am: build the water color selector again.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: ported them all to the new API.
      
      	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
      d7055a33