• Sven Neumann's avatar
    Replaced the histogram tool by a histogram dialog: · dcf50dc2
    Sven Neumann authored
    2003-11-01  Sven Neumann  <sven@gimp.org>
    
    	Replaced the histogram tool by a histogram dialog:
    
    	* themes/Default/images/Makefile.am
    	* themes/Default/images/tools/stock-tool-histogram-[16|22].png:
    	removed here ...
    
    	* themes/Default/images/stock-histogram-[16|22].png: ,,, and added
    	under these new names.
    
    	* libgimpwidgets/gimpstock.[ch]: register the icons as
    	GIMP_STOCK_HISTOGRAM and removed the histogram tool stock icons.
    
    	* app/base/gimphistogram.c: don't crash when uncalculated values
    	are requested from a GimpHistogram. Allow to reset the histogram
    	by calling gimp_histogram_calculate() with a NULL region.
    
    	* app/widgets/gimphistogrambox.[ch]: renamed the GimpHistogramView
    	struct member to "view".
    
    	* app/tools/gimpthresholdtool.c: changed accordingly.
    
    	* app/widgets/gimphistogramview.[ch] (gimp_histogram_view_events):
    	return TRUE when events were handled.
    
    	* app/tools/Makefile.am
    	* app/tools/gimp-tools.c
    	* app/tools/gimphistogramtool.[ch]: removed the histogram tool.
    
    	* app/widgets/Makefile.am
    	* app/widgets/gimphelp-ids.h
    	* app/widgets/widgets-types.h
    	* app/widgets/gimphistogrameditor.[ch]: added GimpHistogramEditor.
    	Has some rough edges still...
    
    	* app/gui/dialogs-constructors.[ch]
    	* app/gui/dialogs.c
    	* app/gui/image-menu.c: register the new dialog instead of the
    	histogram tool.
    dcf50dc2
dialogs-constructors.c 30.2 KB