Replaced the histogram tool by a histogram dialog:
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.
This commit is contained in:
committed by
Sven Neumann
parent
5d43e5ba3d
commit
dcf50dc2a9
@ -288,6 +288,7 @@ GIMP_STOCK_PATH_STROKE
|
||||
GIMP_STOCK_PLUGIN
|
||||
GIMP_STOCK_QMASK_OFF
|
||||
GIMP_STOCK_QMASK_ON
|
||||
GIMP_STOCK_HISTOGRAM
|
||||
GIMP_STOCK_HISTOGRAM_LINEAR
|
||||
GIMP_STOCK_HISTOGRAM_LOGARITHMIC
|
||||
GIMP_STOCK_RESHOW_FILTER
|
||||
@ -399,7 +400,6 @@ GIMP_STOCK_TOOL_ERASER
|
||||
GIMP_STOCK_TOOL_FLIP
|
||||
GIMP_STOCK_TOOL_FREE_SELECT
|
||||
GIMP_STOCK_TOOL_FUZZY_SELECT
|
||||
GIMP_STOCK_TOOL_HISTOGRAM
|
||||
GIMP_STOCK_TOOL_HUE_SATURATION
|
||||
GIMP_STOCK_TOOL_INK
|
||||
GIMP_STOCK_TOOL_ISCISSORS
|
||||
|
||||
@ -143,6 +143,14 @@ the ones in dialog size).
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GIMP_STOCK_HISTOGRAM ##### -->
|
||||
<para>
|
||||
<inlinegraphic fileref="stock-histogram-22.png" format="png"></inlinegraphic>
|
||||
<inlinegraphic fileref="stock-histogram-16.png" format="png"></inlinegraphic>
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GIMP_STOCK_HISTOGRAM_LINEAR ##### -->
|
||||
<para>
|
||||
<inlinegraphic fileref="stock-histogram-linear-16.png" format="png"></inlinegraphic>
|
||||
@ -982,14 +990,6 @@ the ones in dialog size).
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GIMP_STOCK_TOOL_HISTOGRAM ##### -->
|
||||
<para>
|
||||
<inlinegraphic fileref="stock-tool-histogram-22.png" format="png"></inlinegraphic>
|
||||
<inlinegraphic fileref="stock-tool-histogram-16.png" format="png"></inlinegraphic>
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO GIMP_STOCK_TOOL_HUE_SATURATION ##### -->
|
||||
<para>
|
||||
<inlinegraphic fileref="stock-tool-hue-saturation-22.png" format="png"></inlinegraphic>
|
||||
|
||||
Reference in New Issue
Block a user