Commit 0fd56699 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/tools/gimpcurvestool.c use dark_gc instead of text_aa_gc to draw the

2004-01-26  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c
	* app/widgets/gimphistogramview.c: use dark_gc instead of
	text_aa_gc to draw the histogram and curves grid lines. dark_gc is
	slightly lighter, looks better and fixes bug #132565.
parent 748d432f
2004-01-26 Sven Neumann <sven@gimp.org>
* app/tools/gimpcurvestool.c
* app/widgets/gimphistogramview.c: use dark_gc instead of
text_aa_gc to draw the histogram and curves grid lines. dark_gc is
slightly lighter, looks better and fixes bug #132565.
2004-01-26 Michael Natterer <mitch@gimp.org>
 
* app/core/gimpimage.[ch]: removed gimp_image_owns_item() again.
......@@ -1147,13 +1147,13 @@ curves_graph_expose (GtkWidget *widget,
for (i = 1; i < 4; i++)
{
gdk_draw_line (widget->window,
c_tool->graph->style->text_aa_gc[GTK_STATE_NORMAL],
c_tool->graph->style->dark_gc[GTK_STATE_NORMAL],
RADIUS,
RADIUS + i * (GRAPH_HEIGHT / 4),
RADIUS + GRAPH_WIDTH - 1,
RADIUS + i * (GRAPH_HEIGHT / 4));
gdk_draw_line (widget->window,
c_tool->graph->style->text_aa_gc[GTK_STATE_NORMAL],
c_tool->graph->style->dark_gc[GTK_STATE_NORMAL],
RADIUS + i * (GRAPH_WIDTH / 4),
RADIUS,
RADIUS + i * (GRAPH_WIDTH / 4),
......
......@@ -292,7 +292,7 @@ gimp_histogram_view_expose (GtkWidget *widget,
/* Draw the outer border */
gdk_draw_rectangle (widget->window,
widget->style->text_aa_gc[GTK_STATE_NORMAL], FALSE,
widget->style->dark_gc[GTK_STATE_NORMAL], FALSE,
border, border,
width - 1, height - 1);
......@@ -325,7 +325,7 @@ gimp_histogram_view_expose (GtkWidget *widget,
if (view->subdivisions > 1 && x >= (xstop * width / view->subdivisions))
{
gdk_draw_line (widget->window,
widget->style->text_aa_gc[GTK_STATE_NORMAL],
widget->style->dark_gc[GTK_STATE_NORMAL],
x + border, border,
x + border, border + height - 1);
xstop++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment