forked from AuroraMiddleware/gtk
Expose the ring in the triangle at the correct place when exposing just a
2001-05-11 Alexander Larsson <alexl@redhat.com> * gtk/gtkhsv.c (paint_triangle): Expose the ring in the triangle at the correct place when exposing just a part of the triangle.
This commit is contained in:
parent
cf18c0258d
commit
0cfd48a80e
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
Expose the ring in the triangle at the correct place when
|
||||
exposing just a part of the triangle.
|
||||
|
||||
* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
|
||||
Return FALSE, or window focusing will not work.
|
||||
|
||||
|
@ -1265,8 +1265,8 @@ paint_triangle (GtkHSV *hsv,
|
||||
|
||||
/* Draw value marker */
|
||||
|
||||
xx = floor (sx + (vx - sx) * priv->v + (hx - vx) * priv->s * priv->v + 0.5);
|
||||
yy = floor (sy + (vy - sy) * priv->v + (hy - vy) * priv->s * priv->v + 0.5);
|
||||
xx = floor (sx + (vx - sx) * priv->v + (hx - vx) * priv->s * priv->v + 0.5) - x;
|
||||
yy = floor (sy + (vy - sy) * priv->v + (hy - vy) * priv->s * priv->v + 0.5) - y;
|
||||
|
||||
r = priv->h;
|
||||
g = priv->s;
|
||||
|
Loading…
Reference in New Issue
Block a user